public class SchematicWorld extends WrappedWorld implements net.minecraft.world.IServerWorld
| Modifier and Type | Field and Description |
|---|---|
net.minecraft.util.math.BlockPos |
anchor |
protected java.util.Map<net.minecraft.util.math.BlockPos,net.minecraft.block.BlockState> |
blocks |
protected net.minecraft.util.math.MutableBoundingBox |
bounds |
protected java.util.List<net.minecraft.entity.Entity> |
entities |
protected java.util.List<net.minecraft.tileentity.TileEntity> |
renderedTileEntities |
boolean |
renderMode |
protected java.util.Map<net.minecraft.util.math.BlockPos,net.minecraft.tileentity.TileEntity> |
tileEntities |
provider, worldaddend, blockEntitiesToUnload, blockEntityList, captureBlockSnapshots, capturedBlockSnapshots, END, isClientSide, levelData, LOGGER, NETHER, oRainLevel, oThunderLevel, OVERWORLD, pendingBlockEntities, rainLevel, random, randValue, RESOURCE_KEY_CODEC, restoringBlockSnapshots, thunderLevel, tickableBlockEntities, updatingBlockEntities| Constructor and Description |
|---|
SchematicWorld(net.minecraft.util.math.BlockPos anchor,
net.minecraft.world.World original) |
SchematicWorld(net.minecraft.world.World original) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addFreshEntity(net.minecraft.entity.Entity entityIn) |
boolean |
destroyBlock(net.minecraft.util.math.BlockPos arg0,
boolean arg1) |
java.util.Set<net.minecraft.util.math.BlockPos> |
getAllPositions() |
net.minecraft.world.biome.Biome |
getBiome(net.minecraft.util.math.BlockPos pos) |
net.minecraft.tileentity.TileEntity |
getBlockEntity(net.minecraft.util.math.BlockPos pos) |
java.util.Map<net.minecraft.util.math.BlockPos,net.minecraft.block.BlockState> |
getBlockMap() |
net.minecraft.block.BlockState |
getBlockState(net.minecraft.util.math.BlockPos globalPos) |
net.minecraft.world.ITickList<net.minecraft.block.Block> |
getBlockTicks() |
net.minecraft.util.math.MutableBoundingBox |
getBounds() |
int |
getBrightness(net.minecraft.world.LightType p_226658_1_,
net.minecraft.util.math.BlockPos p_226658_2_) |
java.util.stream.Stream<net.minecraft.entity.Entity> |
getEntities() |
java.util.List<net.minecraft.entity.Entity> |
getEntities(net.minecraft.entity.Entity arg0,
net.minecraft.util.math.AxisAlignedBB arg1,
java.util.function.Predicate<? super net.minecraft.entity.Entity> arg2) |
<T extends net.minecraft.entity.Entity> |
getEntitiesOfClass(java.lang.Class<? extends T> arg0,
net.minecraft.util.math.AxisAlignedBB arg1,
java.util.function.Predicate<? super T> arg2) |
net.minecraft.fluid.FluidState |
getFluidState(net.minecraft.util.math.BlockPos pos) |
net.minecraft.world.server.ServerWorld |
getLevel() |
net.minecraft.world.ITickList<net.minecraft.fluid.Fluid> |
getLiquidTicks() |
java.lang.Iterable<net.minecraft.tileentity.TileEntity> |
getRenderedTileEntities() |
int |
getSkyDarken() |
boolean |
isStateAtPosition(net.minecraft.util.math.BlockPos pos,
java.util.function.Predicate<net.minecraft.block.BlockState> predicate) |
protected void |
onTEadded(net.minecraft.tileentity.TileEntity tileEntity,
net.minecraft.util.math.BlockPos pos) |
java.util.List<? extends net.minecraft.entity.player.PlayerEntity> |
players() |
protected net.minecraft.block.BlockState |
processBlockStateForPrinting(net.minecraft.block.BlockState state) |
boolean |
removeBlock(net.minecraft.util.math.BlockPos arg0,
boolean arg1) |
void |
sendBlockUpdated(net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState oldState,
net.minecraft.block.BlockState newState,
int flags) |
boolean |
setBlock(net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState arg1,
int arg2) |
blockEntityChanged, destroyBlockProgress, getChunkSource, getEntity, getFreeMapId, getLightEngine, getMapData, getMaxLocalRawBrightness, getRecipeManager, getScoreboard, getShade, getTagManager, getUncachedNoiseBiome, hasChunkAt, levelEvent, playSound, playSound, registryAccess, setMapData, updateNeighbourForOutputSignaladdAllPendingBlockEntities, addAlwaysVisibleParticle, addAlwaysVisibleParticle, addBlockEntity, addParticle, addParticle, blockEvent, broadcastEntityEvent, close, createFireworks, destroyBlock, dimension, dimensionType, disconnect, explode, explode, explode, fillReportDetails, gatherChunkSourceStats, getBestNeighborSignal, getBiomeManager, getBlockRandomPos, getChunk, getChunk, getChunkAt, getChunkForCollisions, getCurrentDifficultyAt, getDayTime, getDirectSignalTo, getEntities, getGameRules, getGameTime, getHeight, getLevelData, getLoadedEntitiesOfClass, getMaxEntityRadius, getProfiler, getProfilerSupplier, getRainLevel, getRandom, getSeaLevel, getServer, getSignal, getSunAngle, getThunderLevel, getWorldBorder, globalLevelEvent, guardEntityTick, hasNeighborSignal, hasSignal, increaseMaxEntityRadius, isClientSide, isDay, isDebug, isHumidAt, isInSpawnableBounds, isInWorldBounds, isLoaded, isNight, isOutsideBuildHeight, isOutsideBuildHeight, isRaining, isRainingAt, isThundering, loadedAndEntityCanStandOn, loadedAndEntityCanStandOnFace, markAndNotifyBlock, mayInteract, neighborChanged, noSave, onBlockStateChange, playLocalSound, playSound, prepareWeather, removeBlockEntity, sendPacketToServer, setBlock, setBlockAndUpdate, setBlockEntity, setBlocksDirty, setRainLevel, setSkyFlashTime, setSpawnSettings, setThunderLevel, tickBlockEntities, updateNeighborsAt, updateNeighborsAtExceptFromFacing, updateSkyBrightnessareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddParticle, blockUpdated, dayTime, getChunkSource, getCurrentDifficultyAt, getDifficulty, getHeight, getLevelData, getRandom, hasChunk, levelEvent, levelEvent, playSoundgetBiomeName, getEntityCollisions, getHeightmapPos, isUnobstructed, registryAccessgetEntities, getEntitiesOfClass, getLoadedEntitiesOfClass, getLoadedEntitiesOfClass, getNearbyEntities, getNearbyPlayers, getNearestEntity, getNearestEntity, getNearestLoadedEntity, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getPlayerByUUID, hasNearbyAlivePlayerdestroyBlock, destroyBlock, setBlockgetMoonBrightness, getMoonPhase, getTimeOfDaycanSeeSkyFromBelowWater, containsAnyLiquid, dimensionType, getBiomeManager, getBlockStatesIfLoaded, getBlockTint, getBrightness, getChunk, getChunk, getChunk, getChunk, getChunkForCollisions, getDirectSignal, getHeight, getMaxLocalRawBrightness, getMaxLocalRawBrightness, getNoiseBiome, getSeaLevel, getUncachedNoiseBiome, hasChunkAt, hasChunksAt, hasChunksAt, isAreaLoaded, isClientSide, isEmptyBlock, isWaterAtcanSeeSky, getLightEngine, getRawBrightness, getShadegetBlockCollisions, getBlockCollisions, getCollisions, getWorldBorder, isUnobstructed, isUnobstructed, noBlockCollision, noCollision, noCollision, noCollision, noCollisionprotected java.util.Map<net.minecraft.util.math.BlockPos,net.minecraft.block.BlockState> blocks
protected java.util.Map<net.minecraft.util.math.BlockPos,net.minecraft.tileentity.TileEntity> tileEntities
protected java.util.List<net.minecraft.tileentity.TileEntity> renderedTileEntities
protected java.util.List<net.minecraft.entity.Entity> entities
protected net.minecraft.util.math.MutableBoundingBox bounds
public net.minecraft.util.math.BlockPos anchor
public boolean renderMode
public SchematicWorld(net.minecraft.world.World original)
public SchematicWorld(net.minecraft.util.math.BlockPos anchor,
net.minecraft.world.World original)
public java.util.Set<net.minecraft.util.math.BlockPos> getAllPositions()
public boolean addFreshEntity(net.minecraft.entity.Entity entityIn)
addFreshEntity in interface net.minecraft.world.IWorldWriteraddFreshEntity in class WrappedWorldpublic java.util.stream.Stream<net.minecraft.entity.Entity> getEntities()
public net.minecraft.tileentity.TileEntity getBlockEntity(net.minecraft.util.math.BlockPos pos)
getBlockEntity in interface net.minecraft.world.IBlockReadergetBlockEntity in class WrappedWorldprotected void onTEadded(net.minecraft.tileentity.TileEntity tileEntity,
net.minecraft.util.math.BlockPos pos)
public net.minecraft.block.BlockState getBlockState(net.minecraft.util.math.BlockPos globalPos)
getBlockState in interface net.minecraft.world.IBlockReadergetBlockState in class WrappedWorldpublic java.util.Map<net.minecraft.util.math.BlockPos,net.minecraft.block.BlockState> getBlockMap()
public net.minecraft.fluid.FluidState getFluidState(net.minecraft.util.math.BlockPos pos)
getFluidState in interface net.minecraft.world.IBlockReadergetFluidState in class net.minecraft.world.Worldpublic net.minecraft.world.biome.Biome getBiome(net.minecraft.util.math.BlockPos pos)
getBiome in interface net.minecraft.world.IWorldReaderpublic int getBrightness(net.minecraft.world.LightType p_226658_1_,
net.minecraft.util.math.BlockPos p_226658_2_)
getBrightness in interface net.minecraft.world.IBlockDisplayReaderpublic java.util.List<net.minecraft.entity.Entity> getEntities(net.minecraft.entity.Entity arg0,
net.minecraft.util.math.AxisAlignedBB arg1,
java.util.function.Predicate<? super net.minecraft.entity.Entity> arg2)
getEntities in interface net.minecraft.world.IEntityReadergetEntities in class net.minecraft.world.Worldpublic <T extends net.minecraft.entity.Entity> java.util.List<T> getEntitiesOfClass(java.lang.Class<? extends T> arg0,
net.minecraft.util.math.AxisAlignedBB arg1,
java.util.function.Predicate<? super T> arg2)
getEntitiesOfClass in interface net.minecraft.world.IEntityReadergetEntitiesOfClass in class net.minecraft.world.Worldpublic java.util.List<? extends net.minecraft.entity.player.PlayerEntity> players()
players in interface net.minecraft.world.IEntityReaderplayers in class WrappedWorldpublic int getSkyDarken()
getSkyDarken in interface net.minecraft.world.IWorldReadergetSkyDarken in class net.minecraft.world.Worldpublic boolean isStateAtPosition(net.minecraft.util.math.BlockPos pos,
java.util.function.Predicate<net.minecraft.block.BlockState> predicate)
isStateAtPosition in interface net.minecraft.world.gen.IWorldGenerationBaseReaderisStateAtPosition in class WrappedWorldpublic boolean destroyBlock(net.minecraft.util.math.BlockPos arg0,
boolean arg1)
destroyBlock in interface net.minecraft.world.IWorldWriterpublic boolean removeBlock(net.minecraft.util.math.BlockPos arg0,
boolean arg1)
removeBlock in interface net.minecraft.world.IWorldWriterremoveBlock in class net.minecraft.world.Worldpublic boolean setBlock(net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState arg1,
int arg2)
setBlock in interface net.minecraft.world.IWorldWritersetBlock in class WrappedWorldpublic void sendBlockUpdated(net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState oldState,
net.minecraft.block.BlockState newState,
int flags)
sendBlockUpdated in class WrappedWorldpublic net.minecraft.world.ITickList<net.minecraft.block.Block> getBlockTicks()
getBlockTicks in interface net.minecraft.world.IWorldgetBlockTicks in class WrappedWorldpublic net.minecraft.world.ITickList<net.minecraft.fluid.Fluid> getLiquidTicks()
getLiquidTicks in interface net.minecraft.world.IWorldgetLiquidTicks in class WrappedWorldpublic net.minecraft.util.math.MutableBoundingBox getBounds()
public java.lang.Iterable<net.minecraft.tileentity.TileEntity> getRenderedTileEntities()
protected net.minecraft.block.BlockState processBlockStateForPrinting(net.minecraft.block.BlockState state)
public net.minecraft.world.server.ServerWorld getLevel()
getLevel in interface net.minecraft.world.IServerWorldgetLevel in class WrappedWorld