Uses of Class
net.minecraft.entity.data.TrackedData
Package
Description
-
Uses of TrackedData in net.minecraft.client.network
Modifier and TypeMethodDescriptionvoid
ClientPlayerEntity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set. -
Uses of TrackedData in net.minecraft.entity
Modifier and TypeFieldDescriptionprivate static final TrackedData<Integer>
Entity.AIR
protected static final TrackedData<BlockPos>
FallingBlockEntity.BLOCK_POS
private final TrackedData<Integer>
SaddledComponent.boostTime
private static final TrackedData<Integer>
AreaEffectCloudEntity.COLOR
private static final TrackedData<Optional<Text>>
Entity.CUSTOM_NAME
protected static final TrackedData<Byte>
Entity.FLAGS
private static final TrackedData<Integer>
Entity.FROZEN_TICKS
private static final TrackedData<Integer>
TntEntity.FUSE
private static final TrackedData<Float>
LivingEntity.HEALTH
private static final TrackedData<ItemStack>
EyeOfEnderEntity.ITEM
protected static final TrackedData<Byte>
LivingEntity.LIVING_FLAGS
private static final TrackedData<Boolean>
Entity.NAME_VISIBLE
private static final TrackedData<Boolean>
Entity.NO_GRAVITY
private static final TrackedData<ParticleEffect>
AreaEffectCloudEntity.PARTICLE_ID
protected static final TrackedData<EntityPose>
Entity.POSE
private static final TrackedData<Boolean>
LivingEntity.POTION_SWIRLS_AMBIENT
private static final TrackedData<Integer>
LivingEntity.POTION_SWIRLS_COLOR
private static final TrackedData<Float>
AreaEffectCloudEntity.RADIUS
private final TrackedData<Boolean>
SaddledComponent.saddled
private static final TrackedData<Boolean>
Entity.SILENT
private static final TrackedData<Optional<BlockPos>>
LivingEntity.SLEEPING_POSITION
private static final TrackedData<ItemStack>
ItemEntity.STACK
private static final TrackedData<Integer>
LivingEntity.STINGER_COUNT
private static final TrackedData<Integer>
LivingEntity.STUCK_ARROW_COUNT
private static final TrackedData<Boolean>
AreaEffectCloudEntity.WAITING
Modifier and TypeMethodDescriptionvoid
AreaEffectCloudEntity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.void
Entity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.void
ItemEntity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.void
LivingEntity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.ModifierConstructorDescriptionSaddledComponent
(DataTracker dataTracker, TrackedData<Integer> boostTime, TrackedData<Boolean> saddled) -
Uses of TrackedData in net.minecraft.entity.boss
Modifier and TypeFieldDescriptionprivate static final TrackedData<Integer>
WitherEntity.INVUL_TIMER
private static final TrackedData<Integer>
WitherEntity.TRACKED_ENTITY_ID_1
private static final TrackedData<Integer>
WitherEntity.TRACKED_ENTITY_ID_2
private static final TrackedData<Integer>
WitherEntity.TRACKED_ENTITY_ID_3
Modifier and TypeFieldDescriptionprivate static final List<TrackedData<Integer>>
WitherEntity.TRACKED_ENTITY_IDS
-
Uses of TrackedData in net.minecraft.entity.boss.dragon
Modifier and TypeMethodDescriptionvoid
EnderDragonEntity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set. -
Uses of TrackedData in net.minecraft.entity.data
Modifier and TypeMethodDescriptiondefault TrackedData<T>
TrackedDataHandler.create
(int id) DataTracker.Entry.getData()
static <T> TrackedData<T>
DataTracker.registerData
(Class<? extends Entity> entityClass, TrackedDataHandler<T> dataHandler) Modifier and TypeMethodDescriptionprivate <T> void
DataTracker.addTrackedData
(TrackedData<T> key, T value) <T> boolean
DataTracker.containsKey
(TrackedData<T> key) <T> T
DataTracker.get
(TrackedData<T> data) private <T> DataTracker.Entry<T>
DataTracker.getEntry
(TrackedData<T> key) static <T> DataTracker.SerializedEntry<T>
DataTracker.SerializedEntry.of
(TrackedData<T> data, T value) <T> void
DataTracker.set
(TrackedData<T> key, T value) <T> void
DataTracker.set
(TrackedData<T> key, T value, boolean force) <T> void
DataTracker.startTracking
(TrackedData<T> key, T initialValue) -
Uses of TrackedData in net.minecraft.entity.decoration
Modifier and TypeFieldDescriptionstatic final TrackedData<Byte>
ArmorStandEntity.ARMOR_STAND_FLAGS
private static final TrackedData<Integer>
DisplayEntity.TextDisplayEntity.BACKGROUND
private static final TrackedData<Optional<BlockPos>>
EndCrystalEntity.BEAM_TARGET
private static final TrackedData<Byte>
DisplayEntity.BILLBOARD
private static final TrackedData<BlockState>
DisplayEntity.BlockDisplayEntity.BLOCK_STATE
private static final TrackedData<Integer>
DisplayEntity.BRIGHTNESS
private static final TrackedData<Integer>
DisplayEntity.GLOW_COLOR_OVERRIDE
private static final TrackedData<Float>
DisplayEntity.HEIGHT
private static final TrackedData<Float>
InteractionEntity.HEIGHT
private static final TrackedData<Integer>
DisplayEntity.INTERPOLATION_DURATION
private static final TrackedData<ItemStack>
DisplayEntity.ItemDisplayEntity.ITEM
private static final TrackedData<Byte>
DisplayEntity.ItemDisplayEntity.ITEM_DISPLAY
private static final TrackedData<ItemStack>
ItemFrameEntity.ITEM_STACK
private static final TrackedData<Quaternionf>
DisplayEntity.LEFT_ROTATION
private static final TrackedData<Integer>
DisplayEntity.TextDisplayEntity.LINE_WIDTH
private static final TrackedData<Boolean>
InteractionEntity.RESPONSE
private static final TrackedData<Quaternionf>
DisplayEntity.RIGHT_ROTATION
private static final TrackedData<Integer>
ItemFrameEntity.ROTATION
private static final TrackedData<Vector3f>
DisplayEntity.SCALE
private static final TrackedData<Float>
DisplayEntity.SHADOW_RADIUS
private static final TrackedData<Float>
DisplayEntity.SHADOW_STRENGTH
private static final TrackedData<Boolean>
EndCrystalEntity.SHOW_BOTTOM
private static final TrackedData<Integer>
DisplayEntity.START_INTERPOLATION
private static final TrackedData<Integer>
DisplayEntity.TELEPORT_DURATION
private static final TrackedData<Text>
DisplayEntity.TextDisplayEntity.TEXT
private static final TrackedData<Byte>
DisplayEntity.TextDisplayEntity.TEXT_DISPLAY_FLAGS
private static final TrackedData<Byte>
DisplayEntity.TextDisplayEntity.TEXT_OPACITY
static final TrackedData<EulerAngle>
ArmorStandEntity.TRACKER_BODY_ROTATION
static final TrackedData<EulerAngle>
ArmorStandEntity.TRACKER_HEAD_ROTATION
static final TrackedData<EulerAngle>
ArmorStandEntity.TRACKER_LEFT_ARM_ROTATION
static final TrackedData<EulerAngle>
ArmorStandEntity.TRACKER_LEFT_LEG_ROTATION
static final TrackedData<EulerAngle>
ArmorStandEntity.TRACKER_RIGHT_ARM_ROTATION
static final TrackedData<EulerAngle>
ArmorStandEntity.TRACKER_RIGHT_LEG_ROTATION
private static final TrackedData<Vector3f>
DisplayEntity.TRANSLATION
private static final TrackedData<Float>
DisplayEntity.VIEW_RANGE
private static final TrackedData<Float>
DisplayEntity.WIDTH
private static final TrackedData<Float>
InteractionEntity.WIDTH
Modifier and TypeMethodDescriptionvoid
ArmorStandEntity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.void
DisplayEntity.BlockDisplayEntity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.void
DisplayEntity.ItemDisplayEntity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.void
DisplayEntity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.void
DisplayEntity.TextDisplayEntity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.void
InteractionEntity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.void
ItemFrameEntity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set. -
Uses of TrackedData in net.minecraft.entity.decoration.painting
Modifier and TypeFieldDescriptionprivate static final TrackedData<RegistryEntry<PaintingVariant>>
PaintingEntity.VARIANT
Modifier and TypeMethodDescriptionvoid
PaintingEntity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set. -
Uses of TrackedData in net.minecraft.entity.mob
Modifier and TypeFieldDescriptionprivate static final TrackedData<Integer>
WardenEntity.ANGER
private static final TrackedData<Boolean>
EndermanEntity.ANGRY
protected static final TrackedData<Direction>
ShulkerEntity.ATTACHED_FACE
private static final TrackedData<Boolean>
HoglinEntity.BABY
private static final TrackedData<Boolean>
PiglinEntity.BABY
private static final TrackedData<Boolean>
ZoglinEntity.BABY
private static final TrackedData<Boolean>
ZombieEntity.BABY
private static final TrackedData<Integer>
GuardianEntity.BEAM_TARGET_ID
private static final TrackedData<Byte>
BlazeEntity.BLAZE_FLAGS
The tracked flags of blazes.private static final TrackedData<Optional<BlockState>>
EndermanEntity.CARRIED_BLOCK
private static final TrackedData<Boolean>
CreeperEntity.CHARGED
private static final TrackedData<Boolean>
PiglinEntity.CHARGING
private static final TrackedData<Boolean>
PillagerEntity.CHARGING
protected static final TrackedData<Byte>
ShulkerEntity.COLOR
private static final TrackedData<Boolean>
SkeletonEntity.CONVERTING
private static final TrackedData<Boolean>
ZombieVillagerEntity.CONVERTING
private static final TrackedData<Boolean>
ZombieEntity.CONVERTING_IN_WATER
private static final TrackedData<Boolean>
PiglinEntity.DANCING
private static final TrackedData<Boolean>
WitchEntity.DRINKING
private static final TrackedData<Integer>
CreeperEntity.FUSE_SPEED
private static final TrackedData<Boolean>
CreeperEntity.IGNITED
protected static final TrackedData<Boolean>
AbstractPiglinEntity.IMMUNE_TO_ZOMBIFICATION
private static final TrackedData<Byte>
MobEntity.MOB_FLAGS
protected static final TrackedData<Byte>
ShulkerEntity.PEEK_AMOUNT
private static final TrackedData<Boolean>
EndermanEntity.PROVOKED
private static final TrackedData<Boolean>
GhastEntity.SHOOTING
private static final TrackedData<Integer>
PhantomEntity.SIZE
private static final TrackedData<Integer>
SlimeEntity.SLIME_SIZE
private static final TrackedData<Byte>
SpellcastingIllagerEntity.SPELL
private static final TrackedData<Byte>
SpiderEntity.SPIDER_FLAGS
The tracked flags of spiders.private static final TrackedData<Boolean>
GuardianEntity.SPIKES_RETRACTED
protected static final TrackedData<Byte>
VexEntity.VEX_FLAGS
private static final TrackedData<VillagerData>
ZombieVillagerEntity.VILLAGER_DATA
private static final TrackedData<Integer>
ZombieEntity.ZOMBIE_TYPE
Unused tracked data, left over from 1.10 when zombies, zombie villagers and husks were all the same type of entity.Modifier and TypeMethodDescriptionvoid
EndermanEntity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.void
GuardianEntity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.void
PhantomEntity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.void
PiglinEntity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.void
ShulkerEntity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.void
SlimeEntity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.void
WardenEntity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.void
ZoglinEntity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.void
ZombieEntity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set. -
Uses of TrackedData in net.minecraft.entity.passive
Modifier and TypeFieldDescriptionprivate static final TrackedData<Boolean>
TurtleEntity.ACTIVELY_TRAVELING
private static final TrackedData<Integer>
BeeEntity.ANGER
private static final TrackedData<Integer>
WolfEntity.ANGER_TIME
private static final TrackedData<Integer>
PandaEntity.ASK_FOR_BAMBOO_TICKS
private static final TrackedData<Byte>
BatEntity.BAT_FLAGS
The tracked flags of bats.private static final TrackedData<Byte>
BeeEntity.BEE_FLAGS
private static final TrackedData<Boolean>
WolfEntity.BEGGING
private static final TrackedData<Integer>
PigEntity.BOOST_TIME
private static final TrackedData<Integer>
StriderEntity.BOOST_TIME
private static final TrackedData<Boolean>
AllayEntity.CAN_DUPLICATE
private static final TrackedData<Integer>
LlamaEntity.CARPET_COLOR
private static final TrackedData<CatVariant>
CatEntity.CAT_VARIANT
private static final TrackedData<Boolean>
AbstractDonkeyEntity.CHEST
private static final TrackedData<Boolean>
PassiveEntity.CHILD
private static final TrackedData<Boolean>
StriderEntity.COLD
private static final TrackedData<Integer>
CatEntity.COLLAR_COLOR
private static final TrackedData<Integer>
WolfEntity.COLLAR_COLOR
private static final TrackedData<Byte>
SheepEntity.COLOR
private static final TrackedData<Boolean>
AllayEntity.DANCING
private static final TrackedData<Integer>
GlowSquidEntity.DARK_TICKS_REMAINING
static final TrackedData<Boolean>
CamelEntity.DASHING
private static final TrackedData<Boolean>
TurtleEntity.DIGGING_SAND
private static final TrackedData<Integer>
PandaEntity.EATING_TICKS
private static final TrackedData<Integer>
SnifferEntity.FINISH_DIG_TIME
private static final TrackedData<Byte>
FoxEntity.FOX_FLAGS
private static final TrackedData<Boolean>
AxolotlEntity.FROM_BUCKET
private static final TrackedData<Boolean>
FishEntity.FROM_BUCKET
private static final TrackedData<Boolean>
TurtleEntity.HAS_EGG
private static final TrackedData<Boolean>
DolphinEntity.HAS_FISH
private static final TrackedData<Boolean>
CatEntity.HEAD_DOWN
private static final TrackedData<Integer>
MerchantEntity.HEAD_ROLLING_TIME_LEFT
private static final TrackedData<Byte>
PandaEntity.HIDDEN_GENE
private static final TrackedData<BlockPos>
TurtleEntity.HOME_POS
private static final TrackedData<Byte>
AbstractHorseEntity.HORSE_FLAGS
private static final TrackedData<Boolean>
CatEntity.IN_SLEEPING_POSE
protected static final TrackedData<Byte>
IronGolemEntity.IRON_GOLEM_FLAGS
The tracked flags of iron golems.private static final TrackedData<Boolean>
TurtleEntity.LAND_BOUND
static final TrackedData<Long>
CamelEntity.LAST_POSE_TICK
private static final TrackedData<Boolean>
GoatEntity.LEFT_HORN
private static final TrackedData<Byte>
PandaEntity.MAIN_GENE
private static final TrackedData<Integer>
DolphinEntity.MOISTNESS
private static final TrackedData<Optional<UUID>>
FoxEntity.OTHER_TRUSTED
private static final TrackedData<Optional<UUID>>
FoxEntity.OWNER
protected static final TrackedData<Optional<UUID>>
TameableEntity.OWNER_UUID
private static final TrackedData<Byte>
PandaEntity.PANDA_FLAGS
private static final TrackedData<Boolean>
AxolotlEntity.PLAYING_DEAD
private static final TrackedData<Integer>
PufferfishEntity.PUFF_STATE
private static final TrackedData<Integer>
RabbitEntity.RABBIT_TYPE
private static final TrackedData<Boolean>
GoatEntity.RIGHT_HORN
private static final TrackedData<Boolean>
PigEntity.SADDLED
private static final TrackedData<Boolean>
StriderEntity.SADDLED
private static final TrackedData<Boolean>
GoatEntity.SCREAMING
private static final TrackedData<Integer>
PandaEntity.SNEEZE_PROGRESS
private static final TrackedData<Byte>
SnowGolemEntity.SNOW_GOLEM_FLAGS
private static final TrackedData<SnifferEntity.State>
SnifferEntity.STATE
private static final TrackedData<Integer>
LlamaEntity.STRENGTH
protected static final TrackedData<Byte>
TameableEntity.TAMEABLE_FLAGS
The tracked flags of tameable entities.private static final TrackedData<OptionalInt>
FrogEntity.TARGET
private static final TrackedData<BlockPos>
TurtleEntity.TRAVEL_POS
private static final TrackedData<BlockPos>
DolphinEntity.TREASURE_POS
private static final TrackedData<Boolean>
OcelotEntity.TRUSTING
private static final TrackedData<Integer>
FoxEntity.TYPE
private static final TrackedData<String>
MooshroomEntity.TYPE
private static final TrackedData<Integer>
AxolotlEntity.VARIANT
private static final TrackedData<FrogVariant>
FrogEntity.VARIANT
private static final TrackedData<Integer>
HorseEntity.VARIANT
private static final TrackedData<Integer>
LlamaEntity.VARIANT
private static final TrackedData<Integer>
ParrotEntity.VARIANT
private static final TrackedData<Integer>
TropicalFishEntity.VARIANT
private static final TrackedData<VillagerData>
VillagerEntity.VILLAGER_DATA
private static final TrackedData<Boolean>
PolarBearEntity.WARNING
Modifier and TypeMethodDescriptionvoid
CamelEntity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.void
FrogEntity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.void
PassiveEntity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.void
PigEntity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.void
PufferfishEntity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.void
SnifferEntity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.void
StriderEntity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set. -
Uses of TrackedData in net.minecraft.entity.player
Modifier and TypeFieldDescriptionprivate static final TrackedData<Float>
PlayerEntity.ABSORPTION_AMOUNT
protected static final TrackedData<NbtCompound>
PlayerEntity.LEFT_SHOULDER_ENTITY
protected static final TrackedData<Byte>
PlayerEntity.MAIN_ARM
protected static final TrackedData<Byte>
PlayerEntity.PLAYER_MODEL_PARTS
protected static final TrackedData<NbtCompound>
PlayerEntity.RIGHT_SHOULDER_ENTITY
private static final TrackedData<Integer>
PlayerEntity.SCORE
-
Uses of TrackedData in net.minecraft.entity.projectile
Modifier and TypeFieldDescriptionprivate static final TrackedData<Boolean>
FishingBobberEntity.CAUGHT_FISH
private static final TrackedData<Boolean>
WitherSkullEntity.CHARGED
private static final TrackedData<Integer>
ArrowEntity.COLOR
private static final TrackedData<Boolean>
TridentEntity.ENCHANTED
private static final TrackedData<Integer>
FishingBobberEntity.HOOK_ENTITY_ID
private static final TrackedData<ItemStack>
AbstractFireballEntity.ITEM
private static final TrackedData<ItemStack>
FireworkRocketEntity.ITEM
private static final TrackedData<Byte>
TridentEntity.LOYALTY
private static final TrackedData<Byte>
PersistentProjectileEntity.PIERCE_LEVEL
private static final TrackedData<Byte>
PersistentProjectileEntity.PROJECTILE_FLAGS
private static final TrackedData<OptionalInt>
FireworkRocketEntity.SHOOTER_ENTITY_ID
private static final TrackedData<Boolean>
FireworkRocketEntity.SHOT_AT_ANGLE
Modifier and TypeMethodDescriptionvoid
FishingBobberEntity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set. -
Uses of TrackedData in net.minecraft.entity.projectile.thrown
Modifier and TypeFieldDescriptionprivate static final TrackedData<ItemStack>
ThrownItemEntity.ITEM
-
Uses of TrackedData in net.minecraft.entity.raid
Modifier and TypeFieldDescriptionprotected static final TrackedData<Boolean>
RaiderEntity.CELEBRATING
-
Uses of TrackedData in net.minecraft.entity.vehicle
Modifier and TypeFieldDescriptionprivate static final TrackedData<Integer>
BoatEntity.BOAT_TYPE
private static final TrackedData<Integer>
BoatEntity.BUBBLE_WOBBLE_TICKS
(package private) static final TrackedData<String>
CommandBlockMinecartEntity.COMMAND
private static final TrackedData<Integer>
AbstractMinecartEntity.CUSTOM_BLOCK_ID
private static final TrackedData<Integer>
AbstractMinecartEntity.CUSTOM_BLOCK_OFFSET
private static final TrackedData<Boolean>
AbstractMinecartEntity.CUSTOM_BLOCK_PRESENT
private static final TrackedData<Integer>
AbstractMinecartEntity.DAMAGE_WOBBLE_SIDE
private static final TrackedData<Integer>
BoatEntity.DAMAGE_WOBBLE_SIDE
private static final TrackedData<Float>
AbstractMinecartEntity.DAMAGE_WOBBLE_STRENGTH
private static final TrackedData<Float>
BoatEntity.DAMAGE_WOBBLE_STRENGTH
private static final TrackedData<Integer>
AbstractMinecartEntity.DAMAGE_WOBBLE_TICKS
private static final TrackedData<Integer>
BoatEntity.DAMAGE_WOBBLE_TICKS
(package private) static final TrackedData<Text>
CommandBlockMinecartEntity.LAST_OUTPUT
private static final TrackedData<Boolean>
BoatEntity.LEFT_PADDLE_MOVING
private static final TrackedData<Boolean>
FurnaceMinecartEntity.LIT
private static final TrackedData<Boolean>
BoatEntity.RIGHT_PADDLE_MOVING
Modifier and TypeMethodDescriptionvoid
CommandBlockMinecartEntity.onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.