Class TeleportAnchorPagination

java.lang.Object
de.z0rdak.yawp.util.text.messages.pagination.BasePaginationMessage<TeleportAnchor>
de.z0rdak.yawp.util.text.messages.pagination.TeleportAnchorPagination
All Implemented Interfaces:
MultiLineMessage<List<TeleportAnchor>>, PaginationMessage<TeleportAnchor>

public class TeleportAnchorPagination extends BasePaginationMessage<TeleportAnchor>
  • Constructor Details

  • Method Details

    • buildTeleportAnchorInfoHeader

      public static net.minecraft.network.chat.MutableComponent buildTeleportAnchorInfoHeader(IProtectedRegion region, net.minecraft.network.chat.MutableComponent flagListLink)
    • buildTeleportAnchorEntries

      public static List<net.minecraft.network.chat.Component> buildTeleportAnchorEntries(IMarkableRegion region, List<TeleportAnchor> tpAnchors)
    • buildRemoveTeleportAnchorEntry

      public static net.minecraft.network.chat.Component buildRemoveTeleportAnchorEntry(IMarkableRegion region, TeleportAnchor tpAnchor)
      Builds a TextComponent for teleport anchor management [x] teleport-anchor-name @ [teleport link] | [show] [hide] [rename] [set]
    • buildShowTeleportAnchorLink

      public static net.minecraft.network.chat.Component buildShowTeleportAnchorLink(IMarkableRegion region, TeleportAnchor tpAnchor)
    • buildHideTeleportAnchorLink

      public static net.minecraft.network.chat.Component buildHideTeleportAnchorLink(IMarkableRegion region, TeleportAnchor tpAnchor)
    • buildRemoveTeleportAnchorLink

      public static net.minecraft.network.chat.Component buildRemoveTeleportAnchorLink(IMarkableRegion region, TeleportAnchor tpAnchor)
    • buildTeleportToAnchorLink

      public static net.minecraft.network.chat.Component buildTeleportToAnchorLink(IMarkableRegion region, TeleportAnchor tpAnchor)
    • buildRenameTeleportAnchorLink

      public static net.minecraft.network.chat.Component buildRenameTeleportAnchorLink(IMarkableRegion region, TeleportAnchor tpAnchor)
    • buildUpdateTeleportAnchorLink

      public static net.minecraft.network.chat.Component buildUpdateTeleportAnchorLink(IMarkableRegion region, TeleportAnchor tpAnchor)
    • noContentMsg

      public net.minecraft.network.chat.Component noContentMsg()
      Specified by:
      noContentMsg in class BasePaginationMessage<TeleportAnchor>
    • header

      public net.minecraft.network.chat.Component header()
      Specified by:
      header in class BasePaginationMessage<TeleportAnchor>
    • buildEntries

      public List<net.minecraft.network.chat.Component> buildEntries()
      Specified by:
      buildEntries in class BasePaginationMessage<TeleportAnchor>
    • emptyEntry

      public net.minecraft.network.chat.Component emptyEntry()
      Specified by:
      emptyEntry in class BasePaginationMessage<TeleportAnchor>
    • buildRegionTeleportAnchorListLink

      public static net.minecraft.network.chat.MutableComponent buildRegionTeleportAnchorListLink(IMarkableRegion region)
      [m] teleport anchor(s) [+]
    • buildSuggestAddTeleportAnchorLink

      public static net.minecraft.network.chat.MutableComponent buildSuggestAddTeleportAnchorLink(IMarkableRegion region, String name, net.minecraft.core.BlockPos pos)