Class GoalSelectorDebugRenderer
java.lang.Object
net.minecraft.client.renderer.debug.GoalSelectorDebugRenderer
- All Implemented Interfaces:
DebugRenderer.SimpleDebugRenderer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.ints.Int2ObjectMap
<GoalSelectorDebugRenderer.EntityGoalInfo> private static final int
private final Minecraft
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addGoalSelector
(int mobId, BlockPos entityPos, List<GoalDebugPayload.DebugGoal> goals) void
clear()
void
removeGoalSelector
(int mobId) void
render
(PoseStack poseStack, MultiBufferSource bufferSource, double camX, double camY, double camZ)
-
Field Details
-
MAX_RENDER_DIST
private static final int MAX_RENDER_DIST- See Also:
-
minecraft
-
goalSelectors
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<GoalSelectorDebugRenderer.EntityGoalInfo> goalSelectors
-
-
Constructor Details
-
GoalSelectorDebugRenderer
-
-
Method Details
-
clear
public void clear()- Specified by:
clear
in interfaceDebugRenderer.SimpleDebugRenderer
-
addGoalSelector
-
removeGoalSelector
public void removeGoalSelector(int mobId) -
render
public void render(PoseStack poseStack, MultiBufferSource bufferSource, double camX, double camY, double camZ) - Specified by:
render
in interfaceDebugRenderer.SimpleDebugRenderer
-