Class RaidDebugRenderer
java.lang.Object
net.minecraft.client.renderer.debug.RaidDebugRenderer
- All Implemented Interfaces:
DebugRenderer.SimpleDebugRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
private final Minecraft
private Collection
<BlockPos> private static final float
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate Camera
private static void
highlightRaidCenter
(PoseStack poseStack, MultiBufferSource buffer, BlockPos pos) void
render
(PoseStack poseStack, MultiBufferSource bufferSource, double camX, double camY, double camZ) private static void
renderTextOverBlock
(PoseStack poseStack, MultiBufferSource buffer, String text, BlockPos pos, int color) void
setRaidCenters
(Collection<BlockPos> raidCenters) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.renderer.debug.DebugRenderer.SimpleDebugRenderer
clear
-
Field Details
-
MAX_RENDER_DIST
private static final int MAX_RENDER_DIST- See Also:
-
TEXT_SCALE
private static final float TEXT_SCALE- See Also:
-
minecraft
-
raidCenters
-
-
Constructor Details
-
RaidDebugRenderer
-
-
Method Details
-
setRaidCenters
-
render
public void render(PoseStack poseStack, MultiBufferSource bufferSource, double camX, double camY, double camZ) - Specified by:
render
in interfaceDebugRenderer.SimpleDebugRenderer
-
highlightRaidCenter
private static void highlightRaidCenter(PoseStack poseStack, MultiBufferSource buffer, BlockPos pos) -
renderTextOverBlock
private static void renderTextOverBlock(PoseStack poseStack, MultiBufferSource buffer, String text, BlockPos pos, int color) -
getCamera
-