Package baritone.api.utils
Class BlockOptionalMeta.ServerLevelStub
java.lang.Object
net.minecraft.world.level.Level
net.minecraft.server.level.ServerLevel
baritone.api.utils.BlockOptionalMeta.ServerLevelStub
- All Implemented Interfaces:
AutoCloseable,net.minecraft.server.level.ServerEntityGetter,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.ScheduledTickAccess,net.minecraft.world.level.ServerLevelAccessor,net.minecraft.world.level.SignalGetter,net.minecraft.world.level.WorldGenLevel
- Enclosing class:
BlockOptionalMeta
public static class BlockOptionalMeta.ServerLevelStub
extends net.minecraft.server.level.ServerLevel
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.Level
net.minecraft.world.level.Level.ExplosionInteraction -
Field Summary
Fields 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.BlockGetter
MAX_BLOCK_ITERATIONS_ALONG_TRAVELFields inherited from interface net.minecraft.world.level.SignalGetter
DIRECTIONS -
Constructor Summary
ConstructorsConstructorDescriptionServerLevelStub(net.minecraft.server.MinecraftServer $$0, Executor $$1, net.minecraft.world.level.storage.LevelStorageSource.LevelStorageAccess $$2, net.minecraft.world.level.storage.ServerLevelData $$3, net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> $$4, net.minecraft.world.level.dimension.LevelStem $$5, net.minecraft.server.level.progress.ChunkProgressListener $$6, boolean $$7, long $$8, List<net.minecraft.world.level.CustomSpawner> $$9, boolean $$10, net.minecraft.world.RandomSequences $$11) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.flag.FeatureFlagSetstatic sun.misc.Unsafenet.minecraft.server.ReloadableServerRegistries.Holderholder()static CompletableFuture<net.minecraft.core.RegistryAccess> load()net.minecraft.core.RegistryAccessMethods inherited from class net.minecraft.server.level.ServerLevel
addDuringTeleport, addFreshEntity, addLegacyChunkEntities, addNewPlayer, addRespawnedPlayer, addWithUUID, addWorldGenChunkEntities, areEntitiesLoaded, blockEvent, blockUpdated, broadcastDamageEvent, broadcastEntityEvent, canSleepThroughNights, clearBlockEvents, close, destroyBlockProgress, dragonParts, explode, fillReportDetails, findClosestBiome3d, findLightningTargetAround, findNearestMapStructure, fuelValues, gameEvent, gatherChunkSourceStats, getAllEntities, getBlockTicks, getChunkSource, getDataStorage, getDragonFight, getDragons, getEntities, getEntities, getEntities, getEntities, getEntity, getEntity, getEntityOrPart, getFluidTicks, getForcedChunks, getFreeMapId, getGameRules, getLevel, getLogicalHeight, getMapData, getPathTypeCache, getPlayers, getPlayers, getPoiManager, getPortalForcer, getRaidAt, getRaids, getRandomPlayer, getRandomSequence, getRandomSequences, getScoreboard, getSeaLevel, getSeed, getServer, getShade, getStructureManager, getUncachedNoiseBiome, getWatchdogStats, globalLevelEvent, isCloseToVillage, isFlat, isHandlingTick, isNaturalSpawningAllowed, isNaturalSpawningAllowed, isPositionEntityTicking, isRaided, isVillage, isVillage, levelEvent, mayInteract, neighborChanged, neighborChanged, noSave, onBlockStateChange, onReputationEvent, onStructureStartsAvailable, players, playSeededSound, playSeededSound, potionBrewing, recipeAccess, removePlayerImmediately, resetEmptyTime, resetWeatherCycle, save, saveDebugReport, sectionsToVillage, sendBlockUpdated, sendParticles, sendParticles, sendParticles, setChunkForced, setDayTime, setDefaultSpawnPos, setDragonFight, setMapData, setWeatherParameters, shouldTickBlocksAt, startTickingChunk, structureManager, tick, tickChunk, tickCustomSpawners, tickNonPassenger, tickPrecipitation, tickRateManager, tickTime, toString, tryAddFreshEntityWithPassengers, unload, updateNeighborsAt, updateNeighborsAt, updateNeighborsAtExceptFromFacing, updateSleepingPlayerListMethods inherited from class net.minecraft.world.level.Level
addAlwaysVisibleParticle, addAlwaysVisibleParticle, addBlockEntityTicker, addDestroyBlockEffect, addParticle, addParticle, blockEntityChanged, createFireworks, damageSources, destroyBlock, dimension, dimensionType, dimensionTypeRegistration, disconnect, explode, explode, explode, explode, getBiomeManager, getBlockEntity, getBlockRandomPos, getBlockState, getChunk, getChunk, getChunkAt, getChunkForCollisions, getCurrentDifficultyAt, getDayTime, getEntities, getEntities, getEntities, getEntities, getFluidState, getGameTime, getHeight, getLevelData, getLightEngine, getRainLevel, getRandom, getSharedSpawnAngle, getSharedSpawnPos, getSkyDarken, getSunAngle, getThunderLevel, getWorldBorder, guardEntityTick, isClientSide, isDay, isDebug, isFluidAtPosition, isInSpawnableBounds, isInWorldBounds, isLoaded, isNight, isRaining, isRainingAt, isStateAtPosition, isThundering, loadedAndEntityCanStandOn, loadedAndEntityCanStandOnFace, neighborShapeChanged, nextSubTickCount, playLocalSound, playLocalSound, playLocalSound, playSeededSound, playSound, playSound, playSound, playSound, playSound, playSound, prepareWeather, removeBlock, removeBlockEntity, sendPacketToServer, setBlock, setBlock, setBlockAndUpdate, 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, getBlockState, getBlockStates, getFluidState, getLightEmission, isBlockInLineMethods inherited from interface net.minecraft.world.level.CollisionGetter
clipIncludingBorder, collidesWithSuffocatingBlock, findFreePosition, findSupportingBlock, getBlockAndLiquidCollisions, getBlockCollisions, getCollisions, getEntityCollisions, getWorldBorder, isUnobstructed, isUnobstructed, isUnobstructed, noBlockCollision, noCollision, 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, getNearestPlayer, getNearestPlayer, getNearestPlayer, getPlayerByUUID, hasNearbyAlivePlayerMethods inherited from interface net.minecraft.world.level.LevelAccessor
addParticle, createTick, createTick, dayTime, gameEvent, gameEvent, gameEvent, gameEvent, getCurrentDifficultyAt, getDifficulty, getLevelData, getRandom, hasChunk, levelEvent, neighborShapeChanged, nextSubTickCount, playSound, playSoundMethods inherited from interface net.minecraft.world.level.LevelHeightAccessor
getMaxSectionY, getMaxY, getMinSectionY, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isInsideBuildHeight, 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, getMaxLocalRawBrightness, getMinY, getNoiseBiome, getPathfindingCostFromLightLevels, getSkyDarken, hasChunkAt, hasChunkAt, hasChunksAt, hasChunksAt, hasChunksAt, holderLookup, isClientSide, isEmptyBlock, isWaterAtMethods inherited from interface net.minecraft.world.level.LevelSimulatedReader
isFluidAtPosition, isStateAtPositionMethods inherited from interface net.minecraft.world.level.LevelTimeAccess
getMoonBrightness, getMoonPhase, getTimeOfDayMethods inherited from interface net.minecraft.world.level.LevelWriter
destroyBlock, destroyBlock, destroyBlock, removeBlock, setBlock, setBlockMethods inherited from interface net.minecraft.world.level.ScheduledTickAccess
scheduleTick, scheduleTick, scheduleTick, scheduleTickMethods inherited from interface net.minecraft.server.level.ServerEntityGetter
getNearbyEntities, getNearbyPlayers, getNearestEntity, getNearestEntity, getNearestPlayer, getNearestPlayer, getNearestPlayerMethods 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
-
Constructor Details
-
ServerLevelStub
public ServerLevelStub(net.minecraft.server.MinecraftServer $$0, Executor $$1, net.minecraft.world.level.storage.LevelStorageSource.LevelStorageAccess $$2, net.minecraft.world.level.storage.ServerLevelData $$3, net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> $$4, net.minecraft.world.level.dimension.LevelStem $$5, net.minecraft.server.level.progress.ChunkProgressListener $$6, boolean $$7, long $$8, List<net.minecraft.world.level.CustomSpawner> $$9, boolean $$10, @Nullable net.minecraft.world.RandomSequences $$11)
-
-
Method Details
-
enabledFeatures
- Specified by:
enabledFeaturesin interfacenet.minecraft.world.level.LevelReader- Overrides:
enabledFeaturesin classnet.minecraft.server.level.ServerLevel
-
fastCreate
-
registryAccess
- Specified by:
registryAccessin interfacenet.minecraft.world.level.LevelReader- Overrides:
registryAccessin classnet.minecraft.world.level.Level
-
holder
-
getUnsafe
-
load
-