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

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

    Fields
    Modifier and Type
    Field
    Description
    protected static final com.mojang.datafixers.types.templates.Hook.HookFunction
     
    protected static final Map<String,String>
     

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

    parent, RECURSIVE_TYPES
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    com.mojang.datafixers.types.Type<?>
    getChoiceType(com.mojang.datafixers.DSL.TypeReference type, String choiceName)
     
    Map<String,Supplier<com.mojang.datafixers.types.templates.TypeTemplate>>
    registerBlockEntities(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)
     
    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)
     

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

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

    Methods inherited from class java.lang.Object

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

    • ITEM_TO_BLOCKENTITY

      protected static final Map<String,String> ITEM_TO_BLOCKENTITY
    • ADD_NAMES

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

    • V704

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

    • registerInventory

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

      public com.mojang.datafixers.types.Type<?> getChoiceType(com.mojang.datafixers.DSL.TypeReference type, String choiceName)
      Overrides:
      getChoiceType 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
    • 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