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 Map<UUID,BeeDebugRenderer.BeeInfo>
private static int
private static int
private static int
private Map<BlockPos,BeeDebugRenderer.HiveInfo>
private UUID
private static int
private static int
private static int
private Minecraft
private static int
private static int
private static int
private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
private static float
private static int
private static 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:
- Constant Field Values
-
SHOW_NAME_FOR_ALL_BEES
private static final boolean SHOW_NAME_FOR_ALL_BEES- See Also:
- Constant Field Values
-
SHOW_HIVE_FOR_ALL_BEES
private static final boolean SHOW_HIVE_FOR_ALL_BEES- See Also:
- Constant Field Values
-
SHOW_FLOWER_POS_FOR_ALL_BEES
private static final boolean SHOW_FLOWER_POS_FOR_ALL_BEES- See Also:
- Constant Field Values
-
SHOW_TRAVEL_TICKS_FOR_ALL_BEES
private static final boolean SHOW_TRAVEL_TICKS_FOR_ALL_BEES- See Also:
- Constant Field Values
-
SHOW_PATH_FOR_ALL_BEES
private static final boolean SHOW_PATH_FOR_ALL_BEES- See Also:
- Constant Field Values
-
SHOW_GOAL_FOR_SELECTED_BEE
private static final boolean SHOW_GOAL_FOR_SELECTED_BEE- See Also:
- Constant Field Values
-
SHOW_NAME_FOR_SELECTED_BEE
private static final boolean SHOW_NAME_FOR_SELECTED_BEE- See Also:
- Constant Field Values
-
SHOW_HIVE_FOR_SELECTED_BEE
private static final boolean SHOW_HIVE_FOR_SELECTED_BEE- See Also:
- Constant Field Values
-
SHOW_FLOWER_POS_FOR_SELECTED_BEE
private static final boolean SHOW_FLOWER_POS_FOR_SELECTED_BEE- See Also:
- Constant Field Values
-
SHOW_TRAVEL_TICKS_FOR_SELECTED_BEE
private static final boolean SHOW_TRAVEL_TICKS_FOR_SELECTED_BEE- See Also:
- Constant Field Values
-
SHOW_PATH_FOR_SELECTED_BEE
private static final boolean SHOW_PATH_FOR_SELECTED_BEE- See Also:
- Constant Field Values
-
SHOW_HIVE_MEMBERS
private static final boolean SHOW_HIVE_MEMBERS- See Also:
- Constant Field Values
-
SHOW_BLACKLISTS
private static final boolean SHOW_BLACKLISTS- See Also:
- Constant Field Values
-
MAX_RENDER_DIST_FOR_HIVE_OVERLAY
private static final int MAX_RENDER_DIST_FOR_HIVE_OVERLAY- See Also:
- Constant Field Values
-
MAX_RENDER_DIST_FOR_BEE_OVERLAY
private static final int MAX_RENDER_DIST_FOR_BEE_OVERLAY- See Also:
- Constant Field Values
-
MAX_TARGETING_DIST
private static final int MAX_TARGETING_DIST- See Also:
- Constant Field Values
-
HIVE_TIMEOUT
private static final int HIVE_TIMEOUT- See Also:
- Constant Field Values
-
TEXT_SCALE
private static final float TEXT_SCALE- See Also:
- Constant Field Values
-
WHITE
private static final int WHITE- See Also:
- Constant Field Values
-
YELLOW
private static final int YELLOW- See Also:
- Constant Field Values
-
ORANGE
private static final int ORANGE- See Also:
- Constant Field Values
-
GREEN
private static final int GREEN- See Also:
- Constant Field Values
-
GRAY
private static final int GRAY- See Also:
- Constant Field Values
-
PINK
private static final int PINK- See Also:
- Constant Field Values
-
RED
private static final int RED- See Also:
- Constant Field Values
-
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()
-