Class BeeDebugRenderer
java.lang.Object
net.minecraft.client.renderer.debug.BeeDebugRenderer
- All Implemented Interfaces:
DebugRenderer.SimpleDebugRenderer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<UUID,BeeDebugRenderer.BeeInfo> private static final intprivate static final intprivate static final intprivate final Map<BlockPos,BeeDebugRenderer.HiveInfo> 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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddOrUpdateBeeInfo(BeeDebugRenderer.BeeInfo p_113067_) voidaddOrUpdateHiveInfo(BeeDebugRenderer.HiveInfo p_113072_) voidclear()private voidprivate voidprivate voiddoRender()private static StringgetBeeUuidsAsString(Collection<UUID> p_113116_) private CameragetHiveMemberNames(BeeDebugRenderer.HiveInfo p_173773_) private Collection<UUID>getHiveMembers(BlockPos p_113130_) private StringgetPosDescription(BeeDebugRenderer.BeeInfo p_113069_, BlockPos p_113070_) private static voidhighlightHive(BlockPos p_113077_) private booleanisBeeSelected(BeeDebugRenderer.BeeInfo p_113143_) private booleanisPlayerCloseEnoughToMob(BeeDebugRenderer.BeeInfo p_113148_) voidremoveBeeInfo(int p_173764_) voidrender(PoseStack p_113061_, MultiBufferSource p_113062_, double p_113063_, double p_113064_, double p_113065_) private voidrenderBeeInfo(BeeDebugRenderer.BeeInfo p_113138_) private voidprivate voidrenderGhostHive(BlockPos p_113093_, List<String> p_113094_) private voidrenderHiveInfo(BeeDebugRenderer.HiveInfo p_113074_, Collection<UUID> p_113075_) private voidrenderPath(BeeDebugRenderer.BeeInfo p_113128_) private static voidrenderTextOverHive(String p_113106_, BeeDebugRenderer.HiveInfo p_113107_, int p_113108_, int p_113109_) private static voidrenderTextOverMob(Position p_113100_, int p_113101_, String p_113102_, int p_113103_, float p_113104_) private static voidrenderTextOverPos(String p_113111_, BlockPos p_113112_, int p_113113_, int p_113114_) private static voidrenderTransparentFilledBox(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:
clearin 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:
renderin 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()
-