Class SimpleMapType<K,V>
java.lang.Object
dev.dhyces.trimmed.api.maps.types.SimpleMapType<K,V>
- All Implemented Interfaces:
MapType<K,V>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface dev.dhyces.trimmed.api.maps.types.MapType
MapType.BaseBuilder<K,V> -
Method Summary
Modifier and TypeMethodDescriptionstatic <K,V> SimpleMapType.Builder <K, V> builder(KeyResolver<K> keyResolver, com.mojang.serialization.Codec<V> valueCodec) booleancom.mojang.serialization.Codec<V> net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, V> inthashCode()booleantoString()
-
Method Details
-
builder
public static <K,V> SimpleMapType.Builder<K,V> builder(KeyResolver<K> keyResolver, com.mojang.serialization.Codec<V> valueCodec) -
getKeyResolver
- Specified by:
getKeyResolverin interfaceMapType<K,V>
-
getValueCodec
- Specified by:
getValueCodecin interfaceMapType<K,V>
-
getValueStreamCodec
public net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,V> getValueStreamCodec()- Specified by:
getValueStreamCodecin interfaceMapType<K,V>
-
isDataPackSynced
public boolean isDataPackSynced()- Specified by:
isDataPackSyncedin interfaceMapType<K,V>
-
equals
-
hashCode
public int hashCode() -
toString
-