Class BrainDebugRenderer
java.lang.Object
net.minecraft.client.renderer.debug.BrainDebugRenderer
- All Implemented Interfaces:
DebugRenderer.SimpleDebugRenderer
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map<UUID,
BrainDebugRenderer.BrainDump> private static final int
private static final int
private static final int
private UUID
private static final org.slf4j.Logger
private static final int
private static final int
private static final int
private final Minecraft
private static final int
private static final int
private final Map<BlockPos,
BrainDebugRenderer.PoiInfo> private static final int
private static final boolean
private static final boolean
private static final boolean
private static final boolean
private static final boolean
private static final boolean
private static final boolean
private static final boolean
private static final boolean
private static final boolean
private static final boolean
private static final boolean
private static final boolean
private static final boolean
private static final boolean
private static final boolean
private static final boolean
private static final boolean
private static final boolean
private static final boolean
private static final float
private static final int
private static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addOrUpdateBrainDump
(BrainDebugRenderer.BrainDump p_113220_) void
addPoi
(BrainDebugRenderer.PoiInfo p_113227_) void
clear()
private void
private void
doRender
(double p_113203_, double p_113204_, double p_113205_) private Collection<UUID>
getPotentialTicketHolders
(BlockPos p_113290_) getTicketHolderNames
(BrainDebugRenderer.PoiInfo p_113283_) private Collection<UUID>
getTicketHolders
(BlockPos p_113285_) private static void
highlightPoi
(BlockPos p_113275_) private boolean
isMobSelected
(BrainDebugRenderer.BrainDump p_113266_) private boolean
void
removeBrainDump
(int p_173811_) void
void
render
(PoseStack p_113214_, MultiBufferSource p_113215_, double p_113216_, double p_113217_, double p_113218_) private void
renderBrainInfo
(BrainDebugRenderer.BrainDump p_113268_, double p_113269_, double p_113270_, double p_113271_) private void
renderGhostPoi
(BlockPos p_113244_, List<String> p_113245_) private void
renderPath
(BrainDebugRenderer.BrainDump p_113222_, double p_113223_, double p_113224_, double p_113225_) private void
renderPoiInfo
(BrainDebugRenderer.PoiInfo p_113273_) private static void
renderTextOverMob
(Position p_113247_, int p_113248_, String p_113249_, int p_113250_, float p_113251_) private static void
renderTextOverPoi
(String p_113253_, BrainDebugRenderer.PoiInfo p_113254_, int p_113255_, int p_113256_) private static void
renderTextOverPos
(String p_113258_, BlockPos p_113259_, int p_113260_, int p_113261_) void
setFreeTicketCount
(BlockPos p_113231_, int p_113232_) private void
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
SHOW_NAME_FOR_ALL
private static final boolean SHOW_NAME_FOR_ALL- See Also:
-
SHOW_PROFESSION_FOR_ALL
private static final boolean SHOW_PROFESSION_FOR_ALL- See Also:
-
SHOW_BEHAVIORS_FOR_ALL
private static final boolean SHOW_BEHAVIORS_FOR_ALL- See Also:
-
SHOW_ACTIVITIES_FOR_ALL
private static final boolean SHOW_ACTIVITIES_FOR_ALL- See Also:
-
SHOW_INVENTORY_FOR_ALL
private static final boolean SHOW_INVENTORY_FOR_ALL- See Also:
-
SHOW_GOSSIPS_FOR_ALL
private static final boolean SHOW_GOSSIPS_FOR_ALL- See Also:
-
SHOW_PATH_FOR_ALL
private static final boolean SHOW_PATH_FOR_ALL- See Also:
-
SHOW_HEALTH_FOR_ALL
private static final boolean SHOW_HEALTH_FOR_ALL- See Also:
-
SHOW_WANTS_GOLEM_FOR_ALL
private static final boolean SHOW_WANTS_GOLEM_FOR_ALL- See Also:
-
SHOW_NAME_FOR_SELECTED
private static final boolean SHOW_NAME_FOR_SELECTED- See Also:
-
SHOW_PROFESSION_FOR_SELECTED
private static final boolean SHOW_PROFESSION_FOR_SELECTED- See Also:
-
SHOW_BEHAVIORS_FOR_SELECTED
private static final boolean SHOW_BEHAVIORS_FOR_SELECTED- See Also:
-
SHOW_ACTIVITIES_FOR_SELECTED
private static final boolean SHOW_ACTIVITIES_FOR_SELECTED- See Also:
-
SHOW_MEMORIES_FOR_SELECTED
private static final boolean SHOW_MEMORIES_FOR_SELECTED- See Also:
-
SHOW_INVENTORY_FOR_SELECTED
private static final boolean SHOW_INVENTORY_FOR_SELECTED- See Also:
-
SHOW_GOSSIPS_FOR_SELECTED
private static final boolean SHOW_GOSSIPS_FOR_SELECTED- See Also:
-
SHOW_PATH_FOR_SELECTED
private static final boolean SHOW_PATH_FOR_SELECTED- See Also:
-
SHOW_HEALTH_FOR_SELECTED
private static final boolean SHOW_HEALTH_FOR_SELECTED- See Also:
-
SHOW_WANTS_GOLEM_FOR_SELECTED
private static final boolean SHOW_WANTS_GOLEM_FOR_SELECTED- See Also:
-
SHOW_POI_INFO
private static final boolean SHOW_POI_INFO- See Also:
-
MAX_RENDER_DIST_FOR_BRAIN_INFO
private static final int MAX_RENDER_DIST_FOR_BRAIN_INFO- See Also:
-
MAX_RENDER_DIST_FOR_POI_INFO
private static final int MAX_RENDER_DIST_FOR_POI_INFO- See Also:
-
MAX_TARGETING_DIST
private static final int MAX_TARGETING_DIST- See Also:
-
TEXT_SCALE
private static final float TEXT_SCALE- See Also:
-
WHITE
private static final int WHITE- See Also:
-
YELLOW
private static final int YELLOW- See Also:
-
CYAN
private static final int CYAN- See Also:
-
GREEN
private static final int GREEN- See Also:
-
GRAY
private static final int GRAY- See Also:
-
PINK
private static final int PINK- See Also:
-
RED
private static final int RED- See Also:
-
ORANGE
private static final int ORANGE- See Also:
-
minecraft
-
pois
-
brainDumpsPerEntity
-
lastLookedAtUuid
-
-
Constructor Details
-
BrainDebugRenderer
-
-
Method Details
-
clear
public void clear()- Specified by:
clear
in interfaceDebugRenderer.SimpleDebugRenderer
-
addPoi
-
removePoi
-
setFreeTicketCount
-
addOrUpdateBrainDump
-
removeBrainDump
public void removeBrainDump(int p_173811_) -
render
public void render(PoseStack p_113214_, MultiBufferSource p_113215_, double p_113216_, double p_113217_, double p_113218_) - Specified by:
render
in interfaceDebugRenderer.SimpleDebugRenderer
-
clearRemovedEntities
private void clearRemovedEntities() -
doRender
private void doRender(double p_113203_, double p_113204_, double p_113205_) -
highlightPoi
-
renderGhostPoi
-
renderPoiInfo
-
renderPath
private void renderPath(BrainDebugRenderer.BrainDump p_113222_, double p_113223_, double p_113224_, double p_113225_) -
renderBrainInfo
private void renderBrainInfo(BrainDebugRenderer.BrainDump p_113268_, double p_113269_, double p_113270_, double p_113271_) -
renderTextOverPoi
private static void renderTextOverPoi(String p_113253_, BrainDebugRenderer.PoiInfo p_113254_, int p_113255_, int p_113256_) -
renderTextOverPos
-
renderTextOverMob
-
getTicketHolderNames
-
getPotentialTicketHolderNames
-
isMobSelected
-
isPlayerCloseEnoughToMob
-
getTicketHolders
-
getPotentialTicketHolders
-
getGhostPois
-
updateLastLookedAtUuid
private void updateLastLookedAtUuid()
-