Class VillageDebugRenderer
java.lang.Object
net.minecraft.client.render.debug.VillageDebugRenderer
- All Implemented Interfaces:
DebugRenderer.Renderer
@Environment(CLIENT) public class VillageDebugRenderer extends Object implements DebugRenderer.Renderer
- Mappings:
Namespace Name official eko
intermediary net/minecraft/class_4207
named net/minecraft/client/render/debug/VillageDebugRenderer
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VillageDebugRenderer.Brain
static class
VillageDebugRenderer.PointOfInterest
-
Field Summary
Fields Modifier and Type Field Description private Map<UUID,VillageDebugRenderer.Brain>
brains
private MinecraftClient
client
private static Logger
LOGGER
private Map<BlockPos,VillageDebugRenderer.PointOfInterest>
pointsOfInterest
private UUID
targetedEntity
-
Constructor Summary
Constructors Constructor Description VillageDebugRenderer(MinecraftClient client)
-
Method Summary
Modifier and Type Method Description void
addBrain(VillageDebugRenderer.Brain brain)
void
addPointOfInterest(VillageDebugRenderer.PointOfInterest poi)
void
clear()
private void
drawBrain(VillageDebugRenderer.Brain brain, double cameraX, double cameraY, double cameraZ)
private void
drawGhostPointOfInterest(BlockPos pos, List<String> brains)
private void
drawPath(VillageDebugRenderer.Brain brain, double cameraX, double cameraY, double cameraZ)
private static void
drawPointOfInterest(BlockPos pos)
private void
drawPointOfInterestInfo(VillageDebugRenderer.PointOfInterest pointOfInterest)
private static void
drawString(String string, VillageDebugRenderer.PointOfInterest pointOfInterest, int offsetY, int color)
private static void
drawString(String string, BlockPos pos, int offsetY, int color)
private static void
drawString(Position pos, int offsetY, String string, int color, float size)
private Collection<UUID>
getBrains(BlockPos pointOfInterest)
private Map<BlockPos,List<String>>
getGhostPointsOfInterest()
private Set<String>
getVillagerNames(VillageDebugRenderer.PointOfInterest pointOfInterest)
private boolean
isClose(VillageDebugRenderer.Brain brain)
private boolean
isTargeted(VillageDebugRenderer.Brain brain)
private void
method_23135(double double2, double double3, double double4)
private void
method_24805()
private Set<String>
method_29385(VillageDebugRenderer.PointOfInterest pointOfInterest)
private Collection<UUID>
method_29386(BlockPos blockPos)
void
removePointOfInterest(BlockPos pos)
void
render(MatrixStack matrices, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ)
void
setFreeTicketCount(BlockPos pos, int freeTicketCount)
private void
updateTargetedEntity()
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Leko;a:Lorg/apache/logging/log4j/Logger;
intermediary field_18920
Lnet/minecraft/class_4207;field_18920:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/client/render/debug/VillageDebugRenderer;LOGGER:Lorg/apache/logging/log4j/Logger;
-
client
- Mappings:
Namespace Name Mixin selector official b
Leko;b:Ldqk;
intermediary field_18786
Lnet/minecraft/class_4207;field_18786:Lnet/minecraft/class_310;
named client
Lnet/minecraft/client/render/debug/VillageDebugRenderer;client:Lnet/minecraft/client/MinecraftClient;
-
pointsOfInterest
- Mappings:
Namespace Name Mixin selector official c
Leko;c:Ljava/util/Map;
intermediary field_18787
Lnet/minecraft/class_4207;field_18787:Ljava/util/Map;
named pointsOfInterest
Lnet/minecraft/client/render/debug/VillageDebugRenderer;pointsOfInterest:Ljava/util/Map;
-
brains
- Mappings:
Namespace Name Mixin selector official d
Leko;d:Ljava/util/Map;
intermediary field_18921
Lnet/minecraft/class_4207;field_18921:Ljava/util/Map;
named brains
Lnet/minecraft/client/render/debug/VillageDebugRenderer;brains:Ljava/util/Map;
-
targetedEntity
- Mappings:
Namespace Name Mixin selector official e
Leko;e:Ljava/util/UUID;
intermediary field_18922
Lnet/minecraft/class_4207;field_18922:Ljava/util/UUID;
named targetedEntity
Lnet/minecraft/client/render/debug/VillageDebugRenderer;targetedEntity:Ljava/util/UUID;
-
-
Constructor Details
-
VillageDebugRenderer
- Mappings:
Namespace Name Mixin selector official <init>
Leko;<init>(Ldqk;)V
intermediary <init>
Lnet/minecraft/class_4207;<init>(Lnet/minecraft/class_310;)V
named <init>
Lnet/minecraft/client/render/debug/VillageDebugRenderer;<init>(Lnet/minecraft/client/MinecraftClient;)V
-
-
Method Details
-
clear
public void clear()- Specified by:
clear
in interfaceDebugRenderer.Renderer
- Mappings:
Namespace Name Mixin selector official a
Lekt$a;a()V
intermediary method_20414
Lnet/minecraft/class_863$class_864;method_20414()V
named clear
Lnet/minecraft/client/render/debug/DebugRenderer$Renderer;clear()V
-
addPointOfInterest
- Mappings:
Namespace Name Mixin selector official a
Leko;a(Leko$b;)V
intermediary method_19701
Lnet/minecraft/class_4207;method_19701(Lnet/minecraft/class_4207$class_4233;)V
named addPointOfInterest
Lnet/minecraft/client/render/debug/VillageDebugRenderer;addPointOfInterest(Lnet/minecraft/client/render/debug/VillageDebugRenderer$PointOfInterest;)V
-
removePointOfInterest
- Mappings:
Namespace Name Mixin selector official a
Leko;a(Lfx;)V
intermediary method_19434
Lnet/minecraft/class_4207;method_19434(Lnet/minecraft/class_2338;)V
named removePointOfInterest
Lnet/minecraft/client/render/debug/VillageDebugRenderer;removePointOfInterest(Lnet/minecraft/util/math/BlockPos;)V
-
setFreeTicketCount
- Mappings:
Namespace Name Mixin selector official a
Leko;a(Lfx;I)V
intermediary method_19702
Lnet/minecraft/class_4207;method_19702(Lnet/minecraft/class_2338;I)V
named setFreeTicketCount
Lnet/minecraft/client/render/debug/VillageDebugRenderer;setFreeTicketCount(Lnet/minecraft/util/math/BlockPos;I)V
-
addBrain
- Mappings:
Namespace Name Mixin selector official a
Leko;a(Leko$a;)V
intermediary method_19432
Lnet/minecraft/class_4207;method_19432(Lnet/minecraft/class_4207$class_4232;)V
named addBrain
Lnet/minecraft/client/render/debug/VillageDebugRenderer;addBrain(Lnet/minecraft/client/render/debug/VillageDebugRenderer$Brain;)V
-
render
public void render(MatrixStack matrices, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ)- Specified by:
render
in interfaceDebugRenderer.Renderer
- Mappings:
Namespace Name Mixin selector official a
Lekt$a;a(Ldlr;Lehq;DDD)V
intermediary method_23109
Lnet/minecraft/class_863$class_864;method_23109(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;DDD)V
named render
Lnet/minecraft/client/render/debug/DebugRenderer$Renderer;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;DDD)V
-
method_24805
private void method_24805()- Mappings:
Namespace Name Mixin selector official b
Leko;b()V
intermediary method_24805
Lnet/minecraft/class_4207;method_24805()V
named method_24805
Lnet/minecraft/client/render/debug/VillageDebugRenderer;method_24805()V
-
method_23135
private void method_23135(double double2, double double3, double double4)- Mappings:
Namespace Name Mixin selector official a
Leko;a(DDD)V
intermediary method_23135
Lnet/minecraft/class_4207;method_23135(DDD)V
named method_23135
Lnet/minecraft/client/render/debug/VillageDebugRenderer;method_23135(DDD)V
-
drawPointOfInterest
- Mappings:
Namespace Name Mixin selector official b
Leko;b(Lfx;)V
intermediary method_23138
Lnet/minecraft/class_4207;method_23138(Lnet/minecraft/class_2338;)V
named drawPointOfInterest
Lnet/minecraft/client/render/debug/VillageDebugRenderer;drawPointOfInterest(Lnet/minecraft/util/math/BlockPos;)V
-
drawGhostPointOfInterest
- Mappings:
Namespace Name Mixin selector official a
Leko;a(Lfx;Ljava/util/List;)V
intermediary method_23131
Lnet/minecraft/class_4207;method_23131(Lnet/minecraft/class_2338;Ljava/util/List;)V
named drawGhostPointOfInterest
Lnet/minecraft/client/render/debug/VillageDebugRenderer;drawGhostPointOfInterest(Lnet/minecraft/util/math/BlockPos;Ljava/util/List;)V
-
drawPointOfInterestInfo
- Mappings:
Namespace Name Mixin selector official b
Leko;b(Leko$b;)V
intermediary method_23137
Lnet/minecraft/class_4207;method_23137(Lnet/minecraft/class_4207$class_4233;)V
named drawPointOfInterestInfo
Lnet/minecraft/client/render/debug/VillageDebugRenderer;drawPointOfInterestInfo(Lnet/minecraft/client/render/debug/VillageDebugRenderer$PointOfInterest;)V
-
drawPath
private void drawPath(VillageDebugRenderer.Brain brain, double cameraX, double cameraY, double cameraZ)- Mappings:
Namespace Name Mixin selector official a
Leko;a(Leko$a;DDD)V
intermediary method_23136
Lnet/minecraft/class_4207;method_23136(Lnet/minecraft/class_4207$class_4232;DDD)V
named drawPath
Lnet/minecraft/client/render/debug/VillageDebugRenderer;drawPath(Lnet/minecraft/client/render/debug/VillageDebugRenderer$Brain;DDD)V
-
drawBrain
private void drawBrain(VillageDebugRenderer.Brain brain, double cameraX, double cameraY, double cameraZ)- Mappings:
Namespace Name Mixin selector official b
Leko;b(Leko$a;DDD)V
intermediary method_23140
Lnet/minecraft/class_4207;method_23140(Lnet/minecraft/class_4207$class_4232;DDD)V
named drawBrain
Lnet/minecraft/client/render/debug/VillageDebugRenderer;drawBrain(Lnet/minecraft/client/render/debug/VillageDebugRenderer$Brain;DDD)V
-
drawString
private static void drawString(String string, VillageDebugRenderer.PointOfInterest pointOfInterest, int offsetY, int color)- Mappings:
Namespace Name Mixin selector official a
Leko;a(Ljava/lang/String;Leko$b;II)V
intermediary method_23133
Lnet/minecraft/class_4207;method_23133(Ljava/lang/String;Lnet/minecraft/class_4207$class_4233;II)V
named drawString
Lnet/minecraft/client/render/debug/VillageDebugRenderer;drawString(Ljava/lang/String;Lnet/minecraft/client/render/debug/VillageDebugRenderer$PointOfInterest;II)V
-
drawString
- Mappings:
Namespace Name Mixin selector official a
Leko;a(Ljava/lang/String;Lfx;II)V
intermediary method_23134
Lnet/minecraft/class_4207;method_23134(Ljava/lang/String;Lnet/minecraft/class_2338;II)V
named drawString
Lnet/minecraft/client/render/debug/VillageDebugRenderer;drawString(Ljava/lang/String;Lnet/minecraft/util/math/BlockPos;II)V
-
drawString
- Mappings:
Namespace Name Mixin selector official a
Leko;a(Lgk;ILjava/lang/String;IF)V
intermediary method_23132
Lnet/minecraft/class_4207;method_23132(Lnet/minecraft/class_2374;ILjava/lang/String;IF)V
named drawString
Lnet/minecraft/client/render/debug/VillageDebugRenderer;drawString(Lnet/minecraft/util/math/Position;ILjava/lang/String;IF)V
-
getVillagerNames
- Mappings:
Namespace Name Mixin selector official c
Leko;c(Leko$b;)Ljava/util/Set;
intermediary method_23141
Lnet/minecraft/class_4207;method_23141(Lnet/minecraft/class_4207$class_4233;)Ljava/util/Set;
named getVillagerNames
Lnet/minecraft/client/render/debug/VillageDebugRenderer;getVillagerNames(Lnet/minecraft/client/render/debug/VillageDebugRenderer$PointOfInterest;)Ljava/util/Set;
-
method_29385
- Mappings:
Namespace Name Mixin selector official d
Leko;d(Leko$b;)Ljava/util/Set;
intermediary method_29385
Lnet/minecraft/class_4207;method_29385(Lnet/minecraft/class_4207$class_4233;)Ljava/util/Set;
named method_29385
Lnet/minecraft/client/render/debug/VillageDebugRenderer;method_29385(Lnet/minecraft/client/render/debug/VillageDebugRenderer$PointOfInterest;)Ljava/util/Set;
-
isTargeted
- Mappings:
Namespace Name Mixin selector official b
Leko;b(Leko$a;)Z
intermediary method_23145
Lnet/minecraft/class_4207;method_23145(Lnet/minecraft/class_4207$class_4232;)Z
named isTargeted
Lnet/minecraft/client/render/debug/VillageDebugRenderer;isTargeted(Lnet/minecraft/client/render/debug/VillageDebugRenderer$Brain;)Z
-
isClose
- Mappings:
Namespace Name Mixin selector official c
Leko;c(Leko$a;)Z
intermediary method_23147
Lnet/minecraft/class_4207;method_23147(Lnet/minecraft/class_4207$class_4232;)Z
named isClose
Lnet/minecraft/client/render/debug/VillageDebugRenderer;isClose(Lnet/minecraft/client/render/debug/VillageDebugRenderer$Brain;)Z
-
getBrains
- Mappings:
Namespace Name Mixin selector official c
Leko;c(Lfx;)Ljava/util/Collection;
intermediary method_23142
Lnet/minecraft/class_4207;method_23142(Lnet/minecraft/class_2338;)Ljava/util/Collection;
named getBrains
Lnet/minecraft/client/render/debug/VillageDebugRenderer;getBrains(Lnet/minecraft/util/math/BlockPos;)Ljava/util/Collection;
-
method_29386
- Mappings:
Namespace Name Mixin selector official d
Leko;d(Lfx;)Ljava/util/Collection;
intermediary method_29386
Lnet/minecraft/class_4207;method_29386(Lnet/minecraft/class_2338;)Ljava/util/Collection;
named method_29386
Lnet/minecraft/client/render/debug/VillageDebugRenderer;method_29386(Lnet/minecraft/util/math/BlockPos;)Ljava/util/Collection;
-
getGhostPointsOfInterest
- Mappings:
Namespace Name Mixin selector official c
Leko;c()Ljava/util/Map;
intermediary method_23144
Lnet/minecraft/class_4207;method_23144()Ljava/util/Map;
named getGhostPointsOfInterest
Lnet/minecraft/client/render/debug/VillageDebugRenderer;getGhostPointsOfInterest()Ljava/util/Map;
-
updateTargetedEntity
private void updateTargetedEntity()- Mappings:
Namespace Name Mixin selector official d
Leko;d()V
intermediary method_23146
Lnet/minecraft/class_4207;method_23146()V
named updateTargetedEntity
Lnet/minecraft/client/render/debug/VillageDebugRenderer;updateTargetedEntity()V
-