Class RegionStateMessage
java.lang.Object
de.z0rdak.yawp.util.text.messages.multiline.RegionStateMessage
- All Implemented Interfaces:
MultiLineMessage<IProtectedRegion>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.network.chat.MutableComponentbuildAllLocalAlertToggleLink(IProtectedRegion dimRegion) static net.minecraft.network.chat.MutableComponentbuildAllLocalEnableComponent(IProtectedRegion dimRegion) static net.minecraft.network.chat.MutableComponentstatic net.minecraft.network.chat.MutableComponentstatic net.minecraft.network.chat.MutableComponentstatic net.minecraft.network.chat.MutableComponentbuildRegionRenameLink(IMarkableRegion region) static net.minecraft.network.chat.MutableComponentbuildRegionStateLink(IProtectedRegion region) List<net.minecraft.network.chat.Component> getLines()Builds lines representing the region statestatic RegionStateMessageof(IProtectedRegion region) Methods 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
-
RegionStateMessage
-
-
Method Details
-
of
-
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
- Specified by:
getContentin interfaceMultiLineMessage<IProtectedRegion>
-
getLines
Builds lines representing the region state- Specified by:
getLinesin interfaceMultiLineMessage<IProtectedRegion>- Returns:
- lines to representing region state
-