Uses of Interface
net.minecraft.entity.data.TrackedDataHandler
-
Uses of TrackedDataHandler in net.minecraft.entity.data
Modifier and TypeFieldDescriptionstatic final TrackedDataHandler
<ArmadilloEntity.State> TrackedDataHandlerRegistry.ARMADILLO_STATE
static final TrackedDataHandler
<BlockPos> TrackedDataHandlerRegistry.BLOCK_POS
static final TrackedDataHandler
<BlockState> TrackedDataHandlerRegistry.BLOCK_STATE
static final TrackedDataHandler
<Boolean> TrackedDataHandlerRegistry.BOOLEAN
static final TrackedDataHandler
<Byte> TrackedDataHandlerRegistry.BYTE
static final TrackedDataHandler
<RegistryEntry<CatVariant>> TrackedDataHandlerRegistry.CAT_VARIANT
private final TrackedDataHandler
<T> TrackedData.dataType
The field for thedataType
record component.static final TrackedDataHandler
<EntityPose> TrackedDataHandlerRegistry.ENTITY_POSE
static final TrackedDataHandler
<Direction> TrackedDataHandlerRegistry.FACING
static final TrackedDataHandler
<Float> TrackedDataHandlerRegistry.FLOAT
static final TrackedDataHandler
<RegistryEntry<FrogVariant>> TrackedDataHandlerRegistry.FROG_VARIANT
private final TrackedDataHandler
<T> DataTracker.SerializedEntry.handler
The field for thehandler
record component.static final TrackedDataHandler
<Integer> TrackedDataHandlerRegistry.INTEGER
static final TrackedDataHandler
<ItemStack> TrackedDataHandlerRegistry.ITEM_STACK
static final TrackedDataHandler
<Long> TrackedDataHandlerRegistry.LONG
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
<List<ParticleEffect>> TrackedDataHandlerRegistry.PARTICLE_LIST
static final TrackedDataHandler
<Quaternionf> TrackedDataHandlerRegistry.QUATERNIONF
static final TrackedDataHandler
<EulerAngle> TrackedDataHandlerRegistry.ROTATION
static final TrackedDataHandler
<SnifferEntity.State> TrackedDataHandlerRegistry.SNIFFER_STATE
static final TrackedDataHandler
<String> TrackedDataHandlerRegistry.STRING
static final TrackedDataHandler
<Text> TrackedDataHandlerRegistry.TEXT_COMPONENT
static final TrackedDataHandler
<Vector3f> TrackedDataHandlerRegistry.VECTOR3F
static final TrackedDataHandler
<VillagerData> TrackedDataHandlerRegistry.VILLAGER_DATA
static final TrackedDataHandler
<RegistryEntry<WolfVariant>> TrackedDataHandlerRegistry.WOLF_VARIANT
Modifier and TypeFieldDescriptionprivate static final Int2ObjectBiMap
<TrackedDataHandler<?>> TrackedDataHandlerRegistry.DATA_HANDLERS
Modifier and TypeMethodDescriptionstatic <T> TrackedDataHandler
<T> TrackedDataHandler.create
(PacketCodec<? super RegistryByteBuf, T> codec) TrackedData.dataType()
Returns the value of thedataType
record component.static @Nullable TrackedDataHandler
<?> TrackedDataHandlerRegistry.get
(int id) DataTracker.SerializedEntry.handler()
Returns the value of thehandler
record component.Modifier and TypeMethodDescriptionprivate static <T> DataTracker.SerializedEntry
<T> DataTracker.SerializedEntry.fromBuf
(RegistryByteBuf 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 DataTracked> entityClass, TrackedDataHandler<T> dataHandler) ModifierConstructorDescriptionSerializedEntry
(int int2, TrackedDataHandler<T> trackedDataHandler, T t) TrackedData
(int id, TrackedDataHandler<T> dataType) Creates an instance of aTrackedData
record class.