Package de.z0rdak.yawp.api.visualization
Class VisualizationManager
java.lang.Object
de.z0rdak.yawp.api.visualization.VisualizationManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.resources.ResourceLocationstatic final net.minecraft.resources.ResourceLocationstatic final org.apache.logging.log4j.Logger -
Method Summary
Modifier and TypeMethodDescriptionstatic voidhide(IMarkableRegion region, DisplayType displayType) static voidhideAllRegions(net.minecraft.world.level.Level level, boolean untracked) static voidhideHierarchy(IMarkableRegion region, DisplayType displayType, boolean recursive) static voidhideIntersecting(IMarkableRegion region, DisplayType displayType) static voidhideRegionsAround(net.minecraft.world.entity.player.Player player, int radius) static voidhideTeleportAnchors(IMarkableRegion region) static voidhideTpAnchor(IMarkableRegion region, TeleportAnchor tpAnchor) static voidinitServerInstance(net.minecraft.server.MinecraftServer server) static voidnukeDisplayEntities(net.minecraft.server.level.ServerLevel level) static voidrefreshDisplay(IMarkableRegion region) static voidrefreshDisplay(IMarkableRegion region, DisplayType displayType) static voidshow(IMarkableRegion region, DisplayType displayType) static voidshow(IMarkableRegion region, DisplayType displayType, BlockDisplayProperties displayProperties) static voidshowHierarchy(IMarkableRegion region, DisplayType displayType, boolean recursive) static voidshowIntersecting(IMarkableRegion region, DisplayType displayType) static voidshowRegionsAround(net.minecraft.world.entity.player.Player player, int radius, DisplayType displayType) static voidshowTeleportAnchors(IMarkableRegion region) static voidshowTpAnchor(IMarkableRegion region, TeleportAnchor tpAnchor) static voidupdateRegionDisplay(IMarkableRegion region) static voidupdateTpAnchor(IMarkableRegion region, TeleportAnchor tpAnchor)
-
Field Details
-
VISUALIZATION_LOGGER
public static final org.apache.logging.log4j.Logger VISUALIZATION_LOGGER -
REGION_BLOCK_DISPLAY_TAG
public static final net.minecraft.resources.ResourceLocation REGION_BLOCK_DISPLAY_TAG -
REGION_TEXT_DISPLAY_TAG
public static final net.minecraft.resources.ResourceLocation REGION_TEXT_DISPLAY_TAG
-
-
Method Details
-
initServerInstance
public static void initServerInstance(net.minecraft.server.MinecraftServer server) -
nukeDisplayEntities
public static void nukeDisplayEntities(net.minecraft.server.level.ServerLevel level) -
hideRegionsAround
public static void hideRegionsAround(net.minecraft.world.entity.player.Player player, int radius) -
showRegionsAround
public static void showRegionsAround(net.minecraft.world.entity.player.Player player, int radius, DisplayType displayType) -
hideAllRegions
public static void hideAllRegions(net.minecraft.world.level.Level level, boolean untracked) -
showTpAnchor
-
hideTpAnchor
-
updateTpAnchor
-
showTeleportAnchors
-
hideTeleportAnchors
-
show
public static void show(IMarkableRegion region, DisplayType displayType, BlockDisplayProperties displayProperties) -
show
-
hide
-
updateRegionDisplay
-
refreshDisplay
-
refreshDisplay
-
showHierarchy
public static void showHierarchy(IMarkableRegion region, DisplayType displayType, boolean recursive) -
showIntersecting
-
hideHierarchy
public static void hideHierarchy(IMarkableRegion region, DisplayType displayType, boolean recursive) -
hideIntersecting
-