Class RegionStateMessage

java.lang.Object
de.z0rdak.yawp.util.text.messages.multiline.RegionStateMessage
All Implemented Interfaces:
MultiLineMessage<IProtectedRegion>

public class RegionStateMessage extends Object implements MultiLineMessage<IProtectedRegion>
  • Constructor Details

  • Method Details

    • of

      public static RegionStateMessage of(IProtectedRegion region)
    • buildRegionStateLink

      public static net.minecraft.network.chat.MutableComponent buildRegionStateLink(IProtectedRegion region)
    • buildRegionRenameLink

      public static net.minecraft.network.chat.MutableComponent buildRegionRenameLink(IMarkableRegion region)
    • buildRegionPriorityComponent

      public static net.minecraft.network.chat.MutableComponent buildRegionPriorityComponent(IMarkableRegion region)
    • buildAllLocalAlertToggleLink

      public static net.minecraft.network.chat.MutableComponent buildAllLocalAlertToggleLink(IProtectedRegion dimRegion)
    • buildAllLocalEnableComponent

      public static net.minecraft.network.chat.MutableComponent buildAllLocalEnableComponent(IProtectedRegion dimRegion)
    • buildRegionEnableComponent

      public static net.minecraft.network.chat.MutableComponent buildRegionEnableComponent(IProtectedRegion region)
    • buildRegionAlertToggleLink

      public static net.minecraft.network.chat.MutableComponent buildRegionAlertToggleLink(IProtectedRegion region)
    • getContent

      public IProtectedRegion getContent()
      Specified by:
      getContent in interface MultiLineMessage<IProtectedRegion>
    • getLines

      public List<net.minecraft.network.chat.Component> getLines()
      Builds lines representing the region state
      Specified by:
      getLines in interface MultiLineMessage<IProtectedRegion>
      Returns:
      lines to representing region state