Class PonderWorld
java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<net.minecraft.world.level.Level>
net.minecraft.world.level.Level
com.simibubi.create.foundation.utility.worldWrappers.WrappedWorld
com.simibubi.create.content.schematics.SchematicWorld
com.simibubi.create.foundation.ponder.PonderWorld
- All Implemented Interfaces:
AutoCloseable,net.minecraft.world.level.biome.BiomeManager.NoiseBiomeSource,net.minecraft.world.level.BlockAndTintGetter,net.minecraft.world.level.BlockGetter,net.minecraft.world.level.CollisionGetter,net.minecraft.world.level.CommonLevelAccessor,net.minecraft.world.level.EntityGetter,net.minecraft.world.level.LevelAccessor,net.minecraft.world.level.LevelHeightAccessor,net.minecraft.world.level.LevelReader,net.minecraft.world.level.LevelSimulatedReader,net.minecraft.world.level.LevelSimulatedRW,net.minecraft.world.level.LevelTimeAccess,net.minecraft.world.level.LevelWriter,net.minecraft.world.level.ServerLevelAccessor,net.minecraftforge.common.capabilities.ICapabilityProvider,net.minecraftforge.common.capabilities.ICapabilityProviderImpl<net.minecraft.world.level.Level>,net.minecraftforge.common.extensions.IForgeLevel
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
net.minecraftforge.common.capabilities.CapabilityProvider.AsField<B extends net.minecraftforge.common.capabilities.ICapabilityProviderImpl<B>> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map<net.minecraft.core.BlockPos,net.minecraft.world.level.block.state.BlockState> protected List<net.minecraft.world.entity.Entity>protected Map<net.minecraft.core.BlockPos,net.minecraft.world.level.block.entity.BlockEntity> protected PonderWorldParticlesFields inherited from class com.simibubi.create.content.schematics.SchematicWorld
anchor, blocks, bounds, entities, renderedTileEntities, renderMode, tileEntitiesFields inherited from class com.simibubi.create.foundation.utility.worldWrappers.WrappedWorld
entityGetter, provider, worldFields inherited from class net.minecraft.world.level.Level
addend, blockEntityTickers, captureBlockSnapshots, capturedBlockSnapshots, END, isClientSide, levelData, LOGGER, LONG_PARTICLE_CLIP_RANGE, MAX_BRIGHTNESS, MAX_ENTITY_SPAWN_Y, MAX_LEVEL_SIZE, MIN_ENTITY_SPAWN_Y, NETHER, oRainLevel, oThunderLevel, OVERWORLD, rainLevel, random, randValue, RESOURCE_KEY_CODEC, restoringBlockSnapshots, SHORT_PARTICLE_CLIP_RANGE, thunderLevel, TICKS_PER_DAY -
Constructor Summary
ConstructorsConstructorDescriptionPonderWorld(net.minecraft.core.BlockPos anchor, net.minecraft.world.level.Level original) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAlwaysVisibleParticle(net.minecraft.core.particles.ParticleOptions data, double x, double y, double z, double mx, double my, double mz) voidaddBlockDestroyEffects(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) voidaddParticle(net.minecraft.client.particle.Particle p) voidaddParticle(net.minecraft.core.particles.ParticleOptions data, double x, double y, double z, double mx, double my, double mz) voidvoidvoidnet.minecraft.world.level.block.state.BlockStategetBlockState(net.minecraft.core.BlockPos globalPos) intgetBrightness(net.minecraft.world.level.LightLayer p_226658_1_, net.minecraft.core.BlockPos p_226658_2_) net.minecraft.world.level.BlockGettergetChunkForCollisions(int p_225522_1_, int p_225522_2_) booleanhasChunk(int x, int y) booleanhasChunkAt(net.minecraft.core.BlockPos pos) booleanhasNearbyAlivePlayer(double p_217358_1_, double p_217358_3_, double p_217358_5_, double p_217358_7_) booleanisLoaded(net.minecraft.core.BlockPos pos) protected voidonTEadded(net.minecraft.world.level.block.entity.BlockEntity tileEntity, net.minecraft.core.BlockPos pos) voidpopLight()protected net.minecraft.world.level.block.state.BlockStateprocessBlockStateForPrinting(net.minecraft.world.level.block.state.BlockState state) voidpushFakeLight(int light) voidrenderEntities(com.mojang.blaze3d.vertex.PoseStack ms, SuperRenderTypeBuffer buffer, net.minecraft.client.Camera ari, float pt) voidrenderParticles(com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.client.Camera ari, float pt) voidrestore()voidrestoreBlocks(Selection selection) booleansetBlock(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState arg1, int arg2) voidsetBlockBreakingProgress(net.minecraft.core.BlockPos pos, int damage) voidvoidtick()Methods inherited from class com.simibubi.create.content.schematics.SchematicWorld
addFreshEntity, destroyBlock, getAllPositions, getBiome, getBlockEntity, getBlockMap, getBlockTicks, getBounds, getEntities, getEntitiesOfClass, getEntityStream, getFluidState, getFluidTicks, getLevel, getRenderedTileEntities, getSkyDarken, isStateAtPosition, players, removeBlock, sendBlockUpdatedMethods inherited from class com.simibubi.create.foundation.utility.worldWrappers.WrappedWorld
destroyBlockProgress, gameEvent, gatherChunkSourceStats, getChunkSource, getEntities, getEntity, getFreeMapId, getLightEngine, getMapData, getMaxLocalRawBrightness, getRecipeManager, getScoreboard, getShade, getTagManager, getUncachedNoiseBiome, levelEvent, playSound, playSound, registryAccess, setMapData, updateNeighbourForOutputSignalMethods inherited from class net.minecraft.world.level.Level
addAlwaysVisibleParticle, addBlockEntityTicker, addDestroyBlockEffect, addFreshBlockEntities, addParticle, blockEntityChanged, blockEvent, broadcastEntityEvent, close, createFireworks, destroyBlock, dimension, dimensionType, disconnect, explode, explode, explode, fillReportDetails, getBestNeighborSignal, getBiomeManager, getBlockRandomPos, getChunk, getChunk, getChunkAt, getCurrentDifficultyAt, getDayTime, getDirectSignalTo, getEntities, getGameRules, getGameTime, getHeight, getLevelData, getMaxEntityRadius, getProfiler, getProfilerSupplier, getRainLevel, getRandom, getSeaLevel, getServer, getSignal, getSunAngle, getThunderLevel, getWorldBorder, globalLevelEvent, guardEntityTick, hasNeighborSignal, hasSignal, increaseMaxEntityRadius, isClientSide, isDay, isDebug, isFluidAtPosition, isHumidAt, isInSpawnableBounds, isInWorldBounds, isNight, isRaining, isRainingAt, isThundering, loadedAndEntityCanStandOn, loadedAndEntityCanStandOnFace, markAndNotifyBlock, mayInteract, neighborChanged, nextSubTickCount, noSave, onBlockStateChange, playLocalSound, playSound, postGameEventInRadius, prepareWeather, removeBlockEntity, sendPacketToServer, setBlock, setBlockAndUpdate, setBlockEntity, setBlocksDirty, setRainLevel, setSkyFlashTime, setSpawnSettings, setThunderLevel, shouldDelayFallingBlockEntityRemoval, shouldTickBlocksAt, shouldTickDeath, tickBlockEntities, updateNeighborsAt, updateNeighborsAtExceptFromFacing, updateSkyBrightnessMethods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.BlockAndTintGetter
canSeeSky, getLightEngine, getRawBrightness, getShadeMethods inherited from interface net.minecraft.world.level.BlockGetter
clip, clipWithInteractionOverride, getBlockFloorHeight, getBlockFloorHeight, getBlockStates, getLightEmission, getMaxLightLevel, isBlockInLineMethods inherited from interface net.minecraft.world.level.CollisionGetter
collidesWithSuffocatingBlock, findFreePosition, getBlockCollisions, getCollisions, getEntityCollisions, getWorldBorder, isUnobstructed, isUnobstructed, isUnobstructed, noCollision, noCollision, noCollisionMethods inherited from interface net.minecraft.world.level.CommonLevelAccessor
getBiomeName, getBlockEntity, getEntityCollisions, getHeightmapPos, isUnobstructed, registryAccessMethods inherited from interface net.minecraft.world.level.EntityGetter
getEntities, getEntities, getEntitiesOfClass, getNearbyEntities, getNearbyPlayers, getNearestEntity, getNearestEntity, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getPlayerByUUIDMethods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider
getCapability, getCapabilityMethods inherited from interface net.minecraft.world.level.LevelAccessor
blockUpdated, dayTime, gameEvent, gameEvent, gameEvent, gameEvent, getChunkSource, getCurrentDifficultyAt, getDifficulty, getLevelData, getRandom, getServer, levelEvent, levelEvent, nextSubTickCount, playSound, scheduleTick, scheduleTick, scheduleTick, scheduleTickMethods inherited from interface net.minecraft.world.level.LevelHeightAccessor
getMaxBuildHeight, getMaxSection, getMinSection, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isOutsideBuildHeight, isOutsideBuildHeightMethods inherited from interface net.minecraft.world.level.LevelReader
canSeeSkyFromBelowWater, containsAnyLiquid, dimensionType, getBiomeManager, getBlockStatesIfLoaded, getBlockTint, getBrightness, getChunk, getChunk, getChunk, getChunk, getDirectSignal, getHeight, getHeight, getMaxLocalRawBrightness, getMaxLocalRawBrightness, getMinBuildHeight, getNoiseBiome, getSeaLevel, getUncachedNoiseBiome, hasChunkAt, hasChunksAt, hasChunksAt, hasChunksAt, isAreaLoaded, isClientSide, isEmptyBlock, isWaterAtMethods inherited from interface net.minecraft.world.level.LevelSimulatedReader
isFluidAtPositionMethods inherited from interface net.minecraft.world.level.LevelTimeAccess
getMoonBrightness, getMoonPhase, getTimeOfDayMethods inherited from interface net.minecraft.world.level.LevelWriter
destroyBlock, destroyBlock, setBlockMethods inherited from interface net.minecraft.world.level.ServerLevelAccessor
addFreshEntityWithPassengers
-
Field Details
-
scene
-
originalBlocks
protected Map<net.minecraft.core.BlockPos,net.minecraft.world.level.block.state.BlockState> originalBlocks -
originalTileEntities
protected Map<net.minecraft.core.BlockPos,net.minecraft.world.level.block.entity.BlockEntity> originalTileEntities -
blockBreakingProgressions
-
originalEntities
-
particles
-
-
Constructor Details
-
PonderWorld
public PonderWorld(net.minecraft.core.BlockPos anchor, net.minecraft.world.level.Level original)
-
-
Method Details
-
createBackup
public void createBackup() -
restore
public void restore() -
restoreBlocks
-
pushFakeLight
public void pushFakeLight(int light) -
popLight
public void popLight() -
getBrightness
public int getBrightness(net.minecraft.world.level.LightLayer p_226658_1_, net.minecraft.core.BlockPos p_226658_2_) - Specified by:
getBrightnessin interfacenet.minecraft.world.level.BlockAndTintGetter- Overrides:
getBrightnessin classSchematicWorld
-
setMask
-
clearMask
public void clearMask() -
getBlockState
public net.minecraft.world.level.block.state.BlockState getBlockState(net.minecraft.core.BlockPos globalPos) - Specified by:
getBlockStatein interfacenet.minecraft.world.level.BlockGetter- Overrides:
getBlockStatein classSchematicWorld
-
getChunkForCollisions
public net.minecraft.world.level.BlockGetter getChunkForCollisions(int p_225522_1_, int p_225522_2_) - Specified by:
getChunkForCollisionsin interfacenet.minecraft.world.level.CollisionGetter- Specified by:
getChunkForCollisionsin interfacenet.minecraft.world.level.LevelReader- Overrides:
getChunkForCollisionsin classnet.minecraft.world.level.Level
-
renderEntities
public void renderEntities(com.mojang.blaze3d.vertex.PoseStack ms, SuperRenderTypeBuffer buffer, net.minecraft.client.Camera ari, float pt) -
renderParticles
public void renderParticles(com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.client.Camera ari, float pt) -
tick
public void tick() -
addParticle
public void addParticle(net.minecraft.core.particles.ParticleOptions data, double x, double y, double z, double mx, double my, double mz) - Specified by:
addParticlein interfacenet.minecraft.world.level.LevelAccessor- Overrides:
addParticlein classnet.minecraft.world.level.Level
-
addAlwaysVisibleParticle
public void addAlwaysVisibleParticle(net.minecraft.core.particles.ParticleOptions data, double x, double y, double z, double mx, double my, double mz) - Overrides:
addAlwaysVisibleParticlein classnet.minecraft.world.level.Level
-
setBlock
public boolean setBlock(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState arg1, int arg2) - Specified by:
setBlockin interfacenet.minecraft.world.level.LevelWriter- Overrides:
setBlockin classSchematicWorld
-
addParticle
public void addParticle(net.minecraft.client.particle.Particle p) -
onTEadded
protected void onTEadded(net.minecraft.world.level.block.entity.BlockEntity tileEntity, net.minecraft.core.BlockPos pos) - Overrides:
onTEaddedin classSchematicWorld
-
fixControllerTileEntities
public void fixControllerTileEntities() -
setBlockBreakingProgress
public void setBlockBreakingProgress(net.minecraft.core.BlockPos pos, int damage) -
getBlockBreakingProgressions
-
addBlockDestroyEffects
public void addBlockDestroyEffects(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) -
processBlockStateForPrinting
protected net.minecraft.world.level.block.state.BlockState processBlockStateForPrinting(net.minecraft.world.level.block.state.BlockState state) - Overrides:
processBlockStateForPrintingin classSchematicWorld
-
hasChunkAt
public boolean hasChunkAt(net.minecraft.core.BlockPos pos) - Specified by:
hasChunkAtin interfacenet.minecraft.world.level.LevelReader- Overrides:
hasChunkAtin classWrappedWorld
-
hasChunk
public boolean hasChunk(int x, int y) -
isLoaded
public boolean isLoaded(net.minecraft.core.BlockPos pos) - Overrides:
isLoadedin classnet.minecraft.world.level.Level
-
hasNearbyAlivePlayer
public boolean hasNearbyAlivePlayer(double p_217358_1_, double p_217358_3_, double p_217358_5_, double p_217358_7_)
-