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 debugValueAccess) private voiddoRender(PoseStack poseStack, MultiBufferSource bufferSource, DebugValueAccess debugValueAccess) private static StringgetBeeUuidsAsString(Collection<UUID> beeUuids) private CameragetGhostHives(DebugValueAccess debugValueAccess) private Collection<UUID> getHiveMembers(BlockPos pos, DebugValueAccess debugValueAccess) private StringgetPosDescription(Entity entity, BlockPos pos) private static voidhighlightHive(PoseStack poseStack, MultiBufferSource buffer, BlockPos hivePos) private booleanisBeeSelected(Entity entity) 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 poseStack, MultiBufferSource bufferSource, Entity bee, DebugBeeInfo beeInfo, DebugGoalInfo goalInfo) private voidrenderFlowerInfos(PoseStack poseStack, MultiBufferSource bufferSource, DebugValueAccess debugValueAccess) private voidrenderGhostHive(PoseStack poseStack, MultiBufferSource buffer, BlockPos hivePos, List<String> ghostHives) private voidrenderHiveInfo(PoseStack poseStack, MultiBufferSource bufferSource, BlockPos pos, DebugHiveInfo hiveInfo, Collection<UUID> blacklistedBees, DebugValueAccess debugValueAccess) private static voidrenderTextOverHive(PoseStack poseStack, MultiBufferSource bufferSource, String text, BlockPos pos, DebugHiveInfo hiveInfo, int line, int color) 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 poseStack, MultiBufferSource bufferSource, DebugValueAccess debugValueAccess) -
createHiveBlacklistMap
-
renderFlowerInfos
private void renderFlowerInfos(PoseStack poseStack, MultiBufferSource bufferSource, DebugValueAccess debugValueAccess) -
getBeeUuidsAsString
-
highlightHive
-
renderGhostHive
private void renderGhostHive(PoseStack poseStack, MultiBufferSource buffer, BlockPos hivePos, List<String> ghostHives) -
renderHiveInfo
private void renderHiveInfo(PoseStack poseStack, MultiBufferSource bufferSource, BlockPos pos, DebugHiveInfo hiveInfo, Collection<UUID> blacklistedBees, DebugValueAccess debugValueAccess) -
renderBeeInfo
private void renderBeeInfo(PoseStack poseStack, MultiBufferSource bufferSource, Entity bee, DebugBeeInfo beeInfo, @Nullable DebugGoalInfo goalInfo) -
renderTextOverHive
private static void renderTextOverHive(PoseStack poseStack, MultiBufferSource bufferSource, String text, BlockPos pos, DebugHiveInfo hiveInfo, int line, int color) -
getCamera
-
getPosDescription
-
isBeeSelected
-
getHiveMembers
-
getGhostHives
-
updateLastLookedAtUuid
private void updateLastLookedAtUuid()
-