Package li.cil.oc2.api.util
Class Registries
java.lang.Object
li.cil.oc2.api.util.Registries
ResourceKeys for registries created by the mod.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<BlockDeviceData>> The registry name of the registry holding block device bases.static final net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<BlockDeviceProvider>> The registry name of the registry holding block device providers.static final net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<DeviceType>> The registry name of the registry holding device types.static final net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<ItemDeviceProvider>> The registry name of the registry holding item device providers.static final net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<RPCTypeAdapter>> The registry name of the registry holding RPC method parameter type adapters. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
BLOCK_DEVICE_PROVIDER
public static final net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<BlockDeviceProvider>> BLOCK_DEVICE_PROVIDERThe 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_PROVIDERThe 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_DATAThe registry name of the registry holding block device bases. -
DEVICE_TYPE
public static final net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<DeviceType>> DEVICE_TYPEThe 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_ADAPTERThe registry name of the registry holding RPC method parameter type adapters.
-
-
Constructor Details
-
Registries
public Registries()
-