Interface DataTracked

All Known Implementing Classes:
AbstractBoatEntity, AbstractChestBoatEntity, AbstractClientPlayerEntity, AbstractDecorationEntity, AbstractDonkeyEntity, AbstractFireballEntity, AbstractHorseEntity, AbstractMinecartEntity, AbstractPiglinEntity, AbstractSkeletonEntity, AbstractWindChargeEntity, AllayEntity, AmbientEntity, AnimalEntity, AreaEffectCloudEntity, ArmadilloEntity, ArmorStandEntity, ArrowEntity, AxolotlEntity, BatEntity, BeeEntity, BlazeEntity, BlockAttachedEntity, BoatEntity, BoggedEntity, BreezeEntity, BreezeWindChargeEntity, CamelEntity, CatEntity, CaveSpiderEntity, ChestBoatEntity, ChestMinecartEntity, ChestRaftEntity, ChickenEntity, ClientPlayerEntity, CodEntity, CommandBlockMinecartEntity, CowEntity, CreakingEntity, CreeperEntity, DisplayEntity, DisplayEntity.BlockDisplayEntity, DisplayEntity.ItemDisplayEntity, DisplayEntity.TextDisplayEntity, DolphinEntity, DonkeyEntity, DragonFireballEntity, DrownedEntity, EggEntity, ElderGuardianEntity, EndCrystalEntity, EnderDragonEntity, EnderDragonPart, EndermanEntity, EndermiteEntity, EnderPearlEntity, Entity, EvokerEntity, EvokerFangsEntity, ExperienceBottleEntity, ExperienceOrbEntity, ExplosiveProjectileEntity, EyeOfEnderEntity, FallingBlockEntity, FireballEntity, FireworkRocketEntity, FishEntity, FishingBobberEntity, FlyingEntity, FoxEntity, FrogEntity, FurnaceMinecartEntity, GhastEntity, GiantEntity, GlowItemFrameEntity, GlowSquidEntity, GoatEntity, GolemEntity, GuardianEntity, HoglinEntity, HopperMinecartEntity, HorseEntity, HostileEntity, HuskEntity, IllagerEntity, IllusionerEntity, InteractionEntity, IronGolemEntity, ItemEntity, ItemFrameEntity, LeashKnotEntity, LightningEntity, LivingEntity, LlamaEntity, LlamaSpitEntity, MagmaCubeEntity, MarkerEntity, MerchantEntity, MinecartEntity, MobEntity, MooshroomEntity, MuleEntity, OcelotEntity, OminousItemSpawnerEntity, OtherClientPlayerEntity, PaintingEntity, PandaEntity, ParrotEntity, PassiveEntity, PathAwareEntity, PatrolEntity, PersistentProjectileEntity, PhantomEntity, PigEntity, PiglinBruteEntity, PiglinEntity, PillagerEntity, PlayerEntity, PolarBearEntity, PotionEntity, ProjectileEntity, PufferfishEntity, RabbitEntity, RaftEntity, RaiderEntity, RavagerEntity, SalmonEntity, SchoolingFishEntity, ServerPlayerEntity, SheepEntity, ShulkerBulletEntity, ShulkerEntity, SilverfishEntity, SkeletonEntity, SkeletonHorseEntity, SlimeEntity, SmallFireballEntity, SnifferEntity, SnowballEntity, SnowGolemEntity, SpawnerMinecartEntity, SpectralArrowEntity, SpellcastingIllagerEntity, SpiderEntity, SquidEntity, StorageMinecartEntity, StrayEntity, StriderEntity, TadpoleEntity, TameableEntity, TameableShoulderEntity, ThrownEntity, ThrownItemEntity, TntEntity, TntMinecartEntity, TraderLlamaEntity, TransientCreakingEntity, TridentEntity, TropicalFishEntity, TurtleEntity, VehicleEntity, VexEntity, VillagerEntity, VindicatorEntity, WanderingTraderEntity, WardenEntity, WaterAnimalEntity, WaterCreatureEntity, WindChargeEntity, WitchEntity, WitherEntity, WitherSkeletonEntity, WitherSkullEntity, WolfEntity, ZoglinEntity, ZombieEntity, ZombieHorseEntity, ZombieVillagerEntity, ZombifiedPiglinEntity

public interface DataTracked
Mappings:
Namespace Name
named net/minecraft/entity/data/DataTracked
intermediary net/minecraft/class_9221
official alf
  • Method Details

    • onTrackedDataSet

      void onTrackedDataSet(TrackedData<?> data)
      Called on the client when the tracked data is set.

      This can be overridden to refresh other fields when the tracked data is set or changed.

      Mappings:
      Namespace Name Mixin selector
      named onTrackedDataSet Lnet/minecraft/entity/data/DataTracked;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
      intermediary method_5674 Lnet/minecraft/class_9221;method_5674(Lnet/minecraft/class_2940;)V
      official a Lalf;a(Lalc;)V
    • onDataTrackerUpdate

      void onDataTrackerUpdate(List<DataTracker.SerializedEntry<?>> entries)
      Mappings:
      Namespace Name Mixin selector
      named onDataTrackerUpdate Lnet/minecraft/entity/data/DataTracked;onDataTrackerUpdate(Ljava/util/List;)V
      intermediary method_48850 Lnet/minecraft/class_9221;method_48850(Ljava/util/List;)V
      official a Lalf;a(Ljava/util/List;)V