Class BrainDebugRenderer
java.lang.Object
net.minecraft.client.renderer.debug.BrainDebugRenderer
- All Implemented Interfaces:
DebugRenderer.SimpleDebugRenderer
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map<UUID,
BrainDebugPayload.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 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
(BrainDebugPayload.BrainDump p_294334_) void
addPoi
(BrainDebugRenderer.PoiInfo p_113227_) void
clear()
private void
private void
doRender
(PoseStack p_270747_, MultiBufferSource p_270289_, double p_270303_, double p_270416_, double p_270542_) private Collection<UUID>
getPotentialTicketHolders
(BlockPos p_113290_) getTicketHolderNames
(BrainDebugRenderer.PoiInfo p_113283_) private Collection<UUID>
getTicketHolders
(BlockPos p_113285_) private static void
highlightPoi
(PoseStack p_270066_, MultiBufferSource p_270965_, BlockPos p_270159_) private boolean
isMobSelected
(BrainDebugPayload.BrainDump p_296487_) 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
(PoseStack p_270145_, MultiBufferSource p_270489_, BrainDebugPayload.BrainDump p_294452_, double p_270922_, double p_270468_, double p_270838_) private void
renderGhostPoi
(PoseStack p_270206_, MultiBufferSource p_270976_, BlockPos p_270670_, List<String> p_270882_) private void
renderPath
(PoseStack p_270435_, MultiBufferSource p_270439_, BrainDebugPayload.BrainDump p_294227_, double p_270109_, double p_270342_, double p_270834_) private void
renderPoiInfo
(PoseStack p_270999_, MultiBufferSource p_270627_, BrainDebugRenderer.PoiInfo p_270986_) private static void
renderTextOverMob
(PoseStack p_270664_, MultiBufferSource p_270816_, Position p_270715_, int p_270126_, String p_270487_, int p_270218_, float p_270737_) private static void
renderTextOverPoi
(PoseStack p_270498_, MultiBufferSource p_270609_, String p_270070_, BrainDebugRenderer.PoiInfo p_270677_, int p_270143_, int p_271011_) private static void
renderTextOverPos
(PoseStack p_270640_, MultiBufferSource p_270809_, String p_270632_, BlockPos p_270082_, int p_270078_, int p_270440_) 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_ANGER_LEVEL_FOR_ALL
private static final boolean SHOW_ANGER_LEVEL_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_ANGER_LEVEL_FOR_SELECTED
private static final boolean SHOW_ANGER_LEVEL_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(PoseStack p_270747_, MultiBufferSource p_270289_, double p_270303_, double p_270416_, double p_270542_) -
highlightPoi
private static void highlightPoi(PoseStack p_270066_, MultiBufferSource p_270965_, BlockPos p_270159_) -
renderGhostPoi
private void renderGhostPoi(PoseStack p_270206_, MultiBufferSource p_270976_, BlockPos p_270670_, List<String> p_270882_) -
renderPoiInfo
private void renderPoiInfo(PoseStack p_270999_, MultiBufferSource p_270627_, BrainDebugRenderer.PoiInfo p_270986_) -
renderPath
private void renderPath(PoseStack p_270435_, MultiBufferSource p_270439_, BrainDebugPayload.BrainDump p_294227_, double p_270109_, double p_270342_, double p_270834_) -
renderBrainInfo
private void renderBrainInfo(PoseStack p_270145_, MultiBufferSource p_270489_, BrainDebugPayload.BrainDump p_294452_, double p_270922_, double p_270468_, double p_270838_) -
renderTextOverPoi
private static void renderTextOverPoi(PoseStack p_270498_, MultiBufferSource p_270609_, String p_270070_, BrainDebugRenderer.PoiInfo p_270677_, int p_270143_, int p_271011_) -
renderTextOverPos
private static void renderTextOverPos(PoseStack p_270640_, MultiBufferSource p_270809_, String p_270632_, BlockPos p_270082_, int p_270078_, int p_270440_) -
renderTextOverMob
private static void renderTextOverMob(PoseStack p_270664_, MultiBufferSource p_270816_, Position p_270715_, int p_270126_, String p_270487_, int p_270218_, float p_270737_) -
getTicketHolderNames
-
getPotentialTicketHolderNames
-
isMobSelected
-
isPlayerCloseEnoughToMob
-
getTicketHolders
-
getPotentialTicketHolders
-
getGhostPois
-
updateLastLookedAtUuid
private void updateLastLookedAtUuid()
-