Class BrainDebugRenderer
java.lang.Object
net.minecraft.client.renderer.debug.BrainDebugRenderer
- All Implemented Interfaces:
DebugRenderer.SimpleDebugRenderer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Map<UUID,BrainDebugRenderer.BrainDump>private static intprivate static intprivate static intprivate UUIDprivate static org.apache.logging.log4j.Loggerprivate static intprivate static intprivate static intprivate Minecraftprivate static intprivate static intprivate Map<BlockPos,BrainDebugRenderer.PoiInfo>private static intprivate static booleanprivate static booleanprivate static booleanprivate static booleanprivate static booleanprivate static booleanprivate static booleanprivate static booleanprivate static booleanprivate static booleanprivate static booleanprivate static booleanprivate static booleanprivate static booleanprivate static booleanprivate static booleanprivate static booleanprivate static booleanprivate static booleanprivate static booleanprivate static floatprivate static intprivate static int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddOrUpdateBrainDump(BrainDebugRenderer.BrainDump p_113220_)voidaddPoi(BrainDebugRenderer.PoiInfo p_113227_)voidclear()private voidprivate voiddoRender(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 voidhighlightPoi(BlockPos p_113275_)private booleanisMobSelected(BrainDebugRenderer.BrainDump p_113266_)private booleanisPlayerCloseEnoughToMob(BrainDebugRenderer.BrainDump p_113281_)voidremoveBrainDump(int p_173811_)voidvoidrender(PoseStack p_113214_, MultiBufferSource p_113215_, double p_113216_, double p_113217_, double p_113218_)private voidrenderBrainInfo(BrainDebugRenderer.BrainDump p_113268_, double p_113269_, double p_113270_, double p_113271_)private voidrenderGhostPoi(BlockPos p_113244_, List<String> p_113245_)private voidrenderPath(BrainDebugRenderer.BrainDump p_113222_, double p_113223_, double p_113224_, double p_113225_)private voidrenderPoiInfo(BrainDebugRenderer.PoiInfo p_113273_)private static voidrenderTextOverMob(Position p_113247_, int p_113248_, String p_113249_, int p_113250_, float p_113251_)private static voidrenderTextOverPoi(String p_113253_, BrainDebugRenderer.PoiInfo p_113254_, int p_113255_, int p_113256_)private static voidrenderTextOverPos(String p_113258_, BlockPos p_113259_, int p_113260_, int p_113261_)voidsetFreeTicketCount(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:
clearin 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:
renderin 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()
-