Class AttachmentSync

java.lang.Object
net.ixdarklord.coolcatcore.internal.attachment.AttachmentSync

public final class AttachmentSync extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
     
    static void
    onChunkDropped(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.level.ChunkPos pos)
    The player's client forgets a chunk.
    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.
    static void
    onStartTracking(net.minecraft.world.entity.Entity entity, net.minecraft.server.level.ServerPlayer player)
    The entity started being tracked by the player.
    static void
    onStopTracking(net.minecraft.world.entity.Entity entity, net.minecraft.server.level.ServerPlayer player)
    The entity stopped being tracked by the player.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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.