Class PlacementSimulationServerLevel
java.lang.Object
net.minecraft.world.level.Level
net.minecraft.server.level.ServerLevel
net.createmod.catnip.utility.levelWrappers.WrappedServerLevel
net.createmod.catnip.utility.levelWrappers.PlacementSimulationServerLevel
- All Implemented Interfaces:
io.github.fabricators_of_create.porting_lib.entity.extensions.LevelExtensions,io.github.fabricators_of_create.porting_lib.extensions.extensions.LevelExtensions,io.github.fabricators_of_create.porting_lib.extensions.extensions.LevelReaderExtensions,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.minecraft.world.level.SignalGetter,net.minecraft.world.level.WorldGenLevel
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.Level
net.minecraft.world.level.Level.ExplosionInteractionNested classes/interfaces inherited from interface io.github.fabricators_of_create.porting_lib.extensions.extensions.LevelExtensions
io.github.fabricators_of_create.porting_lib.extensions.extensions.LevelExtensions.ChangedPosData, io.github.fabricators_of_create.porting_lib.extensions.extensions.LevelExtensions.LevelSnapshotData -
Field Summary
FieldsModifier and TypeFieldDescriptionHashMap<net.minecraft.core.BlockPos,net.minecraft.world.level.block.state.BlockState> Fields inherited from class net.createmod.catnip.utility.levelWrappers.WrappedServerLevel
levelFields inherited from class net.minecraft.server.level.ServerLevel
END_SPAWN_POINT, noSave, raids, RAIN_DELAY, RAIN_DURATION, THUNDER_DURATIONFields inherited from class net.minecraft.world.level.Level
addend, blockEntityTickers, END, isClientSide, levelData, LONG_PARTICLE_CLIP_RANGE, MAX_BRIGHTNESS, MAX_ENTITY_SPAWN_Y, MAX_LEVEL_SIZE, MIN_ENTITY_SPAWN_Y, neighborUpdater, NETHER, oRainLevel, oThunderLevel, OVERWORLD, rainLevel, random, randValue, RESOURCE_KEY_CODEC, SHORT_PARTICLE_CLIP_RANGE, thunderLevel, TICKS_PER_DAYFields inherited from interface net.minecraft.world.level.SignalGetter
DIRECTIONS -
Constructor Summary
ConstructorsConstructorDescriptionPlacementSimulationServerLevel(net.minecraft.server.level.ServerLevel wrapped) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()net.minecraft.world.level.block.state.BlockStategetBlockState(net.minecraft.core.BlockPos pos) net.minecraft.world.level.material.FluidStategetFluidState(net.minecraft.core.BlockPos pos) booleanisAreaLoaded(net.minecraft.core.BlockPos center, int range) booleanisLoaded(net.minecraft.core.BlockPos pos) booleanisStateAtPosition(net.minecraft.core.BlockPos pos, Predicate<net.minecraft.world.level.block.state.BlockState> condition) booleansetBlock(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState newState, int flags) booleansetBlockAndUpdate(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) Methods inherited from class net.createmod.catnip.utility.levelWrappers.WrappedServerLevel
addFreshEntity, destroyBlockProgress, getBlockTicks, getEntity, getFluidTicks, getFreeMapId, getMapData, getMaxLocalRawBrightness, getRecipeManager, getSunAngle, getUncachedNoiseBiome, levelEvent, players, playSound, playSound, sendBlockUpdated, setMapDataMethods inherited from class net.minecraft.server.level.ServerLevel
addDuringCommandTeleport, addDuringPortalTeleport, addDuringTeleport, addLegacyChunkEntities, addNewPlayer, addRespawnedPlayer, addWithUUID, addWorldGenChunkEntities, areEntitiesLoaded, blockEvent, blockUpdated, broadcastDamageEvent, broadcastEntityEvent, canSleepThroughNights, clearBlockEvents, close, enabledFeatures, explode, findClosestBiome3d, findLightningTargetAround, findNearestMapStructure, gameEvent, gatherChunkSourceStats, getAllEntities, getChunkSource, getDataStorage, getDragonFight, getDragons, getEntities, getEntities, getEntities, getEntities, getEntity, getEntityOrPart, getForcedChunks, getLevel, getLogicalHeight, getPlayers, getPlayers, getPoiManager, getPortalForcer, getRaidAt, getRaids, getRandomPlayer, getRandomSequence, getRandomSequences, getScoreboard, getSeed, getServer, getShade, getStructureManager, getWatchdogStats, globalLevelEvent, isCloseToVillage, isFlat, isHandlingTick, isNaturalSpawningAllowed, isNaturalSpawningAllowed, isPositionEntityTicking, isRaided, isVillage, isVillage, makeObsidianPlatform, mayInteract, neighborChanged, neighborChanged, noSave, onBlockStateChange, onReputationEvent, onStructureStartsAvailable, playSeededSound, playSeededSound, removePlayerImmediately, resetEmptyTime, save, saveDebugReport, sectionsToVillage, sendParticles, sendParticles, sendParticles, setChunkForced, setDayTime, setDefaultSpawnPos, setDragonFight, setWeatherParameters, shouldTickBlocksAt, startTickingChunk, structureManager, tick, tickChunk, tickCustomSpawners, tickNonPassenger, tickTime, toString, tryAddFreshEntityWithPassengers, unload, updateNeighborsAt, updateNeighborsAtExceptFromFacing, updateSleepingPlayerListMethods inherited from class net.minecraft.world.level.Level
addAlwaysVisibleParticle, addAlwaysVisibleParticle, addBlockEntityTicker, addDestroyBlockEffect, addParticle, addParticle, blockEntityChanged, createFireworks, damageSources, destroyBlock, dimension, dimensionType, dimensionTypeId, dimensionTypeRegistration, disconnect, explode, explode, explode, explode, fillReportDetails, getBiomeManager, getBlockEntity, getBlockRandomPos, getChunk, getChunk, getChunkAt, getChunkForCollisions, getCurrentDifficultyAt, getDayTime, getEntities, getEntities, getEntities, getEntities, getGameRules, getGameTime, getHeight, getLevelData, getLightEngine, getProfiler, getProfilerSupplier, getRainLevel, getRandom, getSeaLevel, getSharedSpawnAngle, getSharedSpawnPos, getSkyDarken, getThunderLevel, getWorldBorder, guardEntityTick, isClientSide, isDay, isDebug, isFluidAtPosition, isInSpawnableBounds, isInWorldBounds, isNight, isRaining, isRainingAt, isThundering, loadedAndEntityCanStandOn, loadedAndEntityCanStandOnFace, neighborShapeChanged, nextSubTickCount, playLocalSound, playLocalSound, playSeededSound, playSound, playSound, prepareWeather, registryAccess, removeBlock, removeBlockEntity, sendPacketToServer, setBlock, setBlockEntity, setBlocksDirty, setRainLevel, setSkyFlashTime, setSpawnSettings, setThunderLevel, shouldTickBlocksAt, shouldTickDeath, tickBlockEntities, updateNeighbourForOutputSignal, updateSkyBrightnessMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.level.BlockAndTintGetter
canSeeSky, getBrightness, getLightEngine, getRawBrightnessMethods inherited from interface net.minecraft.world.level.BlockGetter
clip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockStates, getLightEmission, getMaxLightLevel, isBlockInLineMethods inherited from interface net.minecraft.world.level.CollisionGetter
collidesWithSuffocatingBlock, findFreePosition, findSupportingBlock, getBlockCollisions, getCollisions, getEntityCollisions, getWorldBorder, isUnobstructed, isUnobstructed, isUnobstructed, noCollision, noCollision, noCollisionMethods inherited from interface net.minecraft.world.level.CommonLevelAccessor
getBlockEntity, getEntityCollisions, getHeightmapPos, isUnobstructedMethods inherited from interface net.minecraft.world.level.EntityGetter
getEntities, getEntities, getEntities, getEntitiesOfClass, getEntitiesOfClass, getNearbyEntities, getNearbyPlayers, getNearestEntity, getNearestEntity, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getPlayerByUUID, hasNearbyAlivePlayerMethods inherited from interface net.minecraft.world.level.LevelAccessor
addParticle, dayTime, gameEvent, gameEvent, gameEvent, getCurrentDifficultyAt, getDifficulty, getLevelData, getRandom, hasChunk, levelEvent, neighborShapeChanged, nextSubTickCount, playSound, playSound, scheduleTick, scheduleTick, scheduleTick, scheduleTickMethods inherited from interface io.github.fabricators_of_create.porting_lib.entity.extensions.LevelExtensions
getPartEntities, getPartEntityMapMethods inherited from interface io.github.fabricators_of_create.porting_lib.extensions.extensions.LevelExtensions
addFreshBlockEntities, markAndNotifyBlock, snapshotParticipant, updateSnapshotsMethods 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, getBiome, getBiomeManager, getBlockStatesIfLoaded, getBlockTint, getChunk, getChunk, getChunk, getChunk, getChunkForCollisions, getHeight, getHeight, getLightLevelDependentMagicValue, getMaxLocalRawBrightness, getMinBuildHeight, getNoiseBiome, getPathfindingCostFromLightLevels, getSeaLevel, getSkyDarken, hasChunkAt, hasChunkAt, hasChunksAt, hasChunksAt, hasChunksAt, holderLookup, isClientSide, isEmptyBlock, isWaterAt, registryAccessMethods 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, destroyBlock, removeBlock, setBlockMethods inherited from interface net.minecraft.world.level.ServerLevelAccessor
addFreshEntityWithPassengersMethods inherited from interface net.minecraft.world.level.SignalGetter
getBestNeighborSignal, getControlInputSignal, getDirectSignal, getDirectSignalTo, getSignal, hasNeighborSignal, hasSignalMethods inherited from interface net.minecraft.world.level.WorldGenLevel
ensureCanWrite, setCurrentlyGenerating
-
Field Details
-
blocksAdded
public HashMap<net.minecraft.core.BlockPos,net.minecraft.world.level.block.state.BlockState> blocksAdded
-
-
Constructor Details
-
PlacementSimulationServerLevel
public PlacementSimulationServerLevel(net.minecraft.server.level.ServerLevel wrapped)
-
-
Method Details
-
clear
public void clear() -
setBlock
public boolean setBlock(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState newState, int flags) - Specified by:
setBlockin interfacenet.minecraft.world.level.LevelWriter- Overrides:
setBlockin classnet.minecraft.world.level.Level
-
setBlockAndUpdate
public boolean setBlockAndUpdate(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) - Overrides:
setBlockAndUpdatein classnet.minecraft.world.level.Level
-
isStateAtPosition
public boolean isStateAtPosition(net.minecraft.core.BlockPos pos, Predicate<net.minecraft.world.level.block.state.BlockState> condition) - Specified by:
isStateAtPositionin interfacenet.minecraft.world.level.LevelSimulatedReader- Overrides:
isStateAtPositionin classnet.minecraft.world.level.Level
-
isLoaded
public boolean isLoaded(net.minecraft.core.BlockPos pos) - Overrides:
isLoadedin classnet.minecraft.world.level.Level
-
isAreaLoaded
public boolean isAreaLoaded(net.minecraft.core.BlockPos center, int range) -
getBlockState
public net.minecraft.world.level.block.state.BlockState getBlockState(net.minecraft.core.BlockPos pos) - Specified by:
getBlockStatein interfacenet.minecraft.world.level.BlockGetter- Overrides:
getBlockStatein classnet.minecraft.world.level.Level
-
getFluidState
public net.minecraft.world.level.material.FluidState getFluidState(net.minecraft.core.BlockPos pos) - Specified by:
getFluidStatein interfacenet.minecraft.world.level.BlockGetter- Overrides:
getFluidStatein classnet.minecraft.world.level.Level
-