Class MovementCancelCondition

java.lang.Object
xyz.vdeltagabriel.afk.condition.MovementCancelCondition
All Implemented Interfaces:
AFKCancelCondition

public class MovementCancelCondition extends Object implements AFKCancelCondition
  • Constructor Details

    • MovementCancelCondition

      public MovementCancelCondition()
  • Method Details

    • fulfilled

      public boolean fulfilled(net.minecraft.server.level.ServerPlayer player)
      Description copied from interface: AFKCancelCondition
      Checks if condition is fulfilled
      Specified by:
      fulfilled in interface AFKCancelCondition
      Parameters:
      player - AFK player to check
      Returns:
      Whether the condition is fulfilled