Class BeeDebugRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.debug.BeeDebugRenderer
-
- All Implemented Interfaces:
DebugRenderer.IDebugRenderer
public class BeeDebugRenderer extends java.lang.Object implements DebugRenderer.IDebugRenderer
-
-
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 java.util.Map<java.util.UUID,BeeDebugRenderer.Bee>
beeInfosPerEntity
private java.util.Map<BlockPos,BeeDebugRenderer.Hive>
hives
private java.util.UUID
lastLookedAtUuid
private Minecraft
minecraft
-
Constructor Summary
Constructors Constructor Description BeeDebugRenderer(Minecraft p_i226027_1_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addOrUpdateBeeInfo(BeeDebugRenderer.Bee p_228964_1_)
void
addOrUpdateHiveInfo(BeeDebugRenderer.Hive p_228966_1_)
void
clear()
private void
clearRemovedBees()
private void
clearRemovedHives()
private java.util.Map<BlockPos,java.util.Set<java.util.UUID>>
createHiveBlacklistMap()
private void
doRender()
private static java.lang.String
getBeeUuidsAsString(java.util.Collection<java.util.UUID> p_228977_0_)
private ActiveRenderInfo
getCamera()
private java.util.Map<BlockPos,java.util.List<java.lang.String>>
getGhostHives()
private java.util.Collection<java.util.UUID>
getHiveMembers(BlockPos p_228983_1_)
private java.lang.String
getPosDescription(BeeDebugRenderer.Bee p_228965_1_, BlockPos p_228965_2_)
private static void
highlightHive(BlockPos p_228968_0_)
private boolean
isBeeSelected(BeeDebugRenderer.Bee p_228990_1_)
private boolean
isPlayerCloseEnoughToMob(BeeDebugRenderer.Bee p_228992_1_)
void
render(MatrixStack p_225619_1_, IRenderTypeBuffer p_225619_2_, double p_225619_3_, double p_225619_5_, double p_225619_7_)
private void
renderBeeInfo(BeeDebugRenderer.Bee p_228988_1_)
private void
renderFlowerInfos()
private void
renderGhostHive(BlockPos p_228972_1_, java.util.List<java.lang.String> p_228972_2_)
private void
renderHiveInfo(BeeDebugRenderer.Hive p_228967_1_, java.util.Collection<java.util.UUID> p_228967_2_)
private void
renderPath(BeeDebugRenderer.Bee p_228982_1_)
private static void
renderTextOverHive(java.lang.String p_228975_0_, BeeDebugRenderer.Hive p_228975_1_, int p_228975_2_, int p_228975_3_)
private static void
renderTextOverMob(IPosition p_228974_0_, int p_228974_1_, java.lang.String p_228974_2_, int p_228974_3_, float p_228974_4_)
private static void
renderTextOverPos(java.lang.String p_228976_0_, BlockPos p_228976_1_, int p_228976_2_, int p_228976_3_)
private static void
renderTransparentFilledBox(BlockPos p_228969_0_, float p_228969_1_, float p_228969_2_, float p_228969_3_, float p_228969_4_, float p_228969_5_)
private void
updateLastLookedAtUuid()
-
-
-
Field Detail
-
minecraft
private final Minecraft minecraft
-
hives
private final java.util.Map<BlockPos,BeeDebugRenderer.Hive> hives
-
beeInfosPerEntity
private final java.util.Map<java.util.UUID,BeeDebugRenderer.Bee> beeInfosPerEntity
-
lastLookedAtUuid
private java.util.UUID lastLookedAtUuid
-
-
Constructor Detail
-
BeeDebugRenderer
public BeeDebugRenderer(Minecraft p_i226027_1_)
-
-
Method Detail
-
clear
public void clear()
- Specified by:
clear
in interfaceDebugRenderer.IDebugRenderer
-
addOrUpdateHiveInfo
public void addOrUpdateHiveInfo(BeeDebugRenderer.Hive p_228966_1_)
-
addOrUpdateBeeInfo
public void addOrUpdateBeeInfo(BeeDebugRenderer.Bee p_228964_1_)
-
render
public void render(MatrixStack p_225619_1_, IRenderTypeBuffer p_225619_2_, double p_225619_3_, double p_225619_5_, double p_225619_7_)
- Specified by:
render
in interfaceDebugRenderer.IDebugRenderer
-
clearRemovedBees
private void clearRemovedBees()
-
clearRemovedHives
private void clearRemovedHives()
-
doRender
private void doRender()
-
createHiveBlacklistMap
private java.util.Map<BlockPos,java.util.Set<java.util.UUID>> createHiveBlacklistMap()
-
renderFlowerInfos
private void renderFlowerInfos()
-
getBeeUuidsAsString
private static java.lang.String getBeeUuidsAsString(java.util.Collection<java.util.UUID> p_228977_0_)
-
highlightHive
private static void highlightHive(BlockPos p_228968_0_)
-
renderGhostHive
private void renderGhostHive(BlockPos p_228972_1_, java.util.List<java.lang.String> p_228972_2_)
-
renderTransparentFilledBox
private static void renderTransparentFilledBox(BlockPos p_228969_0_, float p_228969_1_, float p_228969_2_, float p_228969_3_, float p_228969_4_, float p_228969_5_)
-
renderHiveInfo
private void renderHiveInfo(BeeDebugRenderer.Hive p_228967_1_, java.util.Collection<java.util.UUID> p_228967_2_)
-
renderPath
private void renderPath(BeeDebugRenderer.Bee p_228982_1_)
-
renderBeeInfo
private void renderBeeInfo(BeeDebugRenderer.Bee p_228988_1_)
-
renderTextOverHive
private static void renderTextOverHive(java.lang.String p_228975_0_, BeeDebugRenderer.Hive p_228975_1_, int p_228975_2_, int p_228975_3_)
-
renderTextOverPos
private static void renderTextOverPos(java.lang.String p_228976_0_, BlockPos p_228976_1_, int p_228976_2_, int p_228976_3_)
-
renderTextOverMob
private static void renderTextOverMob(IPosition p_228974_0_, int p_228974_1_, java.lang.String p_228974_2_, int p_228974_3_, float p_228974_4_)
-
getCamera
private ActiveRenderInfo getCamera()
-
getPosDescription
private java.lang.String getPosDescription(BeeDebugRenderer.Bee p_228965_1_, BlockPos p_228965_2_)
-
isBeeSelected
private boolean isBeeSelected(BeeDebugRenderer.Bee p_228990_1_)
-
isPlayerCloseEnoughToMob
private boolean isPlayerCloseEnoughToMob(BeeDebugRenderer.Bee p_228992_1_)
-
getHiveMembers
private java.util.Collection<java.util.UUID> getHiveMembers(BlockPos p_228983_1_)
-
getGhostHives
private java.util.Map<BlockPos,java.util.List<java.lang.String>> getGhostHives()
-
updateLastLookedAtUuid
private void updateLastLookedAtUuid()
-
-