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 pMobId, BlockPos pEntityPos, List<GoalDebugPayload.DebugGoal> pGoals) void
clear()
void
removeGoalSelector
(int pMobId) void
render
(PoseStack pPoseStack, MultiBufferSource pBufferSource, double pCamX, double pCamY, double pCamZ)
-
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
public void addGoalSelector(int pMobId, BlockPos pEntityPos, List<GoalDebugPayload.DebugGoal> pGoals) -
removeGoalSelector
public void removeGoalSelector(int pMobId) -
render
public void render(PoseStack pPoseStack, MultiBufferSource pBufferSource, double pCamX, double pCamY, double pCamZ) - Specified by:
render
in interfaceDebugRenderer.SimpleDebugRenderer
-