Class CustomRegistryType.Unit<B extends io.netty.buffer.ByteBuf, V>
java.lang.Object
dev.latvian.mods.klib.registry.CustomRegistryType<B,V>
dev.latvian.mods.klib.registry.CustomRegistryType.Unit<B,V>
- All Implemented Interfaces:
CustomRegistryOwnTypeProvider<B,V>, Ref<V>, WithKey<V>, WithValue<V>
- Enclosing class:
CustomRegistryType<B extends io.netty.buffer.ByteBuf, V>
public static final class CustomRegistryType.Unit<B extends io.netty.buffer.ByteBuf, V>
extends CustomRegistryType<B,V>
implements Ref<V>, CustomRegistryOwnTypeProvider<B,V>
-
Nested Class Summary
Nested classes/interfaces inherited from class CustomRegistryType
CustomRegistryType.Dynamic<B,V>, CustomRegistryType.Unit<B, V> Nested classes/interfaces inherited from interface Ref
Ref.OfKey<V>, Ref.OfValue<V> -
Field Summary
Fields inherited from class CustomRegistryType
codec, key, streamCodec, versionFields inherited from interface WithKey
COMPARATOR -
Method Summary
Methods inherited from class CustomRegistryType
codec, key, optionalKey, streamCodec, type, versionMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface CustomRegistryOwnTypeProvider
typeMethods inherited from interface WithKey
id, key, optionalKey
-
Method Details
-
unit
- Overrides:
unitin classCustomRegistryType<B extends io.netty.buffer.ByteBuf, V>
-
isUnit
public boolean isUnit()- Overrides:
isUnitin classCustomRegistryType<B extends io.netty.buffer.ByteBuf, V>
-
optionalValue
- Specified by:
optionalValuein interfaceWithValue<B extends io.netty.buffer.ByteBuf>
-
value
-
toString
- Overrides:
toStringin classCustomRegistryType<B extends io.netty.buffer.ByteBuf, V>
-