Class SynchedEntityData

java.lang.Object
net.minecraft.network.syncher.SynchedEntityData

public class SynchedEntityData extends Object
Keeps data in sync from server to client for an entity. A maximum of 254 parameters per entity class can be registered. The system then ensures that these values are updated on the client whenever they change on the server. Use defineId(Class, EntityDataSerializer) to register a piece of data for your entity class. Use
invalid reference
#define
during
invalid reference
Entity#defineSynchedData
to set the default value for a given parameter.