Class ImprovedGoalSelectorDebugRenderer
java.lang.Object
net.frozenblock.lib.debug.client.renderer.ImprovedGoalSelectorDebugRenderer
- All Implemented Interfaces:
net.minecraft.client.renderer.debug.DebugRenderer.SimpleDebugRenderer
public class ImprovedGoalSelectorDebugRenderer
extends Object
implements net.minecraft.client.renderer.debug.DebugRenderer.SimpleDebugRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal it.unimi.dsi.fastutil.ints.Int2ObjectMap<net.frozenblock.lib.debug.client.renderer.ImprovedGoalSelectorDebugRenderer.EntityGoalInfo> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddGoalSelector(@NotNull net.minecraft.world.entity.Entity entity, List<net.minecraft.network.protocol.common.custom.GoalDebugPayload.DebugGoal> selectors) voidclear()voidremoveGoalSelector(int index) voidrender(com.mojang.blaze3d.vertex.PoseStack matrices, net.minecraft.client.renderer.MultiBufferSource vertexConsumers, double cameraX, double cameraY, double cameraZ)
-
Field Details
-
goalSelectors
public final it.unimi.dsi.fastutil.ints.Int2ObjectMap<net.frozenblock.lib.debug.client.renderer.ImprovedGoalSelectorDebugRenderer.EntityGoalInfo> goalSelectors
-
-
Constructor Details
-
ImprovedGoalSelectorDebugRenderer
public ImprovedGoalSelectorDebugRenderer(net.minecraft.client.Minecraft client)
-
-
Method Details
-
clear
public void clear()- Specified by:
clearin interfacenet.minecraft.client.renderer.debug.DebugRenderer.SimpleDebugRenderer
-
addGoalSelector
public void addGoalSelector(@NotNull @NotNull net.minecraft.world.entity.Entity entity, List<net.minecraft.network.protocol.common.custom.GoalDebugPayload.DebugGoal> selectors) -
removeGoalSelector
public void removeGoalSelector(int index) -
render
public void render(com.mojang.blaze3d.vertex.PoseStack matrices, net.minecraft.client.renderer.MultiBufferSource vertexConsumers, double cameraX, double cameraY, double cameraZ) - Specified by:
renderin interfacenet.minecraft.client.renderer.debug.DebugRenderer.SimpleDebugRenderer
-