Class Registries

java.lang.Object
li.cil.oc2.api.util.Registries

public final class Registries extends Object
ResourceKeys for registries created by the mod.
  • Field Details

    • BLOCK_DEVICE_PROVIDER

      public static final net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<BlockDeviceProvider>> BLOCK_DEVICE_PROVIDER
      The registry name of the registry holding block device providers.
    • ITEM_DEVICE_PROVIDER

      public static final net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<ItemDeviceProvider>> ITEM_DEVICE_PROVIDER
      The registry name of the registry holding item device providers.
    • BLOCK_DEVICE_DATA

      public static final net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<BlockDeviceData>> BLOCK_DEVICE_DATA
      The registry name of the registry holding block device bases.
    • DEVICE_TYPE

      public static final net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<DeviceType>> DEVICE_TYPE
      The registry name of the registry holding device types.
    • RPC_TYPE_ADAPTER

      public static final net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<RPCTypeAdapter>> RPC_TYPE_ADAPTER
      The registry name of the registry holding RPC method parameter type adapters.
  • Constructor Details

    • Registries

      public Registries()