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 intprivate final Minecraft -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddGoalSelector(int mobId, BlockPos entityPos, List<GoalDebugPayload.DebugGoal> goals) voidclear()voidremoveGoalSelector(int mobId) voidrender(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:
clearin 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:
renderin interfaceDebugRenderer.SimpleDebugRenderer
-