Class V99

java.lang.Object
com.mojang.datafixers.schemas.Schema
net.minecraft.util.datafix.schemas.V99

public class V99 extends com.mojang.datafixers.schemas.Schema
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final com.mojang.datafixers.types.templates.Hook.HookFunction
     
    private static final Map<String,String>
     
    static final Map<String,String>
     
    private static final org.slf4j.Logger
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    V99(int versionKey, com.mojang.datafixers.schemas.Schema parent)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected static <T> T
    addNames(com.mojang.serialization.Dynamic<T> input, Map<String,String> itemToBlockEntityMap, Map<String,String> itemToEntityMap)
     
    static com.mojang.datafixers.types.templates.TypeTemplate
    itemStackTag(com.mojang.datafixers.schemas.Schema schema)
     
    Map<String, Supplier<com.mojang.datafixers.types.templates.TypeTemplate>>
    registerBlockEntities(com.mojang.datafixers.schemas.Schema schema)
     
    Map<String, Supplier<com.mojang.datafixers.types.templates.TypeTemplate>>
    registerEntities(com.mojang.datafixers.schemas.Schema schema)
     
    protected static void
    registerInventory(com.mojang.datafixers.schemas.Schema schema, Map<String, Supplier<com.mojang.datafixers.types.templates.TypeTemplate>> map, String name)
     
    protected static void
    registerMinecart(com.mojang.datafixers.schemas.Schema schema, Map<String, Supplier<com.mojang.datafixers.types.templates.TypeTemplate>> map, String name)
     
    protected static void
    registerThrowableProjectile(com.mojang.datafixers.schemas.Schema schema, Map<String, Supplier<com.mojang.datafixers.types.templates.TypeTemplate>> map, String name)
     
    void
    registerTypes(com.mojang.datafixers.schemas.Schema schema, Map<String, Supplier<com.mojang.datafixers.types.templates.TypeTemplate>> entityTypes, Map<String, Supplier<com.mojang.datafixers.types.templates.TypeTemplate>> blockEntityTypes)
     
    static com.mojang.datafixers.types.templates.TypeTemplate
    sign(com.mojang.datafixers.schemas.Schema schema)
     

    Methods inherited from class com.mojang.datafixers.schemas.Schema

    buildTypes, findChoiceType, getChoiceType, getParent, getTemplate, getType, getTypeRaw, getVersionKey, id, register, register, registerSimple, registerType, resolveTemplate, types

    Methods inherited from class Object

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

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • ITEM_TO_BLOCKENTITY

      private static final Map<String,String> ITEM_TO_BLOCKENTITY
    • ITEM_TO_ENTITY

      public static final Map<String,String> ITEM_TO_ENTITY
    • ADD_NAMES

      protected static final com.mojang.datafixers.types.templates.Hook.HookFunction ADD_NAMES
  • Constructor Details

    • V99

      public V99(int versionKey, com.mojang.datafixers.schemas.Schema parent)
  • Method Details

    • registerThrowableProjectile

      protected static void registerThrowableProjectile(com.mojang.datafixers.schemas.Schema schema, Map<String, Supplier<com.mojang.datafixers.types.templates.TypeTemplate>> map, String name)
    • registerMinecart

      protected static void registerMinecart(com.mojang.datafixers.schemas.Schema schema, Map<String, Supplier<com.mojang.datafixers.types.templates.TypeTemplate>> map, String name)
    • registerInventory

      protected static void registerInventory(com.mojang.datafixers.schemas.Schema schema, Map<String, Supplier<com.mojang.datafixers.types.templates.TypeTemplate>> map, String name)
    • registerEntities

      public Map<String, Supplier<com.mojang.datafixers.types.templates.TypeTemplate>> registerEntities(com.mojang.datafixers.schemas.Schema schema)
      Overrides:
      registerEntities in class com.mojang.datafixers.schemas.Schema
    • registerBlockEntities

      public Map<String, Supplier<com.mojang.datafixers.types.templates.TypeTemplate>> registerBlockEntities(com.mojang.datafixers.schemas.Schema schema)
      Overrides:
      registerBlockEntities in class com.mojang.datafixers.schemas.Schema
    • sign

      public static com.mojang.datafixers.types.templates.TypeTemplate sign(com.mojang.datafixers.schemas.Schema schema)
    • registerTypes

      public void registerTypes(com.mojang.datafixers.schemas.Schema schema, Map<String, Supplier<com.mojang.datafixers.types.templates.TypeTemplate>> entityTypes, Map<String, Supplier<com.mojang.datafixers.types.templates.TypeTemplate>> blockEntityTypes)
      Overrides:
      registerTypes in class com.mojang.datafixers.schemas.Schema
    • itemStackTag

      public static com.mojang.datafixers.types.templates.TypeTemplate itemStackTag(com.mojang.datafixers.schemas.Schema schema)
    • addNames

      protected static <T> T addNames(com.mojang.serialization.Dynamic<T> input, Map<String,String> itemToBlockEntityMap, Map<String,String> itemToEntityMap)