net.minecraft.client.render

public class WorldExtractor

implements SynchronousResourceReloader

net.minecraft.client.renderer.extract.LevelExtractor
net.minecraft.class_1_816
net.minecraft.client.render.WorldExtractor

Field summary

Modifier and TypeField
private static final float
CHUNK_VISIBILITY_THRESHOLD
field_1_5785
MIN_CHUNK_OPACITY_FOR_RENDER
private final MinecraftClient
minecraft
field_1_5793
client
private final WorldRenderer
levelRenderer
field_1_5791
worldRenderer
private ClientWorld
level
field_1_5789
world
private ChunkSectionTracker
sectionUpdateTracker
field_1_5796
sectionTracker
private final WorldRenderState
levelRenderState
field_1_5790
worldRenderState
public final DebugRenderer
debugRenderer
field_1_5786
debugRenderer
public final GameTestDebugRenderer
gameTestBlockHighlightRenderer
field_1_5787
gameTestDebugRenderer
private final GizmoCollectorImpl
mainThreadGizmos
field_1_5792
gizmos
private double
prevCamRotX
field_1_5794
pitchd2
private double
prevCamRotY
field_1_5795
yawd2
private int
lastViewDistance
field_1_5788
viewDistance
private boolean
shouldInvalidateCompiledGeometry
field_1_5797
rebuildChunks
private boolean
shouldResetLevelRenderData
field_1_5799
clearWorldRenderer
private boolean
shouldResetChunkLayerSampler
field_1_5798
recreateTerrainSampler
private boolean
shouldResetSkyRenderer
field_1_5800
scheduledReload

Constructor summary

ModifierConstructor
public (MinecraftClient client, WorldRenderState worldRenderState, WorldRenderer worldRenderer)

Method summary

Modifier and TypeMethod
public void
extract(DeltaTracker deltaTracker, Camera camera, float deltaPartialTick)
method_1_5002(class_9779 arg0, class_4184 arg1, float arg2)
extract(RenderTickCounter tickCounter, Camera camera, float tickProgress)
private void
extractVisibleEntities(Camera camera, Frustum frustum, DeltaTracker deltaTracker, LevelRenderState output)
method_1_5008(class_4184 arg0, class_4604 arg1, class_9779 arg2, class_11658 arg3)
extractEntities(Camera camera, Frustum frustum, RenderTickCounter tickCounter, WorldRenderState worldRenderState)
public boolean
isEntityVisible(Entity entity, Frustum frustum, double camX, double camY, double camZ)
method_1_6398(class_1297 arg0, class_4604 arg1, double arg2, double arg3, double arg4)
shouldRenderEntity(Entity entity, Frustum frustum, double x, double y, double z)
private EntityRenderState
extractEntity(Entity entity, float partialTickTime)
method_1_5005(class_1297 arg0, float arg1)
getAndUpdateRenderState(Entity entity, float tickProgress)
private void
extractVisibleBlockEntities(Camera camera, float deltaPartialTick, LevelRenderState levelRenderState)
method_1_5007(class_4184 arg0, float arg1, class_11658 arg2)
extractBlockEntities(Camera camera, float tickProgress, WorldRenderState worldRenderState)
private void
extractBlockDestroyAnimation(Camera camera, LevelRenderState levelRenderState)
method_1_5003(class_4184 arg0, class_11658 arg1)
extractBlockBreaking(Camera camera, WorldRenderState worldRenderStateOut)
private void
extractBlockOutline(Camera camera, LevelRenderState levelRenderState)
method_1_5004(class_4184 arg0, class_11658 arg1)
extractBlockOutline(Camera camera, WorldRenderState worldRenderStateOut)
private void
extractGizmos()
method_1_5006()
extractGizmos()
private void
applyFrustum(Frustum frustum)
method_1_4997(class_4604 arg0)
applyFrustum(Frustum frustum)
private boolean
shouldShowEntityOutlines(Camera camera)
method_1_5020(class_4184 arg0)
shouldDrawEntityOutlines(Camera camera)
public void
onResourceManagerReload(ResourceManager resourceManager)
method_14491(class_3300 arg0)
scheduleReload(ResourceManager arg0)
public void
setLevel(ClientLevel level)
method_1_5015(class_638 arg0)
setWorld(ClientWorld world)
public void
allChanged()
method_1_4996()
reload()
public void
resetSampler()
method_1_5010()
recreateTerrainSampler()
public void
blockChanged(BlockPos pos, int updateFlags)
method_1_4998(class_2338 arg0, int arg1)
updateListeners(BlockPos pos, int flags)
private void
setBlockDirty(BlockPos pos, boolean playerChanged)
method_1_5013(class_2338 arg0, boolean arg1)
updateBlock(BlockPos pos, boolean redrawOnMainThread)
public void
setBlocksDirty(int x0, int y0, int z0, int x1, int y1, int z1)
method_1_5014(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
updateBlocks(int minX, int minY, int minZ, int maxX, int maxY, int maxZ)
public void
setBlockDirty(BlockPos pos, BlockState oldState, BlockState newState)
method_1_5012(class_2338 arg0, class_2680 arg1, class_2680 arg2)
scheduleBlockRerenderIfNeeded(BlockPos pos, BlockState from, BlockState to)
public void
setSectionDirtyWithNeighbors(int sectionX, int sectionY, int sectionZ)
method_1_5018(int arg0, int arg1, int arg2)
scheduleChunkRenders(int sectionX, int sectionY, int sectionZ)
public void
setSectionRangeDirty(int minSectionX, int minSectionY, int minSectionZ, int maxSectionX, int maxSectionY, int maxSectionZ)
method_1_5019(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
scheduleChunkRenders(int minSectionX, int minSectionY, int minSectionZ, int maxSectionX, int maxSectionY, int maxSectionZ)
public void
setSectionDirty(int sectionX, int sectionY, int sectionZ)
method_1_5016(int arg0, int arg1, int arg2)
updateSection(int sectionX, int sectionY, int sectionZ)
private void
setSectionDirty(int sectionX, int sectionY, int sectionZ, boolean playerChanged)
method_1_5017(int arg0, int arg1, int arg2, boolean arg3)
updateSection(int sectionX, int sectionY, int sectionZ, boolean redrawOnMainThread)
public GizmoDrawing$CollectorScope
collectPerFrameMainThreadGizmos()
method_1_4999()
startGizmos()
public int
countRenderedSections()
method_1_5000()
getRenderedSectionCount()
public String
sectionStatistics()
method_1_5011()
getChunkRenderStats()
public String
entityStatistics()
method_1_5001()
getEntityRenderStats()
public double
totalSections()
method_1_5021()
getSectionCount()
public double
lastViewDistance()
method_1_5009()
getLastViewDistance()
private void
lambda$extract$0(ClientChunkCache arg0, long arg1)
method_1_6240(class_631 arg0, long arg1)
method_1_6240(ClientChunkManager arg0, long chunkPos)