Class ChangeFreeToInteractBlockMessage

java.lang.Object
com.minecolonies.core.network.messages.server.AbstractColonyServerMessage
com.minecolonies.core.network.messages.server.colony.ChangeFreeToInteractBlockMessage
All Implemented Interfaces:
IMessage

public class ChangeFreeToInteractBlockMessage extends AbstractColonyServerMessage
Message to execute the renaiming of the townHall.
  • Constructor Details

    • ChangeFreeToInteractBlockMessage

      public ChangeFreeToInteractBlockMessage()
      Empty public constructor.
    • ChangeFreeToInteractBlockMessage

      public ChangeFreeToInteractBlockMessage(@NotNull @NotNull IColonyView colony, @NotNull @NotNull net.minecraft.world.level.block.Block block, @NotNull @NotNull ChangeFreeToInteractBlockMessage.MessageType type)
      Message creation to add a new freely interactable block to the colony.
      Parameters:
      colony - Colony the block can be interacted with in.
      block - the blockState.
      type - the type of
    • ChangeFreeToInteractBlockMessage

      public ChangeFreeToInteractBlockMessage(@NotNull @NotNull IColonyView colony, @NotNull @NotNull net.minecraft.core.BlockPos pos, @NotNull @NotNull ChangeFreeToInteractBlockMessage.MessageType type)
      Message creation to add a new freely interactable position to the colony.
      Parameters:
      colony - Colony the position can be interacted with in.
      pos - the position.
      type - the type of
  • Method Details