public class PonderWorld extends SchematicWorld
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<net.minecraft.util.math.BlockPos,java.lang.Integer> |
blockBreakingProgressions |
protected java.util.Map<net.minecraft.util.math.BlockPos,net.minecraft.block.BlockState> |
originalBlocks |
protected java.util.List<net.minecraft.entity.Entity> |
originalEntities |
protected java.util.Map<net.minecraft.util.math.BlockPos,net.minecraft.tileentity.TileEntity> |
originalTileEntities |
protected PonderWorldParticles |
particles |
PonderScene |
scene |
anchor, blocks, bounds, entities, renderedTileEntities, renderMode, tileEntitiesprovider, 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 |
|---|
PonderWorld(net.minecraft.util.math.BlockPos anchor,
net.minecraft.world.World original) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAlwaysVisibleParticle(net.minecraft.particles.IParticleData data,
double x,
double y,
double z,
double mx,
double my,
double mz) |
void |
addBlockDestroyEffects(net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state) |
void |
addParticle(net.minecraft.particles.IParticleData data,
double x,
double y,
double z,
double mx,
double my,
double mz) |
void |
addParticle(net.minecraft.client.particle.Particle p) |
void |
clearMask() |
void |
createBackup() |
void |
fixControllerTileEntities() |
java.util.Map<net.minecraft.util.math.BlockPos,java.lang.Integer> |
getBlockBreakingProgressions() |
net.minecraft.block.BlockState |
getBlockState(net.minecraft.util.math.BlockPos globalPos) |
int |
getBrightness(net.minecraft.world.LightType p_226658_1_,
net.minecraft.util.math.BlockPos p_226658_2_) |
net.minecraft.world.IBlockReader |
getChunkForCollisions(int p_225522_1_,
int p_225522_2_) |
boolean |
hasChunk(int x,
int y) |
boolean |
hasChunkAt(net.minecraft.util.math.BlockPos pos) |
boolean |
hasNearbyAlivePlayer(double p_217358_1_,
double p_217358_3_,
double p_217358_5_,
double p_217358_7_) |
boolean |
isLoaded(net.minecraft.util.math.BlockPos pos) |
protected void |
onTEadded(net.minecraft.tileentity.TileEntity tileEntity,
net.minecraft.util.math.BlockPos pos) |
void |
popLight() |
protected net.minecraft.block.BlockState |
processBlockStateForPrinting(net.minecraft.block.BlockState state) |
void |
pushFakeLight(int light) |
void |
renderEntities(com.mojang.blaze3d.matrix.MatrixStack ms,
SuperRenderTypeBuffer buffer,
net.minecraft.client.renderer.ActiveRenderInfo ari,
float pt) |
void |
renderParticles(com.mojang.blaze3d.matrix.MatrixStack ms,
net.minecraft.client.renderer.IRenderTypeBuffer buffer,
net.minecraft.client.renderer.ActiveRenderInfo ari,
float pt) |
void |
restore() |
void |
restoreBlocks(Selection selection) |
boolean |
setBlock(net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState arg1,
int arg2) |
void |
setBlockBreakingProgress(net.minecraft.util.math.BlockPos pos,
int damage) |
void |
setMask(Selection mask) |
void |
tick() |
addFreshEntity, destroyBlock, getAllPositions, getBiome, getBlockEntity, getBlockMap, getBlockTicks, getBounds, getEntities, getEntities, getEntitiesOfClass, getFluidState, getLevel, getLiquidTicks, getRenderedTileEntities, getSkyDarken, isStateAtPosition, players, removeBlock, sendBlockUpdatedblockEntityChanged, destroyBlockProgress, getChunkSource, getEntity, getFreeMapId, getLightEngine, getMapData, getMaxLocalRawBrightness, getRecipeManager, getScoreboard, getShade, getTagManager, getUncachedNoiseBiome, levelEvent, playSound, playSound, registryAccess, setMapData, updateNeighbourForOutputSignaladdAllPendingBlockEntities, addAlwaysVisibleParticle, addBlockEntity, addParticle, blockEvent, broadcastEntityEvent, close, createFireworks, destroyBlock, dimension, dimensionType, disconnect, explode, explode, explode, fillReportDetails, gatherChunkSourceStats, getBestNeighborSignal, getBiomeManager, getBlockRandomPos, getChunk, getChunk, getChunkAt, 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, 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, waitblockUpdated, dayTime, getChunkSource, getCurrentDifficultyAt, getDifficulty, getHeight, getLevelData, getRandom, levelEvent, levelEvent, playSoundgetBiomeName, getEntityCollisions, getHeightmapPos, isUnobstructed, registryAccessgetEntities, getEntitiesOfClass, getLoadedEntitiesOfClass, getLoadedEntitiesOfClass, getNearbyEntities, getNearbyPlayers, getNearestEntity, getNearestEntity, getNearestLoadedEntity, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getPlayerByUUIDdestroyBlock, destroyBlock, setBlockgetMoonBrightness, getMoonPhase, getTimeOfDaycanSeeSkyFromBelowWater, containsAnyLiquid, dimensionType, getBiomeManager, getBlockStatesIfLoaded, getBlockTint, getBrightness, getChunk, getChunk, getChunk, getChunk, getDirectSignal, getHeight, getMaxLocalRawBrightness, getMaxLocalRawBrightness, getNoiseBiome, getSeaLevel, getUncachedNoiseBiome, hasChunksAt, hasChunksAt, isAreaLoaded, isClientSide, isEmptyBlock, isWaterAtcanSeeSky, getLightEngine, getRawBrightness, getShadegetBlockCollisions, getBlockCollisions, getCollisions, getWorldBorder, isUnobstructed, isUnobstructed, noBlockCollision, noCollision, noCollision, noCollision, noCollisionpublic PonderScene scene
protected java.util.Map<net.minecraft.util.math.BlockPos,net.minecraft.block.BlockState> originalBlocks
protected java.util.Map<net.minecraft.util.math.BlockPos,net.minecraft.tileentity.TileEntity> originalTileEntities
protected java.util.Map<net.minecraft.util.math.BlockPos,java.lang.Integer> blockBreakingProgressions
protected java.util.List<net.minecraft.entity.Entity> originalEntities
protected PonderWorldParticles particles
public PonderWorld(net.minecraft.util.math.BlockPos anchor,
net.minecraft.world.World original)
public void createBackup()
public void restore()
public void restoreBlocks(Selection selection)
public void pushFakeLight(int light)
public void popLight()
public int getBrightness(net.minecraft.world.LightType p_226658_1_,
net.minecraft.util.math.BlockPos p_226658_2_)
getBrightness in interface net.minecraft.world.IBlockDisplayReadergetBrightness in class SchematicWorldpublic void setMask(Selection mask)
public void clearMask()
public net.minecraft.block.BlockState getBlockState(net.minecraft.util.math.BlockPos globalPos)
getBlockState in interface net.minecraft.world.IBlockReadergetBlockState in class SchematicWorldpublic net.minecraft.world.IBlockReader getChunkForCollisions(int p_225522_1_,
int p_225522_2_)
getChunkForCollisions in interface net.minecraft.world.ICollisionReadergetChunkForCollisions in interface net.minecraft.world.IWorldReadergetChunkForCollisions in class net.minecraft.world.Worldpublic void renderEntities(com.mojang.blaze3d.matrix.MatrixStack ms,
SuperRenderTypeBuffer buffer,
net.minecraft.client.renderer.ActiveRenderInfo ari,
float pt)
public void renderParticles(com.mojang.blaze3d.matrix.MatrixStack ms,
net.minecraft.client.renderer.IRenderTypeBuffer buffer,
net.minecraft.client.renderer.ActiveRenderInfo ari,
float pt)
public void tick()
public void addParticle(net.minecraft.particles.IParticleData data,
double x,
double y,
double z,
double mx,
double my,
double mz)
addParticle in interface net.minecraft.world.IWorldaddParticle in class net.minecraft.world.Worldpublic void addAlwaysVisibleParticle(net.minecraft.particles.IParticleData data,
double x,
double y,
double z,
double mx,
double my,
double mz)
addAlwaysVisibleParticle 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 SchematicWorldpublic void addParticle(net.minecraft.client.particle.Particle p)
protected void onTEadded(net.minecraft.tileentity.TileEntity tileEntity,
net.minecraft.util.math.BlockPos pos)
onTEadded in class SchematicWorldpublic void fixControllerTileEntities()
public void setBlockBreakingProgress(net.minecraft.util.math.BlockPos pos,
int damage)
public java.util.Map<net.minecraft.util.math.BlockPos,java.lang.Integer> getBlockBreakingProgressions()
public void addBlockDestroyEffects(net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state)
protected net.minecraft.block.BlockState processBlockStateForPrinting(net.minecraft.block.BlockState state)
processBlockStateForPrinting in class SchematicWorldpublic boolean hasChunkAt(net.minecraft.util.math.BlockPos pos)
hasChunkAt in interface net.minecraft.world.IWorldReaderhasChunkAt in class WrappedWorldpublic boolean hasChunk(int x,
int y)
public boolean isLoaded(net.minecraft.util.math.BlockPos pos)
isLoaded in class net.minecraft.world.Worldpublic boolean hasNearbyAlivePlayer(double p_217358_1_,
double p_217358_3_,
double p_217358_5_,
double p_217358_7_)