Class BeeDebugRenderer
java.lang.Object
net.minecraft.client.renderer.debug.BeeDebugRenderer
- All Implemented Interfaces:
DebugRenderer.SimpleDebugRenderer
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static final record
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map
<UUID, BeeDebugPayload.BeeInfo> private static final int
private static final int
private static final int
private final Map
<BlockPos, BeeDebugRenderer.HiveDebugInfo> 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
(BeeDebugPayload.BeeInfo p_294571_) void
addOrUpdateHiveInfo
(HiveDebugPayload.HiveInfo p_294147_, long p_296079_) void
clear()
private void
private void
private void
doRender
(PoseStack p_270886_, MultiBufferSource p_270808_) private static String
getBeeUuidsAsString
(Collection<UUID> p_113116_) private Camera
getHiveMemberNames
(HiveDebugPayload.HiveInfo p_296213_) private Collection
<UUID> getHiveMembers
(BlockPos p_113130_) private String
getPosDescription
(BeeDebugPayload.BeeInfo p_296210_, BlockPos p_113070_) private static void
highlightHive
(PoseStack p_270133_, MultiBufferSource p_270766_, BlockPos p_270687_) private boolean
isBeeSelected
(BeeDebugPayload.BeeInfo p_295996_) private boolean
isPlayerCloseEnoughToMob
(BeeDebugPayload.BeeInfo p_294724_) 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
(PoseStack p_270154_, MultiBufferSource p_270397_, BeeDebugPayload.BeeInfo p_294247_) private void
renderFlowerInfos
(PoseStack p_270578_, MultiBufferSource p_270098_) private void
renderGhostHive
(PoseStack p_270949_, MultiBufferSource p_270718_, BlockPos p_270550_, List<String> p_270221_) private void
renderHiveInfo
(PoseStack p_270194_, MultiBufferSource p_270431_, HiveDebugPayload.HiveInfo p_295856_, Collection<UUID> p_270946_) private void
renderPath
(PoseStack p_270424_, MultiBufferSource p_270123_, BeeDebugPayload.BeeInfo p_294313_) private static void
renderTextOverHive
(PoseStack p_270915_, MultiBufferSource p_270663_, String p_270119_, HiveDebugPayload.HiveInfo p_294995_, int p_270930_, int p_270094_) private static void
renderTextOverMob
(PoseStack p_270426_, MultiBufferSource p_270600_, Position p_270548_, int p_270592_, String p_270198_, int p_270792_, float p_270938_) private static void
renderTextOverPos
(PoseStack p_270438_, MultiBufferSource p_270244_, String p_270486_, BlockPos p_270062_, int p_270574_, int p_270228_) 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
-
createHiveBlacklistMap
-
renderFlowerInfos
-
getBeeUuidsAsString
-
highlightHive
private static void highlightHive(PoseStack p_270133_, MultiBufferSource p_270766_, BlockPos p_270687_) -
renderGhostHive
private void renderGhostHive(PoseStack p_270949_, MultiBufferSource p_270718_, BlockPos p_270550_, List<String> p_270221_) -
renderHiveInfo
private void renderHiveInfo(PoseStack p_270194_, MultiBufferSource p_270431_, HiveDebugPayload.HiveInfo p_295856_, Collection<UUID> p_270946_) -
renderPath
private void renderPath(PoseStack p_270424_, MultiBufferSource p_270123_, BeeDebugPayload.BeeInfo p_294313_) -
renderBeeInfo
private void renderBeeInfo(PoseStack p_270154_, MultiBufferSource p_270397_, BeeDebugPayload.BeeInfo p_294247_) -
renderTextOverHive
private static void renderTextOverHive(PoseStack p_270915_, MultiBufferSource p_270663_, String p_270119_, HiveDebugPayload.HiveInfo p_294995_, int p_270930_, int p_270094_) -
renderTextOverPos
private static void renderTextOverPos(PoseStack p_270438_, MultiBufferSource p_270244_, String p_270486_, BlockPos p_270062_, int p_270574_, int p_270228_) -
renderTextOverMob
private static void renderTextOverMob(PoseStack p_270426_, MultiBufferSource p_270600_, Position p_270548_, int p_270592_, String p_270198_, int p_270792_, float p_270938_) -
getCamera
-
getHiveMemberNames
-
getPosDescription
-
isBeeSelected
-
isPlayerCloseEnoughToMob
-
getHiveMembers
-
getGhostHives
-
updateLastLookedAtUuid
private void updateLastLookedAtUuid()
-