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>
-
Field Summary
Fields inherited from class de.z0rdak.yawp.util.text.messages.pagination.BasePaginationMessage
control, FIRST_PAGE_IDX, pageContent, paginationLines -
Constructor Summary
ConstructorsConstructorDescriptionTeleportAnchorPagination(IMarkableRegion region, int pageNumber, int pageSize) -
Method Summary
Modifier and TypeMethodDescriptionList<net.minecraft.network.chat.Component>static net.minecraft.network.chat.ComponentbuildHideTeleportAnchorLink(IMarkableRegion region, TeleportAnchor tpAnchor) static net.minecraft.network.chat.MutableComponent[m] teleport anchor(s) [+]static net.minecraft.network.chat.ComponentbuildRemoveTeleportAnchorEntry(IMarkableRegion region, TeleportAnchor tpAnchor) Builds a TextComponent for teleport anchor management [x] teleport-anchor-name @ [teleport link] | [show] [hide] [rename] [set]static net.minecraft.network.chat.ComponentbuildRemoveTeleportAnchorLink(IMarkableRegion region, TeleportAnchor tpAnchor) static net.minecraft.network.chat.ComponentbuildRenameTeleportAnchorLink(IMarkableRegion region, TeleportAnchor tpAnchor) static net.minecraft.network.chat.ComponentbuildShowTeleportAnchorLink(IMarkableRegion region, TeleportAnchor tpAnchor) static net.minecraft.network.chat.MutableComponentbuildSuggestAddTeleportAnchorLink(IMarkableRegion region, String name, net.minecraft.core.BlockPos pos) static List<net.minecraft.network.chat.Component>buildTeleportAnchorEntries(IMarkableRegion region, List<TeleportAnchor> tpAnchors) static net.minecraft.network.chat.MutableComponentbuildTeleportAnchorInfoHeader(IProtectedRegion region, net.minecraft.network.chat.MutableComponent flagListLink) static net.minecraft.network.chat.ComponentbuildTeleportToAnchorLink(IMarkableRegion region, TeleportAnchor tpAnchor) static net.minecraft.network.chat.ComponentbuildUpdateTeleportAnchorLink(IMarkableRegion region, TeleportAnchor tpAnchor) net.minecraft.network.chat.Componentnet.minecraft.network.chat.Componentheader()net.minecraft.network.chat.ComponentMethods inherited from class de.z0rdak.yawp.util.text.messages.pagination.BasePaginationMessage
getContent, getLines, padEmptyEntriesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.z0rdak.yawp.util.text.messages.multiline.MultiLineMessage
to
-
Constructor Details
-
TeleportAnchorPagination
public TeleportAnchorPagination(IMarkableRegion region, int pageNumber, int pageSize) throws InvalidPageNumberException - Throws:
InvalidPageNumberException
-
-
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:
noContentMsgin classBasePaginationMessage<TeleportAnchor>
-
header
public net.minecraft.network.chat.Component header()- Specified by:
headerin classBasePaginationMessage<TeleportAnchor>
-
buildEntries
- Specified by:
buildEntriesin classBasePaginationMessage<TeleportAnchor>
-
emptyEntry
public net.minecraft.network.chat.Component emptyEntry()- Specified by:
emptyEntryin classBasePaginationMessage<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)
-