Package dev.lapis256.apprep.common.init
Object AppRepComponents
-
- All Implemented Interfaces:
public class AppRepComponents
-
-
Field Summary
Fields Modifier and Type Field Description private final DeferredRegister<DataComponentType<?>>REGISTRYprivate final DataComponentType<EncodedReplicationPattern>ENCODED_REPLICATION_PATTERNpublic final static AppRepComponentsINSTANCE
-
Method Summary
Modifier and Type Method Description final <T extends Any> DataComponentType<T>register(String name, Codec<T> codec, StreamCodec<in RegistryFriendlyByteBuf, T> streamCodec)final DeferredRegister<DataComponentType<?>>getREGISTRY()final DataComponentType<EncodedReplicationPattern>getENCODED_REPLICATION_PATTERN()-
-
Method Detail
-
register
final <T extends Any> DataComponentType<T> register(String name, Codec<T> codec, StreamCodec<in RegistryFriendlyByteBuf, T> streamCodec)
-
getREGISTRY
final DeferredRegister<DataComponentType<?>> getREGISTRY()
-
getENCODED_REPLICATION_PATTERN
final DataComponentType<EncodedReplicationPattern> getENCODED_REPLICATION_PATTERN()
-
-
-
-