Class ClientMapTypes

java.lang.Object
dev.dhyces.trimmed.api.client.map.ClientMapTypes

public final class ClientMapTypes extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.Codec<MapType<?,?>>
     
    static final MapType<net.minecraft.resources.ResourceLocation,net.minecraft.resources.ResourceLocation>
     
    static final MapType<net.minecraft.resources.ResourceLocation,String>
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
     
    static <K, V> MapType<K,V>
    registerType(net.minecraft.resources.ResourceLocation id, MapType<K,V> mapType)
    This is not a required step to create a map type, though it does allow it to be represented as a map type in data such as model generators

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<MapType<?,?>> CODEC
    • TEXTURE_SUFFIX

      public static final MapType<net.minecraft.resources.ResourceLocation,String> TEXTURE_SUFFIX
    • TEXTURE_MAPPING

      public static final MapType<net.minecraft.resources.ResourceLocation,net.minecraft.resources.ResourceLocation> TEXTURE_MAPPING
  • Method Details

    • init

      public static void init()
    • registerType

      public static <K, V> MapType<K,V> registerType(net.minecraft.resources.ResourceLocation id, MapType<K,V> mapType)
      This is not a required step to create a map type, though it does allow it to be represented as a map type in data such as model generators