Package dev.dhyces.trimmed.api.maps
Class MapKey<K,V>
java.lang.Object
dev.dhyces.trimmed.api.maps.MapKey<K,V>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic <K,V> MapKey <K, V> static <K,V> com.mojang.serialization.Codec <MapKey<K, V>> net.minecraft.resources.ResourceLocationbooleanstatic <K,V> MapKey <K, V> net.minecraft.resources.ResourceLocationgetMapId()getType()inthashCode()booleanisSubKey()makeSubKey(net.minecraft.resources.ResourceLocation subId) static <K,V> MapKey <K, V> toString()
-
Field Details
-
REGISTERED_CODEC
-
-
Method Details
-
codec
-
baseKeyOf
-
fromBase
-
of
-
getType
-
getMapId
public net.minecraft.resources.ResourceLocation getMapId() -
makeSubKey
-
getParentKey
-
getBaseKey
-
isSubKey
public boolean isSubKey() -
compilePathAndIdNamespace
public net.minecraft.resources.ResourceLocation compilePathAndIdNamespace() -
toString
-
equals
-
hashCode
public int hashCode()
-