Class Schema100

java.lang.Object
com.mojang.datafixers.schemas.Schema
net.minecraft.datafixer.schema.Schema100

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

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

    parent, RECURSIVE_TYPES
  • Constructor Summary

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

    Modifier and Type Method Description
    Map<String,​Supplier<com.mojang.datafixers.types.templates.TypeTemplate>> registerEntities​(com.mojang.datafixers.schemas.Schema schema)  
    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)  
    protected static void targetEntity​(com.mojang.datafixers.schemas.Schema schema, Map<String,​Supplier<com.mojang.datafixers.types.templates.TypeTemplate>> map, String string)  
    protected static com.mojang.datafixers.types.templates.TypeTemplate targetItems​(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, registerBlockEntities, registerSimple, registerType, resolveTemplate, types

    Methods inherited from class java.lang.Object

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

    • Schema100

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

    • targetItems

      protected static com.mojang.datafixers.types.templates.TypeTemplate targetItems​(com.mojang.datafixers.schemas.Schema schema)
    • targetEntity

      protected static void targetEntity​(com.mojang.datafixers.schemas.Schema schema, Map<String,​Supplier<com.mojang.datafixers.types.templates.TypeTemplate>> map, String string)
    • 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
    • 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