Class BeeDebugRenderer
java.lang.Object
net.minecraft.client.renderer.debug.BeeDebugRenderer
- All Implemented Interfaces:
DebugRenderer.SimpleDebugRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate UUIDprivate static final intprivate static final intprivate static final intprivate final Minecraftprivate 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 float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateHiveBlacklistMap(DebugValueAccess pDebugValueAccess) private voiddoRender(PoseStack pPoseStack, MultiBufferSource pBufferSource, DebugValueAccess pDebugValueAccess) private static StringgetBeeUuidsAsString(Collection<UUID> pBeeUuids) private CameragetGhostHives(DebugValueAccess pDebugValueAccess) private Collection<UUID> getHiveMembers(BlockPos pPos, DebugValueAccess pDebugValueAccess) private StringgetPosDescription(Entity pEntity, BlockPos pPos) private static voidhighlightHive(PoseStack pPoseStack, MultiBufferSource pBuffer, BlockPos pHivePos) private booleanisBeeSelected(Entity pEntity) voidrender(PoseStack p_113061_, MultiBufferSource p_113062_, double p_113063_, double p_113064_, double p_113065_, DebugValueAccess p_449690_, Frustum p_451059_) private voidrenderBeeInfo(PoseStack pPoseStack, MultiBufferSource pBufferSource, Entity pBee, DebugBeeInfo pBeeInfo, DebugGoalInfo pGoalInfo) private voidrenderFlowerInfos(PoseStack pPoseStack, MultiBufferSource pBufferSource, DebugValueAccess pDebugValueAccess) private voidrenderGhostHive(PoseStack pPoseStack, MultiBufferSource pBuffer, BlockPos pHivePos, List<String> pGhostHives) private voidrenderHiveInfo(PoseStack pPoseStack, MultiBufferSource pBufferSource, BlockPos pPos, DebugHiveInfo pHiveInfo, Collection<UUID> pBlacklistedBees, DebugValueAccess pDebugValueAccess) private static voidrenderTextOverHive(PoseStack pPoseStack, MultiBufferSource pBufferSource, String pText, BlockPos pPos, DebugHiveInfo pHiveInfo, int pLine, int pColor) 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_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_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:
-
TEXT_SCALE
private static final float TEXT_SCALE- See Also:
-
ORANGE
private static final int ORANGE- See Also:
-
GRAY
private static final int GRAY- See Also:
-
PINK
private static final int PINK- See Also:
-
minecraft
-
lastLookedAtUuid
-
-
Constructor Details
-
BeeDebugRenderer
-
-
Method Details
-
render
public void render(PoseStack p_113061_, MultiBufferSource p_113062_, double p_113063_, double p_113064_, double p_113065_, DebugValueAccess p_449690_, Frustum p_451059_) - Specified by:
renderin interfaceDebugRenderer.SimpleDebugRenderer
-
doRender
private void doRender(PoseStack pPoseStack, MultiBufferSource pBufferSource, DebugValueAccess pDebugValueAccess) -
createHiveBlacklistMap
-
renderFlowerInfos
private void renderFlowerInfos(PoseStack pPoseStack, MultiBufferSource pBufferSource, DebugValueAccess pDebugValueAccess) -
getBeeUuidsAsString
-
highlightHive
private static void highlightHive(PoseStack pPoseStack, MultiBufferSource pBuffer, BlockPos pHivePos) -
renderGhostHive
private void renderGhostHive(PoseStack pPoseStack, MultiBufferSource pBuffer, BlockPos pHivePos, List<String> pGhostHives) -
renderHiveInfo
private void renderHiveInfo(PoseStack pPoseStack, MultiBufferSource pBufferSource, BlockPos pPos, DebugHiveInfo pHiveInfo, Collection<UUID> pBlacklistedBees, DebugValueAccess pDebugValueAccess) -
renderBeeInfo
private void renderBeeInfo(PoseStack pPoseStack, MultiBufferSource pBufferSource, Entity pBee, DebugBeeInfo pBeeInfo, @Nullable DebugGoalInfo pGoalInfo) -
renderTextOverHive
private static void renderTextOverHive(PoseStack pPoseStack, MultiBufferSource pBufferSource, String pText, BlockPos pPos, DebugHiveInfo pHiveInfo, int pLine, int pColor) -
getCamera
-
getPosDescription
-
isBeeSelected
-
getHiveMembers
-
getGhostHives
-
updateLastLookedAtUuid
private void updateLastLookedAtUuid()
-