Class MessageUtils.MessageBuilderColonyPlayerSelector

java.lang.Object
com.minecolonies.api.util.MessageUtils.MessageBuilderColonyPlayerSelector
Enclosing class:
MessageUtils

public static class MessageUtils.MessageBuilderColonyPlayerSelector extends Object
  • Constructor Details

    • MessageBuilderColonyPlayerSelector

      public MessageBuilderColonyPlayerSelector(net.minecraft.network.chat.MutableComponent rootComponent, IColony colony, boolean alwaysShowColony)
      Default constructor.
      Parameters:
      rootComponent - the completed component to send.
      colony - the reference to the colony.
      alwaysShowColony - whether we always want to include the colony name in front of the message.
  • Method Details

    • forAllPlayers

      public void forAllPlayers()
      Sends the message to all players inside the colony.
    • forManagers

      public void forManagers()
      Sends the message to all colony manager.