Class PointOfInterestDebugRenderer
java.lang.Object
net.minecraft.client.renderer.debug.PointOfInterestDebugRenderer
- All Implemented Interfaces:
DebugRenderer.IDebugRenderer
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map<UUID,
PointOfInterestDebugRenderer.BrainInfo> private UUID
private static final org.apache.logging.log4j.Logger
private final Minecraft
private final Map<BlockPos,
PointOfInterestDebugRenderer.POIInfo> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addPoi
(PointOfInterestDebugRenderer.POIInfo p_217691_1_) void
clear()
private void
private void
doRender
(double p_229035_1_, double p_229035_3_, double p_229035_5_) private Collection<UUID>
getPotentialTicketHolders
(BlockPos p_239343_1_) getTicketHolderNames
(PointOfInterestDebugRenderer.POIInfo p_217696_1_) private Collection<UUID>
getTicketHolders
(BlockPos p_239340_1_) private static void
highlightPoi
(BlockPos p_217699_0_) private boolean
isMobSelected
(PointOfInterestDebugRenderer.BrainInfo p_217703_1_) private boolean
void
void
render
(MatrixStack p_225619_1_, IRenderTypeBuffer p_225619_2_, double p_225619_3_, double p_225619_5_, double p_225619_7_) private void
renderBrainInfo
(PointOfInterestDebugRenderer.BrainInfo p_229038_1_, double p_229038_2_, double p_229038_4_, double p_229038_6_) private void
renderGhostPoi
(BlockPos p_222921_1_, List<String> p_222921_2_) private void
renderPath
(PointOfInterestDebugRenderer.BrainInfo p_229037_1_, double p_229037_2_, double p_229037_4_, double p_229037_6_) private void
renderPoiInfo
(PointOfInterestDebugRenderer.POIInfo p_217705_1_) private static void
renderTextOverMob
(IPosition p_217693_0_, int p_217693_1_, String p_217693_2_, int p_217693_3_, float p_217693_4_) private static void
renderTextOverPoi
(String p_217695_0_, PointOfInterestDebugRenderer.POIInfo p_217695_1_, int p_217695_2_, int p_217695_3_) private static void
renderTextOverPos
(String p_222923_0_, BlockPos p_222923_1_, int p_222923_2_, int p_222923_3_) void
setFreeTicketCount
(BlockPos p_217706_1_, int p_217706_2_) private void
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
minecraft
-
pois
-
brainDumpsPerEntity
-
lastLookedAtUuid
-
-
Constructor Details
-
PointOfInterestDebugRenderer
-
-
Method Details
-
clear
public void clear()- Specified by:
clear
in interfaceDebugRenderer.IDebugRenderer
-
addPoi
-
removePoi
-
setFreeTicketCount
-
addOrUpdateBrainDump
-
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
-
clearRemovedEntities
private void clearRemovedEntities() -
doRender
private void doRender(double p_229035_1_, double p_229035_3_, double p_229035_5_) -
highlightPoi
-
renderGhostPoi
-
renderPoiInfo
-
renderPath
private void renderPath(PointOfInterestDebugRenderer.BrainInfo p_229037_1_, double p_229037_2_, double p_229037_4_, double p_229037_6_) -
renderBrainInfo
private void renderBrainInfo(PointOfInterestDebugRenderer.BrainInfo p_229038_1_, double p_229038_2_, double p_229038_4_, double p_229038_6_) -
renderTextOverPoi
private static void renderTextOverPoi(String p_217695_0_, PointOfInterestDebugRenderer.POIInfo p_217695_1_, int p_217695_2_, int p_217695_3_) -
renderTextOverPos
-
renderTextOverMob
-
getTicketHolderNames
-
getPotentialTicketHolderNames
-
isMobSelected
-
isPlayerCloseEnoughToMob
-
getTicketHolders
-
getPotentialTicketHolders
-
getGhostPois
-
updateLastLookedAtUuid
private void updateLastLookedAtUuid()
-