net.minecraft.client.render

public class WorldExtractor

implements SynchronousResourceReloader

net.minecraft.client.renderer.extract.LevelExtractor
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
CHUNK_VISIBILITY_THRESHOLD
field_1_5785
MIN_CHUNK_OPACITY_FOR_RENDER
private final MinecraftClient
minecraft
minecraft
field_1_5793
client
private final WorldRenderer
levelRenderer
levelRenderer
field_1_5791
worldRenderer
private ClientWorld
level
level
field_1_5789
world
private ChunkSectionTracker
sectionUpdateTracker
sectionUpdateTracker
field_1_5796
sectionTracker
private final WorldRenderState
levelRenderState
levelRenderState
field_1_5790
worldRenderState
public final DebugRenderer
debugRenderer
debugRenderer
field_1_5786
debugRenderer
public final GameTestDebugRenderer
gameTestBlockHighlightRenderer
gameTestBlockHighlightRenderer
field_1_5787
gameTestDebugRenderer
private final Deque<TransientBlock>
transientBlockQueue
transientBlockQueue
field_1_10539
transientBlocks
private final GizmoCollectorImpl
mainThreadGizmos
mainThreadGizmos
field_1_5792
gizmos
private double
prevCamRotX
prevCamRotX
field_1_5794
pitchd2
private double
prevCamRotY
prevCamRotY
field_1_5795
yawd2
private int
lastViewDistance
lastViewDistance
field_1_5788
viewDistance
private boolean
shouldInvalidateCompiledGeometry
shouldInvalidateCompiledGeometry
field_1_5797
rebuildChunks
private boolean
shouldResetLevelRenderData
shouldResetLevelRenderData
field_1_5799
clearWorldRenderer
private boolean
shouldResetChunkLayerSampler
shouldResetChunkLayerSampler
field_1_5798
recreateTerrainSampler
private boolean
shouldResetSkyRenderer
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 worldPartialTicks)
extract(DeltaTracker deltaTracker, Camera camera, float worldPartialTicks)
method_1_5002(class_9779 arg0, class_4184 arg1, float arg2)
extract(RenderTickCounter tickCounter, Camera camera, float tickProgress)
private void
drainTransientBlockQueue()
drainTransientBlockQueue()
method_1_10495()
extractTransientBlocks()
private void
extractVisibleEntities(Camera camera, Frustum frustum, DeltaTracker deltaTracker, LevelRenderState output)
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 renderTickCounter, WorldRenderState worldRenderState)
public boolean
isEntityVisible(Entity entity, Frustum frustum, double camX, double camY, double camZ, float partialTicks, long chunkFadeDuration)
isEntityVisible(Entity entity, Frustum frustum, double camX, double camY, double camZ, float partialTicks, long chunkFadeDuration)
method_1_6398(class_1297 arg0, class_4604 arg1, double arg2, double arg3, double arg4, float arg5, long arg6)
shouldRenderEntity(Entity entity, Frustum frustum, double x, double y, double z, float tickProgress, long chunkFadeMs)
private EntityRenderState
extractEntity(Entity entity, float partialTickTime)
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)
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)
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)
extractBlockOutline(Camera camera, LevelRenderState levelRenderState)
method_1_5004(class_4184 arg0, class_11658 arg1)
extractBlockOutline(Camera camera, WorldRenderState worldRenderStateOut)
private void
extractGizmos()
extractGizmos()
method_1_5006()
extractGizmos()
private void
extractPlayerState(Camera camera, DeltaTracker deltaTracker, float worldPartialTicks, PlayerRenderState state)
extractPlayerState(Camera camera, DeltaTracker deltaTracker, float worldPartialTicks, PlayerRenderState state)
method_1_9645(class_4184 arg0, class_9779 arg1, float arg2, class_1_1460 arg3)
extractOverlays(Camera camera, RenderTickCounter tickCounter, float tickProgress, OverlayRenderState overlayRenderState)
private static BlockState
getViewBlockingState(LocalPlayer player, Frustum frustum)
getViewBlockingState(LocalPlayer player, Frustum frustum)
method_1_9646(class_746 arg0, class_4604 arg1)
getVisionObstructingBlock(ClientPlayerEntity player, Frustum frustum)
private void
applyFrustum(Frustum frustum)
applyFrustum(Frustum frustum)
method_1_4997(class_4604 arg0)
applyFrustum(Frustum frustum)
private static boolean
shouldShowEntityOutlines(Camera camera, PlayerRenderState playerRenderState)
shouldShowEntityOutlines(Camera camera, PlayerRenderState playerRenderState)
method_1_5020(class_4184 arg0, class_1_1460 arg1)
shouldDrawEntityOutlines(Camera camera, OverlayRenderState overlayRenderState)
public void
onResourceManagerReload(ResourceManager resourceManager)
onResourceManagerReload(ResourceManager resourceManager)
method_14491(class_3300 arg0)
scheduleReload(ResourceManager arg0)
public void
setLevel(ClientLevel level)
setLevel(ClientLevel level)
method_1_5015(class_638 arg0)
setWorld(ClientWorld world)
public void
allChanged()
allChanged()
method_1_4996()
reload()
public void
resetSampler()
resetSampler()
method_1_5010()
recreateTerrainSampler()
public void
blockChanged(BlockPos pos, int updateFlags)
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)
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)
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)
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)
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)
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)
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)
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 void
queueTransientBlock(TransientBlock transientBlock)
queueTransientBlock(TransientBlock transientBlock)
method_1_10496(class_1_1676 arg0)
addTransientBlock(TransientBlock transientBlock)
public GizmoDrawing$CollectorScope
collectPerFrameMainThreadGizmos()
collectPerFrameMainThreadGizmos()
method_1_4999()
startGizmos()
public int
countRenderedSections()
countRenderedSections()
method_1_5000()
getRenderedSectionCount()
public String
sectionStatistics()
sectionStatistics()
method_1_5011()
getChunkRenderStats()
public String
entityStatistics()
entityStatistics()
method_1_5001()
getEntityRenderStats()
public double
totalSections()
totalSections()
method_1_5021()
getSectionCount()
public double
lastViewDistance()
lastViewDistance()
method_1_5009()
getLastViewDistance()