Class BeeDebugRenderer
java.lang.Object
net.minecraft.client.renderer.debug.BeeDebugRenderer
- All Implemented Interfaces:
DebugRenderer.SimpleDebugRenderer
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map<UUID,
BeeDebugRenderer.BeeInfo> private static final int
private static final int
private static final int
private final Map<BlockPos,
BeeDebugRenderer.HiveInfo> private UUID
private static final int
private static final int
private static final int
private final Minecraft
private static final int
private static final int
private static final int
private static final boolean
private static final boolean
private static final boolean
private static final boolean
private static final boolean
private static final boolean
private static final boolean
private static final boolean
private static final boolean
private static final boolean
private static final boolean
private static final boolean
private static final boolean
private static final boolean
private static final float
private static final int
private static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addOrUpdateBeeInfo
(BeeDebugRenderer.BeeInfo p_113067_) void
addOrUpdateHiveInfo
(BeeDebugRenderer.HiveInfo p_113072_) void
clear()
private void
private void
private void
doRender()
private static String
getBeeUuidsAsString
(Collection<UUID> p_113116_) private Camera
getHiveMemberNames
(BeeDebugRenderer.HiveInfo p_173773_) private Collection<UUID>
getHiveMembers
(BlockPos p_113130_) private String
getPosDescription
(BeeDebugRenderer.BeeInfo p_113069_, BlockPos p_113070_) private static void
highlightHive
(BlockPos p_113077_) private boolean
isBeeSelected
(BeeDebugRenderer.BeeInfo p_113143_) private boolean
isPlayerCloseEnoughToMob
(BeeDebugRenderer.BeeInfo p_113148_) void
removeBeeInfo
(int p_173764_) void
render
(PoseStack p_113061_, MultiBufferSource p_113062_, double p_113063_, double p_113064_, double p_113065_) private void
renderBeeInfo
(BeeDebugRenderer.BeeInfo p_113138_) private void
private void
renderGhostHive
(BlockPos p_113093_, List<String> p_113094_) private void
renderHiveInfo
(BeeDebugRenderer.HiveInfo p_113074_, Collection<UUID> p_113075_) private void
renderPath
(BeeDebugRenderer.BeeInfo p_113128_) private static void
renderTextOverHive
(String p_113106_, BeeDebugRenderer.HiveInfo p_113107_, int p_113108_, int p_113109_) private static void
renderTextOverMob
(Position p_113100_, int p_113101_, String p_113102_, int p_113103_, float p_113104_) private static void
renderTextOverPos
(String p_113111_, BlockPos p_113112_, int p_113113_, int p_113114_) private static void
renderTransparentFilledBox
(BlockPos p_113079_, float p_113080_, float p_113081_, float p_113082_, float p_113083_, float p_113084_) private void
-
Field Details
-
SHOW_GOAL_FOR_ALL_BEES
private static final boolean SHOW_GOAL_FOR_ALL_BEES- See Also:
-
SHOW_NAME_FOR_ALL_BEES
private static final boolean SHOW_NAME_FOR_ALL_BEES- See Also:
-
SHOW_HIVE_FOR_ALL_BEES
private static final boolean SHOW_HIVE_FOR_ALL_BEES- See Also:
-
SHOW_FLOWER_POS_FOR_ALL_BEES
private static final boolean SHOW_FLOWER_POS_FOR_ALL_BEES- See Also:
-
SHOW_TRAVEL_TICKS_FOR_ALL_BEES
private static final boolean SHOW_TRAVEL_TICKS_FOR_ALL_BEES- See Also:
-
SHOW_PATH_FOR_ALL_BEES
private static final boolean SHOW_PATH_FOR_ALL_BEES- See Also:
-
SHOW_GOAL_FOR_SELECTED_BEE
private static final boolean SHOW_GOAL_FOR_SELECTED_BEE- See Also:
-
SHOW_NAME_FOR_SELECTED_BEE
private static final boolean SHOW_NAME_FOR_SELECTED_BEE- See Also:
-
SHOW_HIVE_FOR_SELECTED_BEE
private static final boolean SHOW_HIVE_FOR_SELECTED_BEE- See Also:
-
SHOW_FLOWER_POS_FOR_SELECTED_BEE
private static final boolean SHOW_FLOWER_POS_FOR_SELECTED_BEE- See Also:
-
SHOW_TRAVEL_TICKS_FOR_SELECTED_BEE
private static final boolean SHOW_TRAVEL_TICKS_FOR_SELECTED_BEE- See Also:
-
SHOW_PATH_FOR_SELECTED_BEE
private static final boolean SHOW_PATH_FOR_SELECTED_BEE- See Also:
-
SHOW_HIVE_MEMBERS
private static final boolean SHOW_HIVE_MEMBERS- See Also:
-
SHOW_BLACKLISTS
private static final boolean SHOW_BLACKLISTS- See Also:
-
MAX_RENDER_DIST_FOR_HIVE_OVERLAY
private static final int MAX_RENDER_DIST_FOR_HIVE_OVERLAY- See Also:
-
MAX_RENDER_DIST_FOR_BEE_OVERLAY
private static final int MAX_RENDER_DIST_FOR_BEE_OVERLAY- See Also:
-
MAX_TARGETING_DIST
private static final int MAX_TARGETING_DIST- See Also:
-
HIVE_TIMEOUT
private static final int HIVE_TIMEOUT- See Also:
-
TEXT_SCALE
private static final float TEXT_SCALE- See Also:
-
WHITE
private static final int WHITE- See Also:
-
YELLOW
private static final int YELLOW- See Also:
-
ORANGE
private static final int ORANGE- See Also:
-
GREEN
private static final int GREEN- See Also:
-
GRAY
private static final int GRAY- See Also:
-
PINK
private static final int PINK- See Also:
-
RED
private static final int RED- See Also:
-
minecraft
-
hives
-
beeInfosPerEntity
-
lastLookedAtUuid
-
-
Constructor Details
-
BeeDebugRenderer
-
-
Method Details
-
clear
public void clear()- Specified by:
clear
in interfaceDebugRenderer.SimpleDebugRenderer
-
addOrUpdateHiveInfo
-
addOrUpdateBeeInfo
-
removeBeeInfo
public void removeBeeInfo(int p_173764_) -
render
public void render(PoseStack p_113061_, MultiBufferSource p_113062_, double p_113063_, double p_113064_, double p_113065_) - Specified by:
render
in interfaceDebugRenderer.SimpleDebugRenderer
-
clearRemovedBees
private void clearRemovedBees() -
clearRemovedHives
private void clearRemovedHives() -
doRender
private void doRender() -
createHiveBlacklistMap
-
renderFlowerInfos
private void renderFlowerInfos() -
getBeeUuidsAsString
-
highlightHive
-
renderGhostHive
-
renderTransparentFilledBox
private static void renderTransparentFilledBox(BlockPos p_113079_, float p_113080_, float p_113081_, float p_113082_, float p_113083_, float p_113084_) -
renderHiveInfo
-
renderPath
-
renderBeeInfo
-
renderTextOverHive
private static void renderTextOverHive(String p_113106_, BeeDebugRenderer.HiveInfo p_113107_, int p_113108_, int p_113109_) -
renderTextOverPos
-
renderTextOverMob
-
getCamera
-
getHiveMemberNames
-
getPosDescription
-
isBeeSelected
-
isPlayerCloseEnoughToMob
-
getHiveMembers
-
getGhostHives
-
updateLastLookedAtUuid
private void updateLastLookedAtUuid()
-