Class CustomRegistryType<B extends io.netty.buffer.ByteBuf, V>
java.lang.Object
dev.latvian.mods.klib.registry.CustomRegistryType<B,V>
- All Implemented Interfaces:
WithKey<V>, Comparable<WithKey<V>>
- Direct Known Subclasses:
CustomRegistryType.Dynamic, CustomRegistryType.Unit
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classCustomRegistryType.Dynamic<B extends io.netty.buffer.ByteBuf, V>static final classCustomRegistryType.Unit<B extends io.netty.buffer.ByteBuf, V> -
Field Summary
Fields -
Method Summary
-
Field Details
-
key
-
codec
-
streamCodec
-
version
protected int version
-
-
Method Details
-
key
-
optionalKey
- Specified by:
optionalKeyin interfaceWithKey<B extends io.netty.buffer.ByteBuf>
-
codec
-
streamCodec
-
unit
-
isUnit
public boolean isUnit() -
version
public int version() -
toString
-