All Implemented Interfaces:
IMessage

public class GuardSetMinePosMessage extends AbstractBuildingServerMessage<AbstractBuildingGuards>
Message to set the position of the mine a guard should patrol
  • Constructor Details

    • GuardSetMinePosMessage

      public GuardSetMinePosMessage()
      Empty standard constructor
    • GuardSetMinePosMessage

      public GuardSetMinePosMessage(@NotNull AbstractBuildingGuards.View building, net.minecraft.core.BlockPos minePos)
      Creates an instance of the message to set a new position
      Parameters:
      building - the building to apply the position change to
      minePos - the position of the mine
    • GuardSetMinePosMessage

      public GuardSetMinePosMessage(@NotNull AbstractBuildingGuards.View building)
      Creates an instance of the message to clear the position
      Parameters:
      building - the building to apply the position change to
  • Method Details