Package net.createmod.ponder.api.level
Class EmptyLevel
java.lang.Object
net.minecraft.world.level.Level
net.createmod.ponder.api.level.EmptyLevel
- 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
public class EmptyLevel
extends net.minecraft.world.level.Level
-
Field Summary
Fields 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_DAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroyBlockProgress(int i, net.minecraft.core.BlockPos blockPos, int i1) voidgameEvent(net.minecraft.world.level.gameevent.GameEvent gameEvent, net.minecraft.world.phys.Vec3 vec3, net.minecraft.world.level.gameevent.GameEvent.Context context) net.minecraft.world.ticks.LevelTickAccess<net.minecraft.world.level.block.Block>net.minecraft.world.level.chunk.ChunkSourceprotected net.minecraft.world.level.entity.LevelEntityGetter<net.minecraft.world.entity.Entity>@Nullable net.minecraft.world.entity.EntitygetEntity(int i) net.minecraft.world.ticks.LevelTickAccess<net.minecraft.world.level.material.Fluid>int@Nullable net.minecraft.world.level.saveddata.maps.MapItemSavedDatagetMapData(String s) net.minecraft.world.item.crafting.RecipeManagernet.minecraft.world.scores.ScoreboardfloatgetShade(net.minecraft.core.Direction direction, boolean b) net.minecraft.core.Holder<net.minecraft.world.level.biome.Biome>getUncachedNoiseBiome(int i, int i1, int i2) voidlevelEvent(@Nullable net.minecraft.world.entity.player.Player player, int i, net.minecraft.core.BlockPos blockPos, int i1) List<? extends net.minecraft.world.entity.player.Player>players()voidplaySeededSound(@Nullable net.minecraft.world.entity.player.Player player, double v, double v1, double v2, net.minecraft.sounds.SoundEvent soundEvent, net.minecraft.sounds.SoundSource soundSource, float v3, float v4, long l) voidplaySeededSound(@Nullable net.minecraft.world.entity.player.Player player, net.minecraft.world.entity.Entity entity, net.minecraft.sounds.SoundEvent soundEvent, net.minecraft.sounds.SoundSource soundSource, float v, float v1, long l) net.minecraft.core.RegistryAccessvoidsendBlockUpdated(net.minecraft.core.BlockPos blockPos, net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.level.block.state.BlockState blockState1, int i) voidsetMapData(String s, net.minecraft.world.level.saveddata.maps.MapItemSavedData mapItemSavedData) Methods inherited from class net.minecraft.world.level.Level
addAlwaysVisibleParticle, addAlwaysVisibleParticle, addBlockEntityTicker, addDestroyBlockEffect, addParticle, addParticle, blockEntityChanged, blockEvent, broadcastEntityEvent, close, createFireworks, destroyBlock, dimension, dimensionType, dimensionTypeId, dimensionTypeRegistration, disconnect, explode, explode, explode, fillReportDetails, getBestNeighborSignal, getBiomeManager, getBlockEntity, getBlockRandomPos, getBlockState, getChunk, getChunk, getChunkAt, getChunkForCollisions, getCurrentDifficultyAt, getDayTime, getDirectSignalTo, getEntities, getEntities, getFluidState, getGameRules, getGameTime, getHeight, getLevelData, getLightEngine, getProfiler, getProfilerSupplier, getRainLevel, getRandom, getSeaLevel, getServer, getSharedSpawnAngle, getSharedSpawnPos, getSignal, getSkyDarken, getSunAngle, getThunderLevel, getWorldBorder, globalLevelEvent, guardEntityTick, hasNeighborSignal, hasSignal, isClientSide, isDay, isDebug, isFluidAtPosition, isHumidAt, isInSpawnableBounds, isInWorldBounds, isLoaded, isNight, isRaining, isRainingAt, isStateAtPosition, isThundering, loadedAndEntityCanStandOn, loadedAndEntityCanStandOnFace, mayInteract, neighborChanged, neighborChanged, neighborShapeChanged, nextSubTickCount, noSave, onBlockStateChange, playLocalSound, playSound, playSound, playSound, prepareWeather, removeBlock, removeBlockEntity, sendPacketToServer, setBlock, setBlock, setBlockAndUpdate, setBlockEntity, setBlocksDirty, setRainLevel, setSkyFlashTime, setSpawnSettings, setThunderLevel, shouldTickBlocksAt, shouldTickBlocksAt, shouldTickDeath, tickBlockEntities, updateNeighborsAt, updateNeighborsAtExceptFromFacing, updateNeighbourForOutputSignal, updateSkyBrightnessMethods 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, getBrightness, getRawBrightnessMethods 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, 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, getEntitiesOfClass, getEntitiesOfClass, getNearbyEntities, getNearbyPlayers, getNearestEntity, getNearestEntity, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getPlayerByUUID, hasNearbyAlivePlayerMethods inherited from interface net.minecraft.world.level.LevelAccessor
blockUpdated, dayTime, gameEvent, gameEvent, gameEvent, getDifficulty, hasChunk, levelEvent, 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, getBiome, getBlockStatesIfLoaded, getBlockTint, getChunk, getChunk, getDirectSignal, getHeight, getLightLevelDependentMagicValue, getMaxLocalRawBrightness, getMaxLocalRawBrightness, getMinBuildHeight, getNoiseBiome, getPathfindingCostFromLightLevels, hasChunkAt, hasChunkAt, hasChunksAt, hasChunksAt, hasChunksAt, isEmptyBlock, isWaterAtMethods inherited from interface net.minecraft.world.level.LevelTimeAccess
getMoonBrightness, getMoonPhase, getTimeOfDayMethods inherited from interface net.minecraft.world.level.LevelWriter
addFreshEntity, destroyBlock, destroyBlock
-
Constructor Details
-
EmptyLevel
public EmptyLevel()
-
-
Method Details
-
sendBlockUpdated
public void sendBlockUpdated(net.minecraft.core.BlockPos blockPos, net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.level.block.state.BlockState blockState1, int i) - Specified by:
sendBlockUpdatedin classnet.minecraft.world.level.Level
-
playSeededSound
public void playSeededSound(@Nullable @Nullable net.minecraft.world.entity.player.Player player, double v, double v1, double v2, net.minecraft.sounds.SoundEvent soundEvent, net.minecraft.sounds.SoundSource soundSource, float v3, float v4, long l) - Specified by:
playSeededSoundin classnet.minecraft.world.level.Level
-
playSeededSound
public void playSeededSound(@Nullable @Nullable net.minecraft.world.entity.player.Player player, net.minecraft.world.entity.Entity entity, net.minecraft.sounds.SoundEvent soundEvent, net.minecraft.sounds.SoundSource soundSource, float v, float v1, long l) - Specified by:
playSeededSoundin classnet.minecraft.world.level.Level
-
gatherChunkSourceStats
- Specified by:
gatherChunkSourceStatsin classnet.minecraft.world.level.Level
-
getEntity
@Nullable public @Nullable net.minecraft.world.entity.Entity getEntity(int i) - Specified by:
getEntityin classnet.minecraft.world.level.Level
-
getMapData
@Nullable public @Nullable net.minecraft.world.level.saveddata.maps.MapItemSavedData getMapData(String s) - Specified by:
getMapDatain classnet.minecraft.world.level.Level
-
setMapData
public void setMapData(String s, net.minecraft.world.level.saveddata.maps.MapItemSavedData mapItemSavedData) - Specified by:
setMapDatain classnet.minecraft.world.level.Level
-
getFreeMapId
public int getFreeMapId()- Specified by:
getFreeMapIdin classnet.minecraft.world.level.Level
-
destroyBlockProgress
public void destroyBlockProgress(int i, net.minecraft.core.BlockPos blockPos, int i1) - Specified by:
destroyBlockProgressin classnet.minecraft.world.level.Level
-
getScoreboard
public net.minecraft.world.scores.Scoreboard getScoreboard()- Specified by:
getScoreboardin classnet.minecraft.world.level.Level
-
getRecipeManager
public net.minecraft.world.item.crafting.RecipeManager getRecipeManager()- Specified by:
getRecipeManagerin classnet.minecraft.world.level.Level
-
getEntities
protected net.minecraft.world.level.entity.LevelEntityGetter<net.minecraft.world.entity.Entity> getEntities()- Specified by:
getEntitiesin classnet.minecraft.world.level.Level
-
getBlockTicks
public net.minecraft.world.ticks.LevelTickAccess<net.minecraft.world.level.block.Block> getBlockTicks() -
getFluidTicks
public net.minecraft.world.ticks.LevelTickAccess<net.minecraft.world.level.material.Fluid> getFluidTicks() -
getChunkSource
public net.minecraft.world.level.chunk.ChunkSource getChunkSource() -
levelEvent
public void levelEvent(@Nullable @Nullable net.minecraft.world.entity.player.Player player, int i, net.minecraft.core.BlockPos blockPos, int i1) -
gameEvent
public void gameEvent(net.minecraft.world.level.gameevent.GameEvent gameEvent, net.minecraft.world.phys.Vec3 vec3, net.minecraft.world.level.gameevent.GameEvent.Context context) -
registryAccess
public net.minecraft.core.RegistryAccess registryAccess() -
getShade
public float getShade(net.minecraft.core.Direction direction, boolean b) -
players
-
getUncachedNoiseBiome
public net.minecraft.core.Holder<net.minecraft.world.level.biome.Biome> getUncachedNoiseBiome(int i, int i1, int i2)
-