net.minecraft.world.chunk

public class WorldChunk

axw
net.minecraft.class_1196
net.minecraft.world.chunk.WorldChunk
net.minecraft.world.chunk.Chunk
net.minecraft.world.chunk.Chunk

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
e
field_7504
LOGGER
field_150817_t
LOGGER
public static final WorldChunkSection
a
field_12911
EMPTY
field_186036_a
NULL_BLOCK_STORAGE
private final WorldChunkSection[]
f
field_4740
sections
field_76652_q
storageArrays
private final byte[]
g
field_4741
biomes
field_76651_r
blockBiomeArray
private final int[]
h
field_4725
precipitationHeight
field_76638_b
precipitationHeightMap
private final boolean[]
i
field_4726
recheckGap
field_76639_c
updateSkylightColumns
private boolean
j
field_4727
loaded
field_76636_d
loaded
private final World
k
field_4728
world
field_76637_e
world
private final int[]
l
field_4729
heightMap
field_76634_f
heightMap
public final int
b
field_4730
chunkX
field_76635_g
x
public final int
c
field_4731
chunkZ
field_76647_h
z
private boolean
m
field_4742
recheckGaps
field_76650_s
isGapLightingUpdated
private final Map<BlockPos, BlockEntity>
n
field_4732
blockEntities
field_150816_i
tileEntities
private final TypeInstanceMultiMap<Entity>[]
o
field_9945
entities
field_76645_j
entityLists
private boolean
p
field_4734
terrainPopulated
field_76646_k
isTerrainPopulated
private boolean
q
field_7502
lightPopulated
field_150814_l
isLightPopulated
private boolean
r
field_7503
hasTicked
field_150815_m
ticked
private boolean
s
field_4735
dirty
field_76643_l
dirty
private boolean
t
field_4736
lastSaveHadEntities
field_76644_m
hasEntities
private long
u
field_4737
lastSaveTime
field_76641_n
lastSaveTime
private int
v
field_5479
lowestHeight
field_82912_p
heightMapMinimum
private long
w
field_6229
inhabitedTime
field_111204_q
inhabitedTime
private int
x
field_4743
nextBorderLightCheck
field_76649_t
queuedLightChecks
private final ConcurrentLinkedQueue<BlockPos>
y
field_9946
blockEntitiesToCreate
field_177447_w
tileEntityPosQueue
public boolean
d
field_12912
removed
field_189550_d
unloadQueued

Constructor summary

ModifierConstructor
public (World world, int chunkX, int chunkZ)
public (World world, ProtoChunk blocks, int chunkX, int chunkZ)

Method summary

Modifier and TypeMethod
public boolean
a(int arg0, int arg1)
method_3878(int arg0, int arg1)
isAt(int chunkX, int chunkZ)
func_76600_a(int arg0, int arg1)
isAtLocation(int x, int z)
public int
e(et arg0)
method_9152(class_2552 arg0)
getHeight(BlockPos pos)
func_177433_f(BlockPos arg0)
getHeight(BlockPos pos)
public int
b(int arg0, int arg1)
method_3898(int arg0, int arg1)
getHeight(int localX, int localZ)
func_76611_b(int arg0, int arg1)
getHeightValue(int x, int z)
private WorldChunkSection
y()
method_11773()
getTopSection()
func_186031_y()
getLastExtendedBlockStorage()
public int
g()
method_3916()
getHighestSectionOffset()
func_76625_h()
getTopFilledSegment()
public WorldChunkSection[]
h()
method_3918()
getSections()
func_76587_i()
getBlockStorageArray()
public void
b()
method_3897()
populateHeightMap()
func_76603_b()
generateSkylightMap()
private void
d(int arg0, int arg1)
method_3911(int arg0, int arg1)
recheckGap(int localX, int localZ)
func_76595_e(int arg0, int arg1)
propagateSkylightOcclusion(int x, int z)
private void
h(boolean arg0)
method_6534(boolean arg0)
lightGaps(boolean checkOne)
func_150803_c(boolean arg0)
recheckGaps(boolean onlyOne)
private void
b(int arg0, int arg1, int arg2)
method_3915(int arg0, int arg1, int arg2)
lightGap(int x, int z, int y)
func_76599_g(int arg0, int arg1, int arg2)
checkSkylightNeighborHeight(int x, int z, int maxValue)
private void
a(int arg0, int arg1, int arg2, int arg3)
method_3909(int arg0, int arg1, int arg2, int arg3)
updateSkyLight(int x, int z, int minY, int maxY)
func_76609_d(int arg0, int arg1, int arg2, int arg3)
updateSkylightNeighborHeight(int x, int z, int startY, int endY)
private void
c(int arg0, int arg1, int arg2)
method_3917(int arg0, int arg1, int arg2)
updateHeightMap(int localX, int y, int localZ)
func_76615_h(int arg0, int arg1, int arg2)
relightBlock(int x, int y, int z)
public int
b(et arg0)
method_9144(class_2552 arg0)
getOpacity(BlockPos pos)
func_177437_b(BlockPos arg0)
getBlockLightOpacity(BlockPos pos)
private int
d(int arg0, int arg1, int arg2)
method_3899(int arg0, int arg1, int arg2)
getOpacity(int x, int y, int z)
func_150808_b(int arg0, int arg1, int arg2)
getBlockLightOpacity(int x, int y, int z)
public BlockState
a(et arg0)
method_11770(class_2552 arg0)
getBlockState(BlockPos pos)
func_177435_g(BlockPos arg0)
getBlockState(BlockPos pos)
public BlockState
a(int arg0, int arg1, int arg2)
method_11767(int arg0, int arg1, int arg2)
getBlockState(int x, int y, int z)
func_186032_a(int arg0, int arg1, int arg2)
getBlockState(int x, int y, int z)
public BlockState
a(et arg0, awt arg1)
method_9137(class_2552 arg0, class_2232 arg1)
setBlockState(BlockPos pos, BlockState state)
func_177436_a(BlockPos arg0, IBlockState arg1)
setBlockState(BlockPos pos, IBlockState state)
public int
a(ana arg0, et arg1)
method_9132(class_1161 arg0, class_2552 arg1)
getLight(LightType type, BlockPos pos)
func_177413_a(EnumSkyBlock arg0, BlockPos arg1)
getLightFor(EnumSkyBlock type, BlockPos pos)
public void
a(ana arg0, et arg1, int arg2)
method_3891(class_1161 arg0, class_2552 arg1, int arg2)
setLight(LightType type, BlockPos pos, int light)
func_177431_a(EnumSkyBlock arg0, BlockPos arg1, int arg2)
setLightFor(EnumSkyBlock type, BlockPos pos, int value)
public int
a(et arg0, int arg1)
method_9134(class_2552 arg0, int arg1)
getLight(BlockPos pos, int ambientDarkness)
func_177443_a(BlockPos arg0, int arg1)
getLightSubtracted(BlockPos pos, int amount)
public void
a(vg arg0)
method_3887(class_864 arg0)
addEntity(Entity entity)
func_76612_a(Entity arg0)
addEntity(Entity entityIn)
public void
b(vg arg0)
method_3901(class_864 arg0)
removeEntity(Entity entity)
func_76622_b(Entity arg0)
removeEntity(Entity entityIn)
public void
a(vg arg0, int arg1)
method_3888(class_864 arg0, int arg1)
removeEntity(Entity entity, int chunkY)
func_76608_a(Entity arg0, int arg1)
removeEntityAtIndex(Entity entityIn, int index)
public boolean
c(et arg0)
method_9148(class_2552 arg0)
hasSkyAccess(BlockPos pos)
func_177444_d(BlockPos arg0)
canSeeSky(BlockPos pos)
private BlockEntity
g(et arg0)
method_9157(class_2552 arg0)
createBlockEntity(BlockPos pos)
func_177422_i(BlockPos arg0)
createNewTileEntity(BlockPos pos)
public BlockEntity
a(et arg0, axw$a arg1)
method_9138(class_2552 arg0, class_1196$class_2251 arg1)
getBlockEntity(BlockPos pos, WorldChunk$BlockEntityCreationType creationType)
func_177424_a(BlockPos arg0, Chunk$EnumCreateEntityType arg1)
getTileEntity(BlockPos pos, Chunk$EnumCreateEntityType creationMode)
public void
a(avj arg0)
method_3885(class_226 arg0)
addBlockEntity(BlockEntity blockEntity)
func_150813_a(TileEntity arg0)
addTileEntity(TileEntity tileEntityIn)
public void
a(et arg0, avj arg1)
method_9136(class_2552 arg0, class_226 arg1)
setBlockEntity(BlockPos pos, BlockEntity blockEntity)
func_177426_a(BlockPos arg0, TileEntity arg1)
addTileEntity(BlockPos pos, TileEntity tileEntityIn)
public void
d(et arg0)
method_9150(class_2552 arg0)
removeBlockEntity(BlockPos pos)
func_177425_e(BlockPos arg0)
removeTileEntity(BlockPos pos)
public void
c()
method_3902()
load()
func_76631_c()
onLoad()
public void
d()
method_3906()
unload()
func_76623_d()
onUnload()
public void
e()
method_3910()
markDirty()
func_76630_e()
markDirty()
public void
a(vg arg0, bhb arg1, List<vg> arg2, com.google.common.base.Predicate<? super vg> arg3)
method_9141(class_864 arg0, class_231 arg1, List<class_864> arg2, com.google.common.base.Predicate<? super class_864> arg3)
getEntities(Entity exclude, Box bounds, List<Entity> entities, com.google.common.base.Predicate<? super Entity> filter)
func_177414_a(Entity arg0, AxisAlignedBB arg1, List<Entity> arg2, com.google.common.base.Predicate<? super Entity> arg3)
getEntitiesWithinAABBForEntity(Entity entityIn, AxisAlignedBB aabb, List<Entity> listToFill, com.google.common.base.Predicate<? super Entity> filter)
public <T extends Entity> void
a(Class<? extends T> arg0, bhb arg1, List<T> arg2, com.google.common.base.Predicate<? super T> arg3)
method_9140(Class<? extends T> arg0, class_231 arg1, List<T> arg2, com.google.common.base.Predicate<? super T> arg3)
getEntitiesOfType(Class<? extends T> type, Box bounds, List<T> entities, com.google.common.base.Predicate<? super T> filter)
func_177430_a(Class<? extends T> arg0, AxisAlignedBB arg1, List<T> arg2, com.google.common.base.Predicate<? super T> arg3)
getEntitiesOfTypeWithinAABB(Class<? extends T> entityClass, AxisAlignedBB aabb, List<T> listToFill, com.google.common.base.Predicate<? super T> filter)
public boolean
a(boolean arg0)
method_3893(boolean arg0)
shouldSave(boolean saveEntities)
func_76601_a(boolean arg0)
needsSaving(boolean arg0)
public Random
a(long arg0)
method_3884(long arg0)
getRandomForSlime(long seed)
func_76617_a(long arg0)
getRandomWithSeed(long seed)
public boolean
f()
method_3914()
isEmpty()
func_76621_g()
isEmpty()
public void
a(axr arg0, axq arg1)
method_11769(class_1193 arg0, class_2744 arg1)
populate(ChunkSource cache, ChunkGenerator generator)
func_186030_a(IChunkProvider arg0, IChunkGenerator arg1)
populate(IChunkProvider chunkProvider, IChunkGenerator chunkGenrator)
protected void
a(axq arg0)
method_11768(class_2744 arg0)
populate(ChunkGenerator generator)
func_186034_a(IChunkGenerator arg0)
populate(IChunkGenerator generator)
public BlockPos
f(et arg0)
method_9156(class_2552 arg0)
getPrecipitationHeight(BlockPos pos)
func_177440_h(BlockPos arg0)
getPrecipitationHeight(BlockPos pos)
public void
b(boolean arg0)
method_6533(boolean arg0)
tick(boolean skipCheckGaps)
func_150804_b(boolean arg0)
onTick(boolean skipRecheckGaps)
public boolean
i()
method_6536()
isPopulated()
func_150802_k()
isPopulated()
public boolean
j()
method_11772()
hasTicked()
func_186035_j()
wasTicked()
public ChunkPos
k()
method_3920()
getPos()
func_76632_l()
getPos()
public boolean
c(int arg0, int arg1)
method_3903(int arg0, int arg1)
isEmpty(int minY, int maxY)
func_76606_c(int arg0, int arg1)
isEmptyBetween(int startY, int endY)
public void
a(axx[] arg0)
method_3896(class_1197[] arg0)
setSections(WorldChunkSection[] sections)
func_76602_a(ExtendedBlockStorage[] arg0)
setStorageArrays(ExtendedBlockStorage[] newStorageArrays)
public Biome
a(et arg0, anl arg1)
method_11771(class_2552 arg0, class_1178 arg1)
getBiome(BlockPos pos, BiomeSource source)
func_177411_a(BlockPos arg0, BiomeProvider arg1)
getBiome(BlockPos pos, BiomeProvider provider)
public byte[]
l()
method_3921()
getBiomes()
func_76605_m()
getBiomeArray()
public void
a(byte[] arg0)
method_3894(byte[] arg0)
setBiomes(byte[] biomes)
func_76616_a(byte[] arg0)
setBiomeArray(byte[] biomeArray)
public void
m()
method_3922()
resetBorderLightChecks()
func_76613_n()
resetRelightChecks()
public void
n()
method_3923()
checkBorderLight()
func_76594_o()
enqueueRelightChecks()
public void
o()
method_6537()
populateLight()
func_150809_p()
checkLight()
private void
z()
method_9167()
queueLightUpdates()
func_177441_y()
setSkylightUpdated()
private void
a(fa arg0)
method_9139(class_1354 arg0)
checkBorderLight(Direction side)
func_180700_a(EnumFacing arg0)
checkLightSide(EnumFacing facing)
private boolean
e(int arg0, int arg1)
method_6535(int arg0, int arg1)
checkLightAt(int localX, int localZ)
func_150811_f(int arg0, int arg1)
checkLight(int x, int z)
public boolean
p()
method_9158()
isLoaded()
func_177410_o()
isLoaded()
public World
q()
method_9159()
getWorld()
func_177412_p()
getWorld()
public int[]
r()
method_9160()
getHeightMap()
func_177445_q()
getHeightMap()
public void
a(int[] arg0)
method_9142(int[] arg0)
setHeightMap(int[] heightMap)
func_177420_a(int[] arg0)
setHeightMap(int[] newHeightMap)
public Map<BlockPos, BlockEntity>
s()
method_9161()
getBlockEntities()
func_177434_r()
getTileEntityMap()
public TypeInstanceMultiMap<Entity>[]
t()
method_9162()
getEntities()
func_177429_s()
getEntityLists()
public boolean
u()
method_9163()
isTerrainPopulated()
func_177419_t()
isTerrainPopulated()
public void
d(boolean arg0)
method_9149(boolean arg0)
setTerrainPopulated(boolean populated)
func_177446_d(boolean arg0)
setTerrainPopulated(boolean terrainPopulated)
public boolean
v()
method_9164()
isLightPopulated()
func_177423_u()
isLightPopulated()
public void
e(boolean arg0)
method_9151(boolean arg0)
setLightPopulated(boolean populated)
func_177421_e(boolean arg0)
setLightPopulated(boolean lightPopulated)
public void
f(boolean arg0)
method_9153(boolean arg0)
setDirty(boolean dirty)
func_177427_f(boolean arg0)
setModified(boolean modified)
public void
g(boolean arg0)
method_9155(boolean arg0)
setHasEntities(boolean hasEntities)
func_177409_g(boolean arg0)
setHasEntities(boolean hasEntitiesIn)
public void
b(long arg0)
method_9143(long arg0)
setLastSaveTime(long lastSaveTime)
func_177432_b(long arg0)
setLastSaveTime(long saveTime)
public int
w()
method_9165()
getLowestHeight()
func_177442_v()
getLowestHeight()
public long
x()
method_9166()
getInhabitedTime()
func_177416_w()
getInhabitedTime()
public void
c(long arg0)
method_9145(long arg0)
setInhabitedTime(long time)
func_177415_c(long arg0)
setInhabitedTime(long newInhabitedTime)
protected void
a()
method_3877()
populateHeightMapOnly()
func_76590_a()
generateHeightMap()
public void
a(gy arg0, int arg1, boolean arg2)
method_3895(class_1967 arg0, int arg1, boolean arg2)
update(PacketByteBuf buffer, int sections, boolean full)
func_186033_a(PacketBuffer arg0, int arg1, boolean arg2)
read(PacketBuffer buf, int availableSections, boolean groundUpContinuous)
public void
c(boolean arg0)
method_9147(boolean arg0)
setLoaded(boolean loaded)
func_177417_c(boolean arg0)
markLoaded(boolean loaded)