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 Map<UUID,BrainDebugRenderer.BrainDump>
private static int
private static int
private static int
private UUID
private static org.apache.logging.log4j.Logger
private static int
private static int
private static int
private Minecraft
private static int
private static int
private Map<BlockPos,BrainDebugRenderer.PoiInfo>
private static int
private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
private static boolean
private static float
private static int
private static 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
isPlayerCloseEnoughToMob(BrainDebugRenderer.BrainDump p_113281_)
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.apache.logging.log4j.Logger LOGGER -
SHOW_NAME_FOR_ALL
private static final boolean SHOW_NAME_FOR_ALL- See Also:
- Constant Field Values
-
SHOW_PROFESSION_FOR_ALL
private static final boolean SHOW_PROFESSION_FOR_ALL- See Also:
- Constant Field Values
-
SHOW_BEHAVIORS_FOR_ALL
private static final boolean SHOW_BEHAVIORS_FOR_ALL- See Also:
- Constant Field Values
-
SHOW_ACTIVITIES_FOR_ALL
private static final boolean SHOW_ACTIVITIES_FOR_ALL- See Also:
- Constant Field Values
-
SHOW_INVENTORY_FOR_ALL
private static final boolean SHOW_INVENTORY_FOR_ALL- See Also:
- Constant Field Values
-
SHOW_GOSSIPS_FOR_ALL
private static final boolean SHOW_GOSSIPS_FOR_ALL- See Also:
- Constant Field Values
-
SHOW_PATH_FOR_ALL
private static final boolean SHOW_PATH_FOR_ALL- See Also:
- Constant Field Values
-
SHOW_HEALTH_FOR_ALL
private static final boolean SHOW_HEALTH_FOR_ALL- See Also:
- Constant Field Values
-
SHOW_WANTS_GOLEM_FOR_ALL
private static final boolean SHOW_WANTS_GOLEM_FOR_ALL- See Also:
- Constant Field Values
-
SHOW_NAME_FOR_SELECTED
private static final boolean SHOW_NAME_FOR_SELECTED- See Also:
- Constant Field Values
-
SHOW_PROFESSION_FOR_SELECTED
private static final boolean SHOW_PROFESSION_FOR_SELECTED- See Also:
- Constant Field Values
-
SHOW_BEHAVIORS_FOR_SELECTED
private static final boolean SHOW_BEHAVIORS_FOR_SELECTED- See Also:
- Constant Field Values
-
SHOW_ACTIVITIES_FOR_SELECTED
private static final boolean SHOW_ACTIVITIES_FOR_SELECTED- See Also:
- Constant Field Values
-
SHOW_MEMORIES_FOR_SELECTED
private static final boolean SHOW_MEMORIES_FOR_SELECTED- See Also:
- Constant Field Values
-
SHOW_INVENTORY_FOR_SELECTED
private static final boolean SHOW_INVENTORY_FOR_SELECTED- See Also:
- Constant Field Values
-
SHOW_GOSSIPS_FOR_SELECTED
private static final boolean SHOW_GOSSIPS_FOR_SELECTED- See Also:
- Constant Field Values
-
SHOW_PATH_FOR_SELECTED
private static final boolean SHOW_PATH_FOR_SELECTED- See Also:
- Constant Field Values
-
SHOW_HEALTH_FOR_SELECTED
private static final boolean SHOW_HEALTH_FOR_SELECTED- See Also:
- Constant Field Values
-
SHOW_WANTS_GOLEM_FOR_SELECTED
private static final boolean SHOW_WANTS_GOLEM_FOR_SELECTED- See Also:
- Constant Field Values
-
SHOW_POI_INFO
private static final boolean SHOW_POI_INFO- See Also:
- Constant Field Values
-
MAX_RENDER_DIST_FOR_BRAIN_INFO
private static final int MAX_RENDER_DIST_FOR_BRAIN_INFO- See Also:
- Constant Field Values
-
MAX_RENDER_DIST_FOR_POI_INFO
private static final int MAX_RENDER_DIST_FOR_POI_INFO- See Also:
- Constant Field Values
-
MAX_TARGETING_DIST
private static final int MAX_TARGETING_DIST- See Also:
- Constant Field Values
-
TEXT_SCALE
private static final float TEXT_SCALE- See Also:
- Constant Field Values
-
WHITE
private static final int WHITE- See Also:
- Constant Field Values
-
YELLOW
private static final int YELLOW- See Also:
- Constant Field Values
-
CYAN
private static final int CYAN- See Also:
- Constant Field Values
-
GREEN
private static final int GREEN- See Also:
- Constant Field Values
-
GRAY
private static final int GRAY- See Also:
- Constant Field Values
-
PINK
private static final int PINK- See Also:
- Constant Field Values
-
RED
private static final int RED- See Also:
- Constant Field Values
-
ORANGE
private static final int ORANGE- See Also:
- Constant Field Values
-
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()
-