Class AttachmentSync
java.lang.Object
net.ixdarklord.coolcatcore.internal.attachment.AttachmentSync
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidinit()static voidonChunkDropped(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.level.ChunkPos pos) The player's client forgets a chunk.static voidonChunkSent(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.level.chunk.LevelChunk chunk) A chunk was sent to the player; its block entities follow.static voidonStartTracking(net.minecraft.world.entity.Entity entity, net.minecraft.server.level.ServerPlayer player) The entity started being tracked by the player.static voidonStopTracking(net.minecraft.world.entity.Entity entity, net.minecraft.server.level.ServerPlayer player) The entity stopped being tracked by the player.
-
Method Details
-
init
public static void init() -
onStartTracking
public static void onStartTracking(net.minecraft.world.entity.Entity entity, net.minecraft.server.level.ServerPlayer player) The entity started being tracked by the player. -
onStopTracking
public static void onStopTracking(net.minecraft.world.entity.Entity entity, net.minecraft.server.level.ServerPlayer player) The entity stopped being tracked by the player. -
onChunkSent
public static void onChunkSent(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.level.chunk.LevelChunk chunk) A chunk was sent to the player; its block entities follow. -
onChunkDropped
public static void onChunkDropped(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.level.ChunkPos pos) The player's client forgets a chunk.
-