Class BeeDebugRenderer
java.lang.Object
net.minecraft.client.renderer.debug.BeeDebugRenderer
- All Implemented Interfaces:
- DebugRenderer.SimpleDebugRenderer
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescription(package private) static final record
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final Map<UUID,BeeDebugPayload.BeeInfo> private static final intprivate static final intprivate static final intprivate final Map<BlockPos,BeeDebugRenderer.HiveDebugInfo> private UUIDprivate static final intprivate static final intprivate static final intprivate final Minecraftprivate static final intprivate static final intprivate static final intprivate static final booleanprivate static final booleanprivate static final booleanprivate static final booleanprivate static final booleanprivate static final booleanprivate static final booleanprivate static final booleanprivate static final booleanprivate static final booleanprivate static final booleanprivate static final booleanprivate static final booleanprivate static final booleanprivate static final floatprivate static final intprivate static final int
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddOrUpdateBeeInfo(BeeDebugPayload.BeeInfo p_294571_) voidaddOrUpdateHiveInfo(HiveDebugPayload.HiveInfo p_294147_, long p_296079_) voidclear()private voidprivate voidprivate voiddoRender(PoseStack p_270886_, MultiBufferSource p_270808_) private static StringgetBeeUuidsAsString(Collection<UUID> p_113116_) private CameragetHiveMemberNames(HiveDebugPayload.HiveInfo p_296213_) private Collection<UUID>getHiveMembers(BlockPos p_113130_) private StringgetPosDescription(BeeDebugPayload.BeeInfo p_296210_, BlockPos p_113070_) private static voidhighlightHive(PoseStack p_270133_, MultiBufferSource p_270766_, BlockPos p_270687_) private booleanisBeeSelected(BeeDebugPayload.BeeInfo p_295996_) private booleanisPlayerCloseEnoughToMob(BeeDebugPayload.BeeInfo p_294724_) voidremoveBeeInfo(int p_173764_) voidrender(PoseStack p_113061_, MultiBufferSource p_113062_, double p_113063_, double p_113064_, double p_113065_) private voidrenderBeeInfo(PoseStack p_270154_, MultiBufferSource p_270397_, BeeDebugPayload.BeeInfo p_294247_) private voidrenderFlowerInfos(PoseStack p_270578_, MultiBufferSource p_270098_) private voidrenderGhostHive(PoseStack p_270949_, MultiBufferSource p_270718_, BlockPos p_270550_, List<String> p_270221_) private voidrenderHiveInfo(PoseStack p_270194_, MultiBufferSource p_270431_, HiveDebugPayload.HiveInfo p_295856_, Collection<UUID> p_270946_) private voidrenderPath(PoseStack p_270424_, MultiBufferSource p_270123_, BeeDebugPayload.BeeInfo p_294313_) private static voidrenderTextOverHive(PoseStack p_270915_, MultiBufferSource p_270663_, String p_270119_, HiveDebugPayload.HiveInfo p_294995_, int p_270930_, int p_270094_) private static voidrenderTextOverMob(PoseStack p_270426_, MultiBufferSource p_270600_, Position p_270548_, int p_270592_, String p_270198_, int p_270792_, float p_270938_) private static voidrenderTextOverPos(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_BEESprivate static final boolean SHOW_GOAL_FOR_ALL_BEES- See Also:
 
- 
SHOW_NAME_FOR_ALL_BEESprivate static final boolean SHOW_NAME_FOR_ALL_BEES- See Also:
 
- 
SHOW_HIVE_FOR_ALL_BEESprivate static final boolean SHOW_HIVE_FOR_ALL_BEES- See Also:
 
- 
SHOW_FLOWER_POS_FOR_ALL_BEESprivate static final boolean SHOW_FLOWER_POS_FOR_ALL_BEES- See Also:
 
- 
SHOW_TRAVEL_TICKS_FOR_ALL_BEESprivate static final boolean SHOW_TRAVEL_TICKS_FOR_ALL_BEES- See Also:
 
- 
SHOW_PATH_FOR_ALL_BEESprivate static final boolean SHOW_PATH_FOR_ALL_BEES- See Also:
 
- 
SHOW_GOAL_FOR_SELECTED_BEEprivate static final boolean SHOW_GOAL_FOR_SELECTED_BEE- See Also:
 
- 
SHOW_NAME_FOR_SELECTED_BEEprivate static final boolean SHOW_NAME_FOR_SELECTED_BEE- See Also:
 
- 
SHOW_HIVE_FOR_SELECTED_BEEprivate static final boolean SHOW_HIVE_FOR_SELECTED_BEE- See Also:
 
- 
SHOW_FLOWER_POS_FOR_SELECTED_BEEprivate static final boolean SHOW_FLOWER_POS_FOR_SELECTED_BEE- See Also:
 
- 
SHOW_TRAVEL_TICKS_FOR_SELECTED_BEEprivate static final boolean SHOW_TRAVEL_TICKS_FOR_SELECTED_BEE- See Also:
 
- 
SHOW_PATH_FOR_SELECTED_BEEprivate static final boolean SHOW_PATH_FOR_SELECTED_BEE- See Also:
 
- 
SHOW_HIVE_MEMBERSprivate static final boolean SHOW_HIVE_MEMBERS- See Also:
 
- 
SHOW_BLACKLISTSprivate static final boolean SHOW_BLACKLISTS- See Also:
 
- 
MAX_RENDER_DIST_FOR_HIVE_OVERLAYprivate static final int MAX_RENDER_DIST_FOR_HIVE_OVERLAY- See Also:
 
- 
MAX_RENDER_DIST_FOR_BEE_OVERLAYprivate static final int MAX_RENDER_DIST_FOR_BEE_OVERLAY- See Also:
 
- 
MAX_TARGETING_DISTprivate static final int MAX_TARGETING_DIST- See Also:
 
- 
HIVE_TIMEOUTprivate static final int HIVE_TIMEOUT- See Also:
 
- 
TEXT_SCALEprivate static final float TEXT_SCALE- See Also:
 
- 
WHITEprivate static final int WHITE- See Also:
 
- 
YELLOWprivate static final int YELLOW- See Also:
 
- 
ORANGEprivate static final int ORANGE- See Also:
 
- 
GREENprivate static final int GREEN- See Also:
 
- 
GRAYprivate static final int GRAY- See Also:
 
- 
PINKprivate static final int PINK- See Also:
 
- 
REDprivate static final int RED- See Also:
 
- 
minecraft
- 
hives
- 
beeInfosPerEntity
- 
lastLookedAtUuid
 
- 
- 
Constructor Details- 
BeeDebugRenderer
 
- 
- 
Method Details- 
clearpublic void clear()- Specified by:
- clearin interface- DebugRenderer.SimpleDebugRenderer
 
- 
addOrUpdateHiveInfo
- 
addOrUpdateBeeInfo
- 
removeBeeInfopublic void removeBeeInfo(int p_173764_) 
- 
renderpublic void render(PoseStack p_113061_, MultiBufferSource p_113062_, double p_113063_, double p_113064_, double p_113065_) - Specified by:
- renderin interface- DebugRenderer.SimpleDebugRenderer
 
- 
clearRemovedBeesprivate void clearRemovedBees()
- 
clearRemovedHivesprivate void clearRemovedHives()
- 
doRender
- 
createHiveBlacklistMap
- 
renderFlowerInfos
- 
getBeeUuidsAsString
- 
highlightHiveprivate static void highlightHive(PoseStack p_270133_, MultiBufferSource p_270766_, BlockPos p_270687_) 
- 
renderGhostHiveprivate void renderGhostHive(PoseStack p_270949_, MultiBufferSource p_270718_, BlockPos p_270550_, List<String> p_270221_) 
- 
renderHiveInfoprivate void renderHiveInfo(PoseStack p_270194_, MultiBufferSource p_270431_, HiveDebugPayload.HiveInfo p_295856_, Collection<UUID> p_270946_) 
- 
renderPathprivate void renderPath(PoseStack p_270424_, MultiBufferSource p_270123_, BeeDebugPayload.BeeInfo p_294313_) 
- 
renderBeeInfoprivate void renderBeeInfo(PoseStack p_270154_, MultiBufferSource p_270397_, BeeDebugPayload.BeeInfo p_294247_) 
- 
renderTextOverHiveprivate static void renderTextOverHive(PoseStack p_270915_, MultiBufferSource p_270663_, String p_270119_, HiveDebugPayload.HiveInfo p_294995_, int p_270930_, int p_270094_) 
- 
renderTextOverPosprivate static void renderTextOverPos(PoseStack p_270438_, MultiBufferSource p_270244_, String p_270486_, BlockPos p_270062_, int p_270574_, int p_270228_) 
- 
renderTextOverMobprivate 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
- 
updateLastLookedAtUuidprivate void updateLastLookedAtUuid()
 
-