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_DURATION

    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

    Fields inherited from interface net.minecraft.world.level.BlockGetter

    MAX_BLOCK_ITERATIONS_ALONG_TRAVEL

    Fields inherited from interface net.minecraft.world.level.SignalGetter

    DIRECTIONS
  • Constructor Summary

    Constructors
    Constructor
    Description
    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, net.minecraft.world.RandomSequences $$11)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.flag.FeatureFlagSet
     
     
    static sun.misc.Unsafe
     
    net.minecraft.server.ReloadableServerRegistries.Holder
     
    static CompletableFuture<net.minecraft.core.RegistryAccess>
     
    net.minecraft.core.RegistryAccess
     

    Methods 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, updateSleepingPlayerList

    Methods 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, updateSkyBrightness

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface net.minecraft.world.level.BlockAndTintGetter

    canSeeSky, getBrightness, getLightEngine, getRawBrightness

    Methods inherited from interface net.minecraft.world.level.BlockGetter

    clip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockState, getBlockStates, getFluidState, getLightEmission, isBlockInLine

    Methods inherited from interface net.minecraft.world.level.CollisionGetter

    clipIncludingBorder, collidesWithSuffocatingBlock, findFreePosition, findSupportingBlock, getBlockAndLiquidCollisions, getBlockCollisions, getCollisions, getEntityCollisions, getWorldBorder, isUnobstructed, isUnobstructed, isUnobstructed, noBlockCollision, noCollision, noCollision, noCollision, noCollision

    Methods inherited from interface net.minecraft.world.level.CommonLevelAccessor

    getBlockEntity, getEntityCollisions, getHeightmapPos, isUnobstructed

    Methods inherited from interface net.minecraft.world.level.EntityGetter

    getEntities, getEntities, getEntities, getEntitiesOfClass, getEntitiesOfClass, getNearestPlayer, getNearestPlayer, getNearestPlayer, getPlayerByUUID, hasNearbyAlivePlayer

    Methods 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, playSound

    Methods inherited from interface net.minecraft.world.level.LevelHeightAccessor

    getMaxSectionY, getMaxY, getMinSectionY, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isInsideBuildHeight, isOutsideBuildHeight, isOutsideBuildHeight

    Methods 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, isWaterAt

    Methods inherited from interface net.minecraft.world.level.LevelSimulatedReader

    isFluidAtPosition, isStateAtPosition

    Methods inherited from interface net.minecraft.world.level.LevelTimeAccess

    getMoonBrightness, getMoonPhase, getTimeOfDay

    Methods inherited from interface net.minecraft.world.level.LevelWriter

    destroyBlock, destroyBlock, destroyBlock, removeBlock, setBlock, setBlock

    Methods inherited from interface net.minecraft.world.level.ScheduledTickAccess

    scheduleTick, scheduleTick, scheduleTick, scheduleTick

    Methods inherited from interface net.minecraft.server.level.ServerEntityGetter

    getNearbyEntities, getNearbyPlayers, getNearestEntity, getNearestEntity, getNearestPlayer, getNearestPlayer, getNearestPlayer

    Methods inherited from interface net.minecraft.world.level.ServerLevelAccessor

    addFreshEntityWithPassengers

    Methods inherited from interface net.minecraft.world.level.SignalGetter

    getBestNeighborSignal, getControlInputSignal, getDirectSignal, getDirectSignalTo, getSignal, hasNeighborSignal, hasSignal

    Methods 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

      public net.minecraft.world.flag.FeatureFlagSet enabledFeatures()
      Specified by:
      enabledFeatures in interface net.minecraft.world.level.LevelReader
      Overrides:
      enabledFeatures in class net.minecraft.server.level.ServerLevel
    • fastCreate

    • registryAccess

      public net.minecraft.core.RegistryAccess registryAccess()
      Specified by:
      registryAccess in interface net.minecraft.world.level.LevelReader
      Overrides:
      registryAccess in class net.minecraft.world.level.Level
    • holder

      public net.minecraft.server.ReloadableServerRegistries.Holder holder()
    • getUnsafe

      public static sun.misc.Unsafe getUnsafe()
    • load

      public static CompletableFuture<net.minecraft.core.RegistryAccess> load()