Class TypeReferences

java.lang.Object
net.minecraft.datafixer.TypeReferences

public class TypeReferences
extends Object
Represents all the type references Minecraft's datafixer can fix.
  • Field Summary

    Fields
    Modifier and Type Field Description
    static com.mojang.datafixers.DSL.TypeReference ADVANCEMENTS  
    static com.mojang.datafixers.DSL.TypeReference BIOME
    A type reference which refers to a biome.
    static com.mojang.datafixers.DSL.TypeReference BLOCK_ENTITY
    A type reference which refers to a block entity.
    static com.mojang.datafixers.DSL.TypeReference BLOCK_NAME
    A type reference which refers to a block's identifier.
    static com.mojang.datafixers.DSL.TypeReference BLOCK_STATE
    A type reference which refers to a block state.
    static com.mojang.datafixers.DSL.TypeReference CHUNK
    A type reference which refers to a chunk.
    static com.mojang.datafixers.DSL.TypeReference CHUNK_GENERATOR_SETTINGS
    A type reference which refers to chunk generator settings.
    static com.mojang.datafixers.DSL.TypeReference ENTITY
    A type reference which refers to a type of entity.
    static com.mojang.datafixers.DSL.TypeReference ENTITY_CHUNK
    A type reference which refers to the entity data in a chunk.
    static com.mojang.datafixers.DSL.TypeReference ENTITY_NAME
    A type reference which refers to an entity's identifier.
    static com.mojang.datafixers.DSL.TypeReference ENTITY_TREE
    A type reference which refers to an entity tree.
    static com.mojang.datafixers.DSL.TypeReference HOTBAR
    A type reference which refers to the saved creative hotbars.
    static com.mojang.datafixers.DSL.TypeReference ITEM_NAME
    A type reference which refers to an item's identifier.
    static com.mojang.datafixers.DSL.TypeReference ITEM_STACK
    A type reference which refers to an item stack.
    static com.mojang.datafixers.DSL.TypeReference LEVEL  
    static com.mojang.datafixers.DSL.TypeReference OBJECTIVE  
    static com.mojang.datafixers.DSL.TypeReference OPTIONS
    A type reference which refers to client game options.
    static com.mojang.datafixers.DSL.TypeReference PLAYER
    A type reference which refers to a player.
    static com.mojang.datafixers.DSL.TypeReference POI_CHUNK
    A type reference which refers to the point of interest data in a chunk.
    static com.mojang.datafixers.DSL.TypeReference RECIPE  
    static com.mojang.datafixers.DSL.TypeReference SAVED_DATA  
    static com.mojang.datafixers.DSL.TypeReference STATS  
    static com.mojang.datafixers.DSL.TypeReference STRUCTURE  
    static com.mojang.datafixers.DSL.TypeReference STRUCTURE_FEATURE  
    static com.mojang.datafixers.DSL.TypeReference TEAM  
    static com.mojang.datafixers.DSL.TypeReference UNTAGGED_SPAWNER  
  • Constructor Summary

    Constructors
    Constructor Description
    TypeReferences()  
  • Method Summary

    Methods inherited from class java.lang.Object

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

    • LEVEL

      public static final com.mojang.datafixers.DSL.TypeReference LEVEL
    • PLAYER

      public static final com.mojang.datafixers.DSL.TypeReference PLAYER
      A type reference which refers to a player.
    • CHUNK

      public static final com.mojang.datafixers.DSL.TypeReference CHUNK
      A type reference which refers to a chunk.
    • HOTBAR

      public static final com.mojang.datafixers.DSL.TypeReference HOTBAR
      A type reference which refers to the saved creative hotbars.

      This type reference is only used on the client.

    • OPTIONS

      public static final com.mojang.datafixers.DSL.TypeReference OPTIONS
      A type reference which refers to client game options.
    • STRUCTURE

      public static final com.mojang.datafixers.DSL.TypeReference STRUCTURE
    • STATS

      public static final com.mojang.datafixers.DSL.TypeReference STATS
    • SAVED_DATA

      public static final com.mojang.datafixers.DSL.TypeReference SAVED_DATA
    • ADVANCEMENTS

      public static final com.mojang.datafixers.DSL.TypeReference ADVANCEMENTS
    • POI_CHUNK

      public static final com.mojang.datafixers.DSL.TypeReference POI_CHUNK
      A type reference which refers to the point of interest data in a chunk.
    • ENTITY_CHUNK

      public static final com.mojang.datafixers.DSL.TypeReference ENTITY_CHUNK
      A type reference which refers to the entity data in a chunk.
    • BLOCK_ENTITY

      public static final com.mojang.datafixers.DSL.TypeReference BLOCK_ENTITY
      A type reference which refers to a block entity.
    • ITEM_STACK

      public static final com.mojang.datafixers.DSL.TypeReference ITEM_STACK
      A type reference which refers to an item stack.
    • BLOCK_STATE

      public static final com.mojang.datafixers.DSL.TypeReference BLOCK_STATE
      A type reference which refers to a block state.
    • ENTITY_NAME

      public static final com.mojang.datafixers.DSL.TypeReference ENTITY_NAME
      A type reference which refers to an entity's identifier.
    • ENTITY_TREE

      public static final com.mojang.datafixers.DSL.TypeReference ENTITY_TREE
      A type reference which refers to an entity tree.

      An entity tree contains the passengers of an entity and their passengers.

    • ENTITY

      public static final com.mojang.datafixers.DSL.TypeReference ENTITY
      A type reference which refers to a type of entity.
    • BLOCK_NAME

      public static final com.mojang.datafixers.DSL.TypeReference BLOCK_NAME
      A type reference which refers to a block's identifier.
    • ITEM_NAME

      public static final com.mojang.datafixers.DSL.TypeReference ITEM_NAME
      A type reference which refers to an item's identifier.
    • UNTAGGED_SPAWNER

      public static final com.mojang.datafixers.DSL.TypeReference UNTAGGED_SPAWNER
    • STRUCTURE_FEATURE

      public static final com.mojang.datafixers.DSL.TypeReference STRUCTURE_FEATURE
    • OBJECTIVE

      public static final com.mojang.datafixers.DSL.TypeReference OBJECTIVE
    • TEAM

      public static final com.mojang.datafixers.DSL.TypeReference TEAM
    • RECIPE

      public static final com.mojang.datafixers.DSL.TypeReference RECIPE
    • BIOME

      public static final com.mojang.datafixers.DSL.TypeReference BIOME
      A type reference which refers to a biome.
    • CHUNK_GENERATOR_SETTINGS

      public static final com.mojang.datafixers.DSL.TypeReference CHUNK_GENERATOR_SETTINGS
      A type reference which refers to chunk generator settings.
  • Constructor Details

    • TypeReferences

      public TypeReferences()