Uses of Interface
net.minecraft.entity.data.TrackedDataHandler
-
Uses of TrackedDataHandler in net.minecraft.entity.data
Modifier and TypeFieldDescriptionstatic final TrackedDataHandler<BlockPos>
TrackedDataHandlerRegistry.BLOCK_POS
static final TrackedDataHandler<Boolean>
TrackedDataHandlerRegistry.BOOLEAN
static final TrackedDataHandler<Byte>
TrackedDataHandlerRegistry.BYTE
static final TrackedDataHandler<CatVariant>
TrackedDataHandlerRegistry.CAT_VARIANT
private final TrackedDataHandler<T>
TrackedData.dataType
static final TrackedDataHandler<EntityPose>
TrackedDataHandlerRegistry.ENTITY_POSE
static final TrackedDataHandler<Direction>
TrackedDataHandlerRegistry.FACING
static final TrackedDataHandler<Float>
TrackedDataHandlerRegistry.FLOAT
static final TrackedDataHandler<FrogVariant>
TrackedDataHandlerRegistry.FROG_VARIANT
static final TrackedDataHandler<Integer>
TrackedDataHandlerRegistry.INTEGER
static final TrackedDataHandler<ItemStack>
TrackedDataHandlerRegistry.ITEM_STACK
static final TrackedDataHandler<NbtCompound>
TrackedDataHandlerRegistry.NBT_COMPOUND
static final TrackedDataHandler<Optional<BlockPos>>
TrackedDataHandlerRegistry.OPTIONAL_BLOCK_POS
static final TrackedDataHandler<Optional<BlockState>>
TrackedDataHandlerRegistry.OPTIONAL_BLOCK_STATE
static final TrackedDataHandler<Optional<GlobalPos>>
TrackedDataHandlerRegistry.OPTIONAL_GLOBAL_POS
static final TrackedDataHandler<OptionalInt>
TrackedDataHandlerRegistry.OPTIONAL_INT
static final TrackedDataHandler<Optional<Text>>
TrackedDataHandlerRegistry.OPTIONAL_TEXT_COMPONENT
static final TrackedDataHandler<Optional<UUID>>
TrackedDataHandlerRegistry.OPTIONAL_UUID
static final TrackedDataHandler<RegistryEntry<PaintingVariant>>
TrackedDataHandlerRegistry.PAINTING_VARIANT
static final TrackedDataHandler<ParticleEffect>
TrackedDataHandlerRegistry.PARTICLE
static final TrackedDataHandler<EulerAngle>
TrackedDataHandlerRegistry.ROTATION
static final TrackedDataHandler<String>
TrackedDataHandlerRegistry.STRING
static final TrackedDataHandler<Text>
TrackedDataHandlerRegistry.TEXT_COMPONENT
static final TrackedDataHandler<VillagerData>
TrackedDataHandlerRegistry.VILLAGER_DATA
Modifier and TypeFieldDescriptionprivate static final Int2ObjectBiMap<TrackedDataHandler<?>>
TrackedDataHandlerRegistry.DATA_HANDLERS
Modifier and TypeMethodDescriptionstatic @Nullable TrackedDataHandler<?>
TrackedDataHandlerRegistry.get
(int id) TrackedData.getType()
static <T> TrackedDataHandler<T>
TrackedDataHandler.of
(PacketByteBuf.PacketWriter<T> writer, PacketByteBuf.PacketReader<T> reader) static <T> TrackedDataHandler<T>
TrackedDataHandler.of
(IndexedIterable<T> registry) static <T extends Enum<T>>
TrackedDataHandler<T>static <T> TrackedDataHandler<Optional<T>>
TrackedDataHandler.ofOptional
(PacketByteBuf.PacketWriter<T> writer, PacketByteBuf.PacketReader<T> reader) Modifier and TypeMethodDescriptionprivate static <T> DataTracker.Entry<T>
DataTracker.entryFromPacket
(PacketByteBuf buf, int id, TrackedDataHandler<T> handler) static int
TrackedDataHandlerRegistry.getId
(TrackedDataHandler<?> handler) static void
TrackedDataHandlerRegistry.register
(TrackedDataHandler<?> handler) static <T> TrackedData<T>
DataTracker.registerData
(Class<? extends Entity> entityClass, TrackedDataHandler<T> dataHandler)