public class WrappedChunk
extends java.lang.Object
implements net.minecraft.world.chunk.IChunk
| Constructor and Description |
|---|
WrappedChunk(PlacementSimulationWorld world,
int x,
int z) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntity(net.minecraft.entity.Entity p_76612_1_) |
void |
addReferenceForFeature(net.minecraft.world.gen.feature.structure.Structure<?> arg0,
long arg1) |
java.util.Map<net.minecraft.world.gen.feature.structure.Structure<?>,it.unimi.dsi.fastutil.longs.LongSet> |
getAllReferences() |
java.util.Map<net.minecraft.world.gen.feature.structure.Structure<?>,net.minecraft.world.gen.feature.structure.StructureStart<?>> |
getAllStarts() |
net.minecraft.world.biome.BiomeContainer |
getBiomes() |
java.util.Set<net.minecraft.util.math.BlockPos> |
getBlockEntitiesPos() |
net.minecraft.tileentity.TileEntity |
getBlockEntity(net.minecraft.util.math.BlockPos pos) |
net.minecraft.nbt.CompoundNBT |
getBlockEntityNbt(net.minecraft.util.math.BlockPos p_201579_1_) |
net.minecraft.nbt.CompoundNBT |
getBlockEntityNbtForSaving(net.minecraft.util.math.BlockPos p_223134_1_) |
net.minecraft.block.BlockState |
getBlockState(net.minecraft.util.math.BlockPos pos) |
net.minecraft.world.ITickList<net.minecraft.block.Block> |
getBlockTicks() |
net.minecraft.fluid.FluidState |
getFluidState(net.minecraft.util.math.BlockPos p_204610_1_) |
int |
getHeight(net.minecraft.world.gen.Heightmap.Type p_201576_1_,
int p_201576_2_,
int p_201576_3_) |
java.util.Collection<java.util.Map.Entry<net.minecraft.world.gen.Heightmap.Type,net.minecraft.world.gen.Heightmap>> |
getHeightmaps() |
long |
getInhabitedTime() |
java.util.stream.Stream<net.minecraft.util.math.BlockPos> |
getLights() |
net.minecraft.world.ITickList<net.minecraft.fluid.Fluid> |
getLiquidTicks() |
net.minecraft.world.gen.Heightmap |
getOrCreateHeightmapUnprimed(net.minecraft.world.gen.Heightmap.Type p_217303_1_) |
net.minecraft.util.math.ChunkPos |
getPos() |
it.unimi.dsi.fastutil.shorts.ShortList[] |
getPostProcessing() |
it.unimi.dsi.fastutil.longs.LongSet |
getReferencesForFeature(net.minecraft.world.gen.feature.structure.Structure<?> arg0) |
net.minecraft.world.chunk.ChunkSection[] |
getSections() |
net.minecraft.world.gen.feature.structure.StructureStart<?> |
getStartForFeature(net.minecraft.world.gen.feature.structure.Structure<?> arg0) |
net.minecraft.world.chunk.ChunkStatus |
getStatus() |
net.minecraft.util.palette.UpgradeData |
getUpgradeData() |
boolean |
isLightCorrect() |
boolean |
isUnsaved() |
void |
removeBlockEntity(net.minecraft.util.math.BlockPos p_177425_1_) |
void |
setAllReferences(java.util.Map<net.minecraft.world.gen.feature.structure.Structure<?>,it.unimi.dsi.fastutil.longs.LongSet> arg0) |
void |
setAllStarts(java.util.Map<net.minecraft.world.gen.feature.structure.Structure<?>,net.minecraft.world.gen.feature.structure.StructureStart<?>> p_201612_1_) |
void |
setBlockEntity(net.minecraft.util.math.BlockPos p_177426_1_,
net.minecraft.tileentity.TileEntity p_177426_2_) |
net.minecraft.block.BlockState |
setBlockState(net.minecraft.util.math.BlockPos p_177436_1_,
net.minecraft.block.BlockState p_177436_2_,
boolean p_177436_3_) |
void |
setHeightmap(net.minecraft.world.gen.Heightmap.Type p_201607_1_,
long[] p_201607_2_) |
void |
setInhabitedTime(long p_177415_1_) |
void |
setLastSaveTime(long p_177432_1_) |
void |
setLightCorrect(boolean needsLight) |
void |
setStartForFeature(net.minecraft.world.gen.feature.structure.Structure<?> arg0,
net.minecraft.world.gen.feature.structure.StructureStart<?> arg1) |
void |
setUnsaved(boolean p_177427_1_) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic WrappedChunk(PlacementSimulationWorld world, int x, int z)
public java.util.stream.Stream<net.minecraft.util.math.BlockPos> getLights()
getLights in interface net.minecraft.world.chunk.IChunkpublic net.minecraft.world.chunk.ChunkSection[] getSections()
getSections in interface net.minecraft.world.chunk.IChunkpublic net.minecraft.world.chunk.ChunkStatus getStatus()
getStatus in interface net.minecraft.world.chunk.IChunk@Nullable
public net.minecraft.block.BlockState setBlockState(net.minecraft.util.math.BlockPos p_177436_1_,
net.minecraft.block.BlockState p_177436_2_,
boolean p_177436_3_)
setBlockState in interface net.minecraft.world.chunk.IChunkpublic void setBlockEntity(net.minecraft.util.math.BlockPos p_177426_1_,
net.minecraft.tileentity.TileEntity p_177426_2_)
setBlockEntity in interface net.minecraft.world.chunk.IChunkpublic void addEntity(net.minecraft.entity.Entity p_76612_1_)
addEntity in interface net.minecraft.world.chunk.IChunkpublic java.util.Set<net.minecraft.util.math.BlockPos> getBlockEntitiesPos()
getBlockEntitiesPos in interface net.minecraft.world.chunk.IChunkpublic java.util.Collection<java.util.Map.Entry<net.minecraft.world.gen.Heightmap.Type,net.minecraft.world.gen.Heightmap>> getHeightmaps()
getHeightmaps in interface net.minecraft.world.chunk.IChunkpublic void setHeightmap(net.minecraft.world.gen.Heightmap.Type p_201607_1_,
long[] p_201607_2_)
setHeightmap in interface net.minecraft.world.chunk.IChunkpublic net.minecraft.world.gen.Heightmap getOrCreateHeightmapUnprimed(net.minecraft.world.gen.Heightmap.Type p_217303_1_)
getOrCreateHeightmapUnprimed in interface net.minecraft.world.chunk.IChunkpublic int getHeight(net.minecraft.world.gen.Heightmap.Type p_201576_1_,
int p_201576_2_,
int p_201576_3_)
getHeight in interface net.minecraft.world.chunk.IChunkpublic net.minecraft.util.math.ChunkPos getPos()
getPos in interface net.minecraft.world.chunk.IChunkpublic void setLastSaveTime(long p_177432_1_)
setLastSaveTime in interface net.minecraft.world.chunk.IChunk@Nullable public net.minecraft.world.biome.BiomeContainer getBiomes()
getBiomes in interface net.minecraft.world.chunk.IChunkpublic void setUnsaved(boolean p_177427_1_)
setUnsaved in interface net.minecraft.world.chunk.IChunkpublic boolean isUnsaved()
isUnsaved in interface net.minecraft.world.chunk.IChunkpublic void removeBlockEntity(net.minecraft.util.math.BlockPos p_177425_1_)
removeBlockEntity in interface net.minecraft.world.chunk.IChunkpublic it.unimi.dsi.fastutil.shorts.ShortList[] getPostProcessing()
getPostProcessing in interface net.minecraft.world.chunk.IChunk@Nullable public net.minecraft.nbt.CompoundNBT getBlockEntityNbt(net.minecraft.util.math.BlockPos p_201579_1_)
getBlockEntityNbt in interface net.minecraft.world.chunk.IChunk@Nullable public net.minecraft.nbt.CompoundNBT getBlockEntityNbtForSaving(net.minecraft.util.math.BlockPos p_223134_1_)
getBlockEntityNbtForSaving in interface net.minecraft.world.chunk.IChunkpublic net.minecraft.world.ITickList<net.minecraft.block.Block> getBlockTicks()
getBlockTicks in interface net.minecraft.world.chunk.IChunkpublic net.minecraft.world.ITickList<net.minecraft.fluid.Fluid> getLiquidTicks()
getLiquidTicks in interface net.minecraft.world.chunk.IChunkpublic net.minecraft.util.palette.UpgradeData getUpgradeData()
getUpgradeData in interface net.minecraft.world.chunk.IChunkpublic void setInhabitedTime(long p_177415_1_)
setInhabitedTime in interface net.minecraft.world.chunk.IChunkpublic long getInhabitedTime()
getInhabitedTime in interface net.minecraft.world.chunk.IChunkpublic boolean isLightCorrect()
isLightCorrect in interface net.minecraft.world.chunk.IChunkpublic void setLightCorrect(boolean needsLight)
setLightCorrect in interface net.minecraft.world.chunk.IChunk@Nullable public net.minecraft.tileentity.TileEntity getBlockEntity(net.minecraft.util.math.BlockPos pos)
getBlockEntity in interface net.minecraft.world.IBlockReaderpublic net.minecraft.block.BlockState getBlockState(net.minecraft.util.math.BlockPos pos)
getBlockState in interface net.minecraft.world.IBlockReaderpublic net.minecraft.fluid.FluidState getFluidState(net.minecraft.util.math.BlockPos p_204610_1_)
getFluidState in interface net.minecraft.world.IBlockReaderpublic void addReferenceForFeature(net.minecraft.world.gen.feature.structure.Structure<?> arg0,
long arg1)
addReferenceForFeature in interface net.minecraft.world.IStructureReaderpublic java.util.Map<net.minecraft.world.gen.feature.structure.Structure<?>,it.unimi.dsi.fastutil.longs.LongSet> getAllReferences()
getAllReferences in interface net.minecraft.world.IStructureReaderpublic it.unimi.dsi.fastutil.longs.LongSet getReferencesForFeature(net.minecraft.world.gen.feature.structure.Structure<?> arg0)
getReferencesForFeature in interface net.minecraft.world.IStructureReaderpublic net.minecraft.world.gen.feature.structure.StructureStart<?> getStartForFeature(net.minecraft.world.gen.feature.structure.Structure<?> arg0)
getStartForFeature in interface net.minecraft.world.IStructureReaderpublic void setAllReferences(java.util.Map<net.minecraft.world.gen.feature.structure.Structure<?>,it.unimi.dsi.fastutil.longs.LongSet> arg0)
setAllReferences in interface net.minecraft.world.IStructureReaderpublic void setStartForFeature(net.minecraft.world.gen.feature.structure.Structure<?> arg0,
net.minecraft.world.gen.feature.structure.StructureStart<?> arg1)
setStartForFeature in interface net.minecraft.world.IStructureReaderpublic void setAllStarts(java.util.Map<net.minecraft.world.gen.feature.structure.Structure<?>,net.minecraft.world.gen.feature.structure.StructureStart<?>> p_201612_1_)
setAllStarts in interface net.minecraft.world.chunk.IChunkpublic java.util.Map<net.minecraft.world.gen.feature.structure.Structure<?>,net.minecraft.world.gen.feature.structure.StructureStart<?>> getAllStarts()
getAllStarts in interface net.minecraft.world.chunk.IChunk