net.minecraft.client.render.world

public class WorldRenderer

implements WorldEventListener, ResourceReloadListener

bnl
net.minecraft.class_530
net.minecraft.client.render.world.WorldRenderer
net.minecraft.client.renderer.RenderGlobal

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
b
field_7976
LOGGER
LOGGER
private static final Identifier
c
field_6460
MOON_PHASES_LOCATION
MOON_PHASES_TEXTURES
private static final Identifier
d
field_6461
SUN_LOCATION
SUN_TEXTURES
private static final Identifier
e
field_6462
CLOUDS_LOCATION
CLOUDS_TEXTURES
private static final Identifier
f
field_6463
END_SKY_LOCATION
END_SKY_TEXTURES
private static final Identifier
g
field_10819
WORLD_BORDER_LOCATION
FORCEFIELD_TEXTURES
private final Minecraft
h
field_1918
minecraft
mc
private final TextureManager
i
field_6464
textureManager
renderEngine
private final EntityRenderDispatcher
j
field_10820
entityRenderDispatcher
renderManager
private ClientWorld
k
field_1909
world
theWorld
private Set<RenderChunk>
l
field_10821
dirtyChunks
chunksToUpdate
private List<WorldRenderer$RenderChunkInfo>
m
field_1900
compiledChunks
renderInfos
private final Set<BlockEntity>
n
field_10822
globalBlockEntities
setTileEntities
private RenderChunkStorage
o
field_10823
chunkStorage
viewFrustum
private int
p
field_1923
starsGlList
starGLCallList
private int
q
field_1924
lightSkyGlList
glSkyList
private int
r
field_1925
darkSkyGlList
glSkyList2
private VertexFormat
s
field_10824
skyVertexFormat
vertexBufferFormat
private VertexBuffer
t
field_10825
starsBuffer
starVBO
private VertexBuffer
u
field_10826
lightSkyBuffer
skyVBO
private VertexBuffer
v
field_10827
darkSkyBuffer
sky2VBO
private int
w
field_1922
ticks
cloudTickCounter
private final Map<Integer, BlockMiningProgress>
x
field_1887
miningProgress
damagedBlocks
private final Map<BlockPos, SoundInstance>
y
field_7967
playingSongs
mapSoundPositions
private final TextureAtlasSprite[]
z
field_10828
miningProgressSprites
destroyBlockIcons
private RenderTarget
A
field_10798
entityOutlineRenderTarget
entityOutlineFramebuffer
private PostChain
B
field_10799
entityOutline
entityOutlineShader
private double
C
field_10800
prevCameraX
frustumUpdatePosX
private double
D
field_10801
prevCameraY
frustumUpdatePosY
private double
E
field_10802
prevCameraZ
frustumUpdatePosZ
private int
F
field_10803
prevCameraChunkX
frustumUpdatePosChunkX
private int
G
field_10804
prevCameraChunkY
frustumUpdatePosChunkY
private int
H
field_10805
prevCameraChunkZ
frustumUpdatePosChunkZ
private double
I
field_10806
cameraX
lastViewEntityX
private double
J
field_10807
cameraY
lastViewEntityY
private double
K
field_10808
cameraZ
lastViewEntityZ
private double
L
field_10809
cameraPitch
lastViewEntityPitch
private double
M
field_10810
cameraYaw
lastViewEntityYaw
private ChunkRenderDispatcher
N
field_10811
chunkRenderDispatcher
renderDispatcher
private RenderChunkList
O
field_10812
chunkList
renderContainer
private int
P
field_1888
lastViewDistance
renderDistanceChunks
private int
Q
field_1889
entityRenderCooldown
renderEntitiesStartupCounter
private int
R
field_1890
entityCount
countEntitiesTotal
private int
S
field_1891
renderedEntityCount
countEntitiesRendered
private int
T
field_1892
culledEntityCount
countEntitiesHidden
private boolean
U
field_10813
captureFrustum
debugFixTerrainFrustum
private FrustumData
V
field_10814
capturedFrustum
debugFixedClippingHelper
private final org.lwjgl.util.vector.Vector4f[]
W
field_10815
frustumPoints
debugTerrainMatrix
private final Vector3d
X
field_10816
frustumPos
debugTerrainFrustumPosition
private boolean
Y
field_10817
useVbo
vboEnabled
RenderChunkFactory
a
field_10818
chunkFactory
renderChunkFactory
private double
Z
field_7970
lastCameraX
prevRenderSortX
private double
aa
field_7971
lastCameraY
prevRenderSortY
private double
ab
field_7972
lastCameraZ
prevRenderSortZ
private boolean
ac
field_7968
viewChanged
displayListEntitiesDirty
private boolean
ad
field_13537
hasEntityOutlines
entityOutlinesRendered
private final Set<BlockPos>
ae
field_13538
lightChanges
setLightUpdates

Constructor summary

ModifierConstructor
public (Minecraft minecraft)

Method summary

Modifier and TypeMethod
public void
a(bwd arg0)
method_5895(class_1654 arg0)
reload(ResourceManager arg0)
onResourceManagerReload(IResourceManager arg0)
private void
p()
method_9918()
reloadMiningProgressTextures()
updateDestroyBlockIcons()
public void
b()
method_9909()
loadEntityOutline()
makeEntityOutlineShader()
public void
c()
method_9912()
renderEntityOutlines()
renderEntityOutlineFramebuffer()
protected boolean
d()
method_9915()
shouldRenderEntityOutlines()
isRenderEntityOutlines()
private void
q()
method_9919()
renderDarkSky()
generateSky2()
private void
r()
method_9920()
renderLightSky()
generateSky()
private void
a(bmx arg0, float arg1, boolean arg2)
method_9898(class_520 arg0, float arg1, boolean arg2)
renderSkyHemisphere(BufferBuilder bufferBuilder, float y, boolean dark)
renderSky(VertexBuffer worldRendererIn, float posY, boolean reverseX)
private void
s()
method_9921()
renderStars()
generateStars()
private void
a(bmx arg0)
method_9897(class_520 arg0)
renderStars(BufferBuilder bufferBuilder)
renderStars(VertexBuffer worldRendererIn)
public void
a(bks arg0)
method_1371(class_478 arg0)
setWorld(ClientWorld world)
setWorldAndLoadRenderers(WorldClient worldClientIn)
public void
a()
method_1363()
reload()
loadRenderers()
protected void
e()
method_9916()
resetDirtyChunks()
stopChunkUpdates()
public void
a(int arg0, int arg1)
method_1367(int arg0, int arg1)
onResolutionChanged(int width, int height)
createBindEntityOutlineFbs(int width, int height)
public void
a(rr arg0, bqj arg1, float arg2)
method_9908(class_864 arg0, class_536 arg1, float arg2)
renderEntities(Entity camera, Culler culler, float tickDelta)
renderEntities(Entity renderViewEntity, ICamera camera, float partialTicks)
private boolean
a(rr arg0, rr arg1, bqj arg2)
method_12337(class_864 arg0, class_864 arg1, class_536 arg2)
shouldRenderEntity(Entity entity, Entity camera, Culler culler)
isOutlineActive(Entity arg0, Entity arg1, ICamera arg2)
public String
f()
method_1381()
getChunkDebugInfo()
getDebugInfoRenders()
protected int
g()
method_12338()
countRenderedChunks()
getRenderedChunks()
public String
h()
method_1384()
getEntityDebugInfo()
getDebugInfoEntities()
public void
a(rr arg0, double arg1, bqj arg2, int arg3, boolean arg4)
method_9906(class_864 arg0, double arg1, class_536 arg2, int arg3, boolean arg4)
setupRender(Entity camera, double tickDelta, Culler culler, int frame, boolean loadChunks)
setupTerrain(Entity viewEntity, double partialTicks, ICamera camera, int frameCount, boolean playerSpectator)
private Set<Direction>
b(cl arg0)
method_9914(class_2552 arg0)
getOpenChunkFaces(BlockPos pos)
getVisibleFacings(BlockPos pos)
private RenderChunk
a(cl arg0, bqc arg1, cs arg2)
method_9901(class_2552 arg0, class_2481 arg1, class_1354 arg2)
getNeighborChunk(BlockPos cameraPos, RenderChunk chunk, Direction dir)
getRenderChunkOffset(BlockPos playerPos, RenderChunk renderChunkBase, EnumFacing facing)
private void
a(double arg0, double arg1, double arg2)
method_9890(double arg0, double arg1, double arg2)
captureFrustum(double x, double y, double z)
fixTerrainFrustum(double x, double y, double z)
protected org.lwjgl.util.vector.Vector3f
a(rr arg0, double arg1)
method_9905(class_864 arg0, double arg1)
getLookVector(Entity camera, double tickDelta)
getViewVector(Entity entityIn, double partialTicks)
public int
a(ahm arg0, double arg1, int arg2, rr arg3)
method_9894(class_2165 arg0, double arg1, int arg2, class_864 arg3)
render(BlockLayer layer, double tickDelta, int anaglyphRenderPass, Entity camera)
renderBlockLayer(BlockRenderLayer blockLayerIn, double partialTicks, int pass, Entity entityIn)
private void
a(ahm arg0)
method_9893(class_2165 arg0)
renderLastChunks(BlockLayer layer)
renderBlockLayer(BlockRenderLayer blockLayerIn)
private void
a(Iterator<lj> arg0)
method_9904(Iterator<class_786> arg0)
updateMiningProgress(Iterator<BlockMiningProgress> miningProgress)
cleanupDamagedBlocks(Iterator<DestroyBlockProgress> iteratorIn)
public void
k()
method_1385()
tick()
updateClouds()
private void
t()
method_9922()
renderEndSky()
renderSkyEnd()
public void
a(float arg0, int arg1)
method_9891(float arg0, int arg1)
renderSky(float tickDelta, int anaglyphRenderPass)
renderSky(float partialTicks, int pass)
public void
b(float arg0, int arg1)
method_9910(float arg0, int arg1)
renderClouds(float tickDelta, int anaglyphRenderPass)
renderClouds(float partialTicks, int pass)
public boolean
a(double arg0, double arg1, double arg2, float arg3)
method_1364(double arg0, double arg1, double arg2, float arg3)
hasThiccFog(double x, double y, double z, float tickDelta)
hasCloudFog(double x, double y, double z, float partialTicks)
private void
c(float arg0, int arg1)
method_9913(float arg0, int arg1)
renderFancyClouds(float tickDelta, int anaglyphRenderPass)
renderCloudsFancy(float partialTicks, int pass)
public void
a(long arg0)
method_9892(long arg0)
compileChunksUntil(long time)
updateChunks(long finishTimeNano)
public void
a(rr arg0, float arg1)
method_9907(class_864 arg0, float arg1)
renderWorldBorder(Entity camera, float tickDelta)
renderWorldBorder(Entity entityIn, float partialTicks)
private void
u()
method_9923()
setupMiningProgressState()
preRenderDamagedBlocks()
private void
v()
method_9924()
restoreMiningProgressState()
postRenderDamagedBlocks()
public void
a(bnr arg0, bmx arg1, rr arg2, float arg3)
method_9899(class_533 arg0, class_520 arg1, class_864 arg2, float arg3)
renderMiningProgress(Tesselator tesselator, BufferBuilder bufferBuilder, Entity camera, float tickDelta)
drawBlockDamageTexture(Tessellator tessellatorIn, VertexBuffer worldRendererIn, Entity entityIn, float partialTicks)
public void
a(zj arg0, bbg arg1, int arg2, float arg3)
method_1380(class_988 arg0, class_234 arg1, int arg2, float arg3)
renderBlockOutline(PlayerEntity camera, HitResult hit, int mode, float tickDelta)
drawSelectionBox(EntityPlayer player, RayTraceResult movingObjectPositionIn, int execute, float partialTicks)
public static void
a(bbf arg0)
method_9895(class_231 arg0)
renderOutlineShape(Box shape)
drawSelectionBoundingBox(AxisAlignedBB boundingBox)
public static void
a(bbf arg0, int arg1, int arg2, int arg3, int arg4)
method_9896(class_231 arg0, int arg1, int arg2, int arg3, int arg4)
renderOutlineShape(Box shape, int r, int g, int b, int a)
drawOutlinedBoundingBox(AxisAlignedBB boundingBox, int red, int green, int blue, int alpha)
private void
a(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, boolean arg6)
method_1378(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, boolean arg6)
setDirty(int minX, int minY, int minZ, int maxX, int maxY, int maxZ, boolean dirty)
markBlocksForUpdate(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, boolean arg6)
public void
a(aht arg0, cl arg1, ard arg2, ard arg3, int arg4)
method_11493(class_1150 arg0, class_2552 arg1, class_2232 arg2, class_2232 arg3, int arg4)
notifyBlockChanged(World arg0, BlockPos arg1, BlockState arg2, BlockState arg3, int arg4)
notifyBlockUpdate(World arg0, BlockPos arg1, IBlockState arg2, IBlockState arg3, int arg4)
public void
a(cl arg0)
method_8574(class_2552 arg0)
notifyLightChanged(BlockPos arg0)
notifyLightSet(BlockPos arg0)
public void
a(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
method_3745(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
notifyRegionChanged(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
markBlockRangeForRenderUpdate(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
public void
a(ng arg0, cl arg1)
method_8572(class_2926 arg0, class_2552 arg1)
playGlobalSound(SoundEvent arg0, BlockPos arg1)
playRecord(SoundEvent arg0, BlockPos arg1)
public void
a(zj arg0, ng arg1, ni arg2, double arg3, double arg4, double arg5, float arg6, float arg7)
method_3747(class_988 arg0, class_2926 arg1, class_2153 arg2, double arg3, double arg4, double arg5, float arg6, float arg7)
playSound(PlayerEntity arg0, SoundEvent arg1, SoundCategory arg2, double arg3, double arg4, double arg5, float arg6, float arg7)
playSoundToAllNearExcept(EntityPlayer arg0, SoundEvent arg1, SoundCategory arg2, double arg3, double arg4, double arg5, float arg6, float arg7)
public void
a(int arg0, boolean arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7, int... arg8)
method_3746(int arg0, boolean arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7, int... arg8)
addParticle(int arg0, boolean arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7, int... arg8)
spawnParticle(int arg0, boolean arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7, int... arg8)
private void
a(da arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6, int... arg7)
method_9902(class_2562 arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6, int... arg7)
addParticle(ParticleType type, double x, double y, double z, double velocityX, double velocityY, double velocityZ, int... parameters)
spawnParticle(EnumParticleTypes particleIn, double xCoord, double yCoord, double zCoord, double xSpeed, double arg5, double arg6, int... arg7)
private Particle
b(int arg0, boolean arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7, int... arg8)
method_9911(int arg0, boolean arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7, int... arg8)
tryAddParticle(int type, boolean ignoreDistance, double x, double y, double z, double velocityX, double velocityY, double velocityZ, int... parameters)
spawnEntityFX(int ySpeed, boolean ignoreRange, double xCoord, double yCoord, double zCoord, double xSpeed, double arg6, double arg7, int... arg8)
public void
a(rr arg0)
method_3749(class_864 arg0)
notifyEntityAdded(Entity arg0)
onEntityAdded(Entity arg0)
public void
b(rr arg0)
method_3752(class_864 arg0)
notifyEntityRemoved(Entity arg0)
onEntityRemoved(Entity arg0)
public void
l()
method_1386()
releaseGlLists()
deleteAllDisplayLists()
public void
a(int arg0, cl arg1, int arg2)
method_4692(int arg0, class_2552 arg1, int arg2)
doGlobalEvent(int arg0, BlockPos arg1, int arg2)
broadcastSound(int arg0, BlockPos arg1, int arg2)
public void
a(zj arg0, int arg1, cl arg2, int arg3)
method_3750(class_988 arg0, int arg1, class_2552 arg2, int arg3)
doEvent(PlayerEntity arg0, int arg1, BlockPos arg2, int arg3)
playEvent(EntityPlayer arg0, int arg1, BlockPos arg2, int arg3)
public void
b(int arg0, cl arg1, int arg2)
method_8573(int arg0, class_2552 arg1, int arg2)
updateBlockMiningProgress(int arg0, BlockPos arg1, int arg2)
sendBlockBreakProgress(int arg0, BlockPos arg1, int arg2)
public boolean
n()
method_12339()
hasRenderedAllChunks()
hasNoChunkUpdates()
public void
o()
method_9917()
onViewChanged()
setDisplayListEntitiesDirty()
public void
a(Collection<apv> arg0, Collection<apv> arg1)
method_9903(Collection<class_226> arg0, Collection<class_226> arg1)
updateGlobalBlockEntities(Collection<BlockEntity> remove, Collection<BlockEntity> add)
updateTileEntities(Collection<TileEntity> tileEntitiesToRemove, Collection<TileEntity> tileEntitiesToAdd)