Interface AttachmentEvents.StopTracking

Enclosing class:
AttachmentEvents
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface AttachmentEvents.StopTracking
A player stops receiving a holder's data (server side): they stopped seeing the entity, the block entity's chunk was dropped for them, or, for their own data, they left.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onStopTracking(AttachmentHolder holder, net.minecraft.server.level.ServerPlayer player)
     
  • Method Details

    • onStopTracking

      void onStopTracking(AttachmentHolder holder, net.minecraft.server.level.ServerPlayer player)