All Implemented Interfaces:
IMessage

public class PostBoxRequestMessage extends AbstractBuildingServerMessage<PostBox>
Creates a request from the postbox.
  • Constructor Details

    • PostBoxRequestMessage

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

      public PostBoxRequestMessage(@NotNull @NotNull IBuildingView building, net.minecraft.world.item.ItemStack itemStack, int quantity, boolean deliverAvailable)
      Creates a Transfer Items request
      Parameters:
      building - AbstractBuilding of the request.
      itemStack - to be take from the player for the building
      quantity - of item needed to be transfered
  • Method Details