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 pMobId, BlockPos pEntityPos, List<GoalDebugPayload.DebugGoal> pGoals) voidclear()voidremoveGoalSelector(int pMobId) voidrender(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:
clearin 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:
renderin interfaceDebugRenderer.SimpleDebugRenderer
-