Class BeeDebugRenderer
java.lang.Object
net.minecraft.client.render.debug.BeeDebugRenderer
- All Implemented Interfaces:
DebugRenderer.Renderer
@Environment(CLIENT) public class BeeDebugRenderer extends Object implements DebugRenderer.Renderer
- Mappings:
Namespace Name official ekn
intermediary net/minecraft/class_4703
named net/minecraft/client/render/debug/BeeDebugRenderer
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BeeDebugRenderer.Bee
static class
BeeDebugRenderer.Hive
-
Field Summary
Fields Modifier and Type Field Description private Map<UUID,BeeDebugRenderer.Bee>
bees
private MinecraftClient
client
private Map<BlockPos,BeeDebugRenderer.Hive>
hives
private UUID
targetedEntity
-
Constructor Summary
Constructors Constructor Description BeeDebugRenderer(MinecraftClient client)
-
Method Summary
Modifier and Type Method Description void
addBee(BeeDebugRenderer.Bee bee)
void
addHive(BeeDebugRenderer.Hive hive)
void
clear()
private void
drawBee(BeeDebugRenderer.Bee bee)
private static void
drawBox(BlockPos pos, float expand, float red, float green, float blue, float alpha)
private void
drawFlowers()
private static void
drawHive(BlockPos pos)
private void
drawHiveBees(BlockPos pos, List<String> bees)
private void
drawHiveInfo(BeeDebugRenderer.Hive hive, Collection<UUID> blacklistingBees)
private void
drawPath(BeeDebugRenderer.Bee bee)
private static void
drawString(String string, BeeDebugRenderer.Hive hive, int line, int color)
private static void
drawString(String string, BlockPos pos, int line, int color)
private static void
drawString(Position pos, int line, String string, int color, float size)
private Map<BlockPos,List<String>>
getBeesByHive()
private Collection<UUID>
getBeesForHive(BlockPos hivePos)
private Map<BlockPos,Set<UUID>>
getBlacklistingBees()
private Camera
getCameraPos()
private String
getPositionString(BeeDebugRenderer.Bee bee, BlockPos pos)
private boolean
isInRange(BeeDebugRenderer.Bee bee)
private boolean
isTargeted(BeeDebugRenderer.Bee bee)
private void
removeInvalidBees()
private void
removeOutdatedHives()
private void
render()
void
render(MatrixStack matrices, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ)
private static String
toString(Collection<UUID> bees)
private void
updateTargetedEntity()
-
Field Details
-
client
- Mappings:
Namespace Name Mixin selector official a
Lekn;a:Ldqk;
intermediary field_21532
Lnet/minecraft/class_4703;field_21532:Lnet/minecraft/class_310;
named client
Lnet/minecraft/client/render/debug/BeeDebugRenderer;client:Lnet/minecraft/client/MinecraftClient;
-
hives
- Mappings:
Namespace Name Mixin selector official b
Lekn;b:Ljava/util/Map;
intermediary field_21533
Lnet/minecraft/class_4703;field_21533:Ljava/util/Map;
named hives
Lnet/minecraft/client/render/debug/BeeDebugRenderer;hives:Ljava/util/Map;
-
bees
- Mappings:
Namespace Name Mixin selector official c
Lekn;c:Ljava/util/Map;
intermediary field_21534
Lnet/minecraft/class_4703;field_21534:Ljava/util/Map;
named bees
Lnet/minecraft/client/render/debug/BeeDebugRenderer;bees:Ljava/util/Map;
-
targetedEntity
- Mappings:
Namespace Name Mixin selector official d
Lekn;d:Ljava/util/UUID;
intermediary field_21535
Lnet/minecraft/class_4703;field_21535:Ljava/util/UUID;
named targetedEntity
Lnet/minecraft/client/render/debug/BeeDebugRenderer;targetedEntity:Ljava/util/UUID;
-
-
Constructor Details
-
BeeDebugRenderer
- Mappings:
Namespace Name Mixin selector official <init>
Lekn;<init>(Ldqk;)V
intermediary <init>
Lnet/minecraft/class_4703;<init>(Lnet/minecraft/class_310;)V
named <init>
Lnet/minecraft/client/render/debug/BeeDebugRenderer;<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
-
addHive
- Mappings:
Namespace Name Mixin selector official a
Lekn;a(Lekn$b;)V
intermediary method_23807
Lnet/minecraft/class_4703;method_23807(Lnet/minecraft/class_4703$class_4705;)V
named addHive
Lnet/minecraft/client/render/debug/BeeDebugRenderer;addHive(Lnet/minecraft/client/render/debug/BeeDebugRenderer$Hive;)V
-
addBee
- Mappings:
Namespace Name Mixin selector official a
Lekn;a(Lekn$a;)V
intermediary method_23805
Lnet/minecraft/class_4703;method_23805(Lnet/minecraft/class_4703$class_5243;)V
named addBee
Lnet/minecraft/client/render/debug/BeeDebugRenderer;addBee(Lnet/minecraft/client/render/debug/BeeDebugRenderer$Bee;)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
-
removeInvalidBees
private void removeInvalidBees()- Mappings:
Namespace Name Mixin selector official b
Lekn;b()V
intermediary method_23952
Lnet/minecraft/class_4703;method_23952()V
named removeInvalidBees
Lnet/minecraft/client/render/debug/BeeDebugRenderer;removeInvalidBees()V
-
removeOutdatedHives
private void removeOutdatedHives()- Mappings:
Namespace Name Mixin selector official c
Lekn;c()V
intermediary method_23819
Lnet/minecraft/class_4703;method_23819()V
named removeOutdatedHives
Lnet/minecraft/client/render/debug/BeeDebugRenderer;removeOutdatedHives()V
-
render
private void render()- Mappings:
Namespace Name Mixin selector official d
Lekn;d()V
intermediary method_23823
Lnet/minecraft/class_4703;method_23823()V
named render
Lnet/minecraft/client/render/debug/BeeDebugRenderer;render()V
-
getBlacklistingBees
- Mappings:
Namespace Name Mixin selector official e
Lekn;e()Ljava/util/Map;
intermediary method_24084
Lnet/minecraft/class_4703;method_24084()Ljava/util/Map;
named getBlacklistingBees
Lnet/minecraft/client/render/debug/BeeDebugRenderer;getBlacklistingBees()Ljava/util/Map;
-
drawFlowers
private void drawFlowers()- Mappings:
Namespace Name Mixin selector official f
Lekn;f()V
intermediary method_23826
Lnet/minecraft/class_4703;method_23826()V
named drawFlowers
Lnet/minecraft/client/render/debug/BeeDebugRenderer;drawFlowers()V
-
toString
- Mappings:
Namespace Name Mixin selector official a
Lekn;a(Ljava/util/Collection;)Ljava/lang/String;
intermediary method_23825
Lnet/minecraft/class_4703;method_23825(Ljava/util/Collection;)Ljava/lang/String;
named toString
Lnet/minecraft/client/render/debug/BeeDebugRenderer;toString(Ljava/util/Collection;)Ljava/lang/String;
-
drawHive
- Mappings:
Namespace Name Mixin selector official a
Lekn;a(Lfx;)V
intermediary method_23808
Lnet/minecraft/class_4703;method_23808(Lnet/minecraft/class_2338;)V
named drawHive
Lnet/minecraft/client/render/debug/BeeDebugRenderer;drawHive(Lnet/minecraft/util/math/BlockPos;)V
-
drawHiveBees
- Mappings:
Namespace Name Mixin selector official a
Lekn;a(Lfx;Ljava/util/List;)V
intermediary method_23813
Lnet/minecraft/class_4703;method_23813(Lnet/minecraft/class_2338;Ljava/util/List;)V
named drawHiveBees
Lnet/minecraft/client/render/debug/BeeDebugRenderer;drawHiveBees(Lnet/minecraft/util/math/BlockPos;Ljava/util/List;)V
-
drawBox
private static void drawBox(BlockPos pos, float expand, float red, float green, float blue, float alpha)- Mappings:
Namespace Name Mixin selector official a
Lekn;a(Lfx;FFFFF)V
intermediary method_23809
Lnet/minecraft/class_4703;method_23809(Lnet/minecraft/class_2338;FFFFF)V
named drawBox
Lnet/minecraft/client/render/debug/BeeDebugRenderer;drawBox(Lnet/minecraft/util/math/BlockPos;FFFFF)V
-
drawHiveInfo
- Mappings:
Namespace Name Mixin selector official a
Lekn;a(Lekn$b;Ljava/util/Collection;)V
intermediary method_23821
Lnet/minecraft/class_4703;method_23821(Lnet/minecraft/class_4703$class_4705;Ljava/util/Collection;)V
named drawHiveInfo
Lnet/minecraft/client/render/debug/BeeDebugRenderer;drawHiveInfo(Lnet/minecraft/client/render/debug/BeeDebugRenderer$Hive;Ljava/util/Collection;)V
-
drawPath
- Mappings:
Namespace Name Mixin selector official b
Lekn;b(Lekn$a;)V
intermediary method_23820
Lnet/minecraft/class_4703;method_23820(Lnet/minecraft/class_4703$class_5243;)V
named drawPath
Lnet/minecraft/client/render/debug/BeeDebugRenderer;drawPath(Lnet/minecraft/client/render/debug/BeeDebugRenderer$Bee;)V
-
drawBee
- Mappings:
Namespace Name Mixin selector official c
Lekn;c(Lekn$a;)V
intermediary method_23824
Lnet/minecraft/class_4703;method_23824(Lnet/minecraft/class_4703$class_5243;)V
named drawBee
Lnet/minecraft/client/render/debug/BeeDebugRenderer;drawBee(Lnet/minecraft/client/render/debug/BeeDebugRenderer$Bee;)V
-
drawString
- Mappings:
Namespace Name Mixin selector official a
Lekn;a(Ljava/lang/String;Lekn$b;II)V
intermediary method_23815
Lnet/minecraft/class_4703;method_23815(Ljava/lang/String;Lnet/minecraft/class_4703$class_4705;II)V
named drawString
Lnet/minecraft/client/render/debug/BeeDebugRenderer;drawString(Ljava/lang/String;Lnet/minecraft/client/render/debug/BeeDebugRenderer$Hive;II)V
-
drawString
- Mappings:
Namespace Name Mixin selector official a
Lekn;a(Ljava/lang/String;Lfx;II)V
intermediary method_23816
Lnet/minecraft/class_4703;method_23816(Ljava/lang/String;Lnet/minecraft/class_2338;II)V
named drawString
Lnet/minecraft/client/render/debug/BeeDebugRenderer;drawString(Ljava/lang/String;Lnet/minecraft/util/math/BlockPos;II)V
-
drawString
- Mappings:
Namespace Name Mixin selector official a
Lekn;a(Lgk;ILjava/lang/String;IF)V
intermediary method_23814
Lnet/minecraft/class_4703;method_23814(Lnet/minecraft/class_2374;ILjava/lang/String;IF)V
named drawString
Lnet/minecraft/client/render/debug/BeeDebugRenderer;drawString(Lnet/minecraft/util/math/Position;ILjava/lang/String;IF)V
-
getCameraPos
- Mappings:
Namespace Name Mixin selector official g
Lekn;g()Ldpv;
intermediary method_23828
Lnet/minecraft/class_4703;method_23828()Lnet/minecraft/class_4184;
named getCameraPos
Lnet/minecraft/client/render/debug/BeeDebugRenderer;getCameraPos()Lnet/minecraft/client/render/Camera;
-
getPositionString
- Mappings:
Namespace Name Mixin selector official a
Lekn;a(Lekn$a;Lfx;)Ljava/lang/String;
intermediary method_23806
Lnet/minecraft/class_4703;method_23806(Lnet/minecraft/class_4703$class_5243;Lnet/minecraft/class_2338;)Ljava/lang/String;
named getPositionString
Lnet/minecraft/client/render/debug/BeeDebugRenderer;getPositionString(Lnet/minecraft/client/render/debug/BeeDebugRenderer$Bee;Lnet/minecraft/util/math/BlockPos;)Ljava/lang/String;
-
isTargeted
- Mappings:
Namespace Name Mixin selector official d
Lekn;d(Lekn$a;)Z
intermediary method_23827
Lnet/minecraft/class_4703;method_23827(Lnet/minecraft/class_4703$class_5243;)Z
named isTargeted
Lnet/minecraft/client/render/debug/BeeDebugRenderer;isTargeted(Lnet/minecraft/client/render/debug/BeeDebugRenderer$Bee;)Z
-
isInRange
- Mappings:
Namespace Name Mixin selector official e
Lekn;e(Lekn$a;)Z
intermediary method_23829
Lnet/minecraft/class_4703;method_23829(Lnet/minecraft/class_4703$class_5243;)Z
named isInRange
Lnet/minecraft/client/render/debug/BeeDebugRenderer;isInRange(Lnet/minecraft/client/render/debug/BeeDebugRenderer$Bee;)Z
-
getBeesForHive
- Mappings:
Namespace Name Mixin selector official b
Lekn;b(Lfx;)Ljava/util/Collection;
intermediary method_23822
Lnet/minecraft/class_4703;method_23822(Lnet/minecraft/class_2338;)Ljava/util/Collection;
named getBeesForHive
Lnet/minecraft/client/render/debug/BeeDebugRenderer;getBeesForHive(Lnet/minecraft/util/math/BlockPos;)Ljava/util/Collection;
-
getBeesByHive
- Mappings:
Namespace Name Mixin selector official h
Lekn;h()Ljava/util/Map;
intermediary method_23830
Lnet/minecraft/class_4703;method_23830()Ljava/util/Map;
named getBeesByHive
Lnet/minecraft/client/render/debug/BeeDebugRenderer;getBeesByHive()Ljava/util/Map;
-
updateTargetedEntity
private void updateTargetedEntity()- Mappings:
Namespace Name Mixin selector official i
Lekn;i()V
intermediary method_23832
Lnet/minecraft/class_4703;method_23832()V
named updateTargetedEntity
Lnet/minecraft/client/render/debug/BeeDebugRenderer;updateTargetedEntity()V
-