All Implemented Interfaces:
IMessage

public class EnchanterWorkerSetMessage extends AbstractBuildingServerMessage<BuildingEnchanter>
Message to set add or remove a worker to gather from.
  • Constructor Details

    • EnchanterWorkerSetMessage

      public EnchanterWorkerSetMessage()
      Empty constructor used when registering the
    • EnchanterWorkerSetMessage

      public EnchanterWorkerSetMessage(@NotNull @NotNull IBuildingView building, net.minecraft.core.BlockPos worker, boolean add)
      Create the enchanter worker
      Parameters:
      building - the building of the enchanter.
      worker - the worker to add/remove.
      add - true if add, else false
  • Method Details