Package net.minecraft.server.world
Class ServerWorld
java.lang.Object
net.minecraft.world.World
net.minecraft.server.world.ServerWorld
- All Implemented Interfaces:
AutoCloseable,BiomeAccess.Storage,BlockRenderView,BlockView,CollisionView,EntityLookupView,EntityView,HeightLimitView,LunarWorldView,ModifiableTestableWorld,ModifiableWorld,RedstoneView,RegistryWorldView,ServerWorldAccess,StructureWorldAccess,TestableWorld,ScheduledTickView,WorldAccess,WorldView
- Mappings:
Namespace Name named net/minecraft/server/world/ServerWorldintermediary net/minecraft/class_3218official axl
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.world.World
World.ExplosionSourceTypeNested classes/interfaces inherited from interface net.minecraft.world.BlockView
BlockView.CollisionVisitor -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<BlockEvent> private final WorldTickScheduler<Block> private final ServerChunkManagerprivate static final IntProviderstatic final IntProvider(package private) booleanstatic final BlockPosprivate @Nullable EnderDragonFight(package private) final Int2ObjectMap<EnderDragonPart> (package private) final EntityListprivate final ServerEntityManager<Entity> private final WorldTickScheduler<Fluid> private final GameEventDispatchManagerprivate intprivate booleanprivate static final Loggerprivate static final intprivate final PathNodeTypeCache(package private) final List<ServerPlayerEntity> private final PortalForcerprotected final RaidManagerstatic final IntProviderprivate final RandomSequencesStatebooleanprivate final MinecraftServerprivate static final intThe number of ticks (300) the world will continue to tick entities after all players have left and the world does not contain any forced chunks.private final booleanprivate final SleepManagerprivate final List<SpecialSpawner> private final StructureAccessorprivate final StructureLocator(package private) final SubscriptionTrackerprivate final ObjectLinkedOpenHashSet<BlockEvent> static final IntProviderprivate final ServerWaypointHandlerprivate final ServerWorldPropertiesFields inherited from class net.minecraft.world.World
blockEntityTickers, CODEC, END, field_30967, field_30968, HORIZONTAL_LIMIT, lastRainGradient, lastThunderGradient, lcgBlockSeed, lcgBlockSeedIncrement, MAX_UPDATE_DEPTH, MAX_Y, MIN_Y, neighborUpdater, NETHER, OVERWORLD, properties, rainGradient, random, thunderGradientFields inherited from interface net.minecraft.world.RedstoneView
DIRECTIONS -
Constructor Summary
ConstructorsConstructorDescriptionServerWorld(MinecraftServer server, Executor workerExecutor, LevelStorage.Session session, ServerWorldProperties properties, RegistryKey<World> worldKey, DimensionOptions dimensionOptions, boolean debugWorld, long seed, List<SpecialSpawner> spawners, boolean shouldTickTime, @Nullable RandomSequencesState randomSequenceState) -
Method Summary
Modifier and TypeMethodDescriptionaddDetailsToCrashReport(CrashReport report) voidaddEntities(Stream<Entity> entities) private booleanprivate voidaddPlayer(ServerPlayerEntity player) voidaddSyncedBlockEvent(BlockPos pos, Block block, int type, int data) booleanbooleanasString()voidcacheStructures(Chunk chunk) booleancanEntityModifyAt(Entity entity, BlockPos pos) Returns whetherentitycan modify blocks atpos.booleanvoidvoidclose()<T extends Entity>
voidcollectEntitiesByType(TypeFilter<Entity, T> filter, Predicate<? super T> predicate, List<? super T> result) <T extends Entity>
voidcollectEntitiesByType(TypeFilter<Entity, T> filter, Predicate<? super T> predicate, List<? super T> result, int limit) Collects entities of the given type, up tolimit.voidcreateExplosion(@Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, World.ExplosionSourceType explosionSourceType, ParticleEffect smallParticle, ParticleEffect largeParticle, Pool<BlockParticleEffect> blockParticles, RegistryEntry<SoundEvent> soundEvent) Creates an explosion.voiddisableTickSchedulers(WorldChunk chunk) voidprivate voiddumpBlockEntities(Writer writer) private static voiddumpEntities(Writer writer, Iterable<Entity> entities) voidemitGameEvent(RegistryEntry<GameEvent> event, Vec3d emitterPos, GameEvent.Emitter emitter) Emits a game event.List<? extends EnderDragonEntity> Returns the list of alive ender dragons in the world.floatgetBrightness(Direction direction, boolean shaded) longgetDay()private Explosion.DestructionTypegetDestructionType(GameRules.Key<GameRules.BooleanRule> decayRule) getEntitiesByType(TypeFilter<Entity, T> filter, Predicate<? super T> predicate) Computes a list of entities of the given type.getEntityAnyDimension(UUID uuid) getEntityById(int id) Returns the entity using the entity ID, ornullif none was found.protected EntityLookup<Entity> getEntityOrDragonPart(int id) Deprecated.Returns the set that containsChunkPosof forced chunks serialized as a long.getGeneratorStoredBiome(int biomeX, int biomeY, int biomeZ) protected BlockPosgetLightningPos(BlockPos pos) intintgetPlayerAnyDimension(UUID uuid) getPlayers(Predicate<? super ServerPlayerEntity> predicate) Returns the list of players filtered usingpredicate.getPlayers(Predicate<? super ServerPlayerEntity> predicate, int limit) Returns the list of players filtered usingpredicate, up tolimit.Returns the raid occurring within 96 block radius, ornullif there is none.Returns a randomly selected alive player, ornullif there is none.intlonggetSeed()private static <T> StringgetTopFive(Iterable<T> items, Function<T, String> classifier) Categoriesitemswith theclassifierand reports a message indicating the top five biggest categories.voidhandleInteraction(EntityInteraction interaction, Entity entity, InteractionObserver observer) booleanReturnstrueif a raid exists within 96 block radius ofpos.booleanisChunkLoaded(long chunkPos) Returnstrueif the chunkchunkPosis loaded.booleanisEnterableWithPortal(World destination) booleanisFlat()booleanbooleanbooleanisNearOccupiedPointOfInterest(BlockPos pos, int maxDistance) booleanisNearOccupiedPointOfInterest(ChunkSectionPos sectionPos) booleanbooleanbooleanReturns whether sleeping can cause the night to skip.booleanisTickingFutureReady(long chunkPos) voidloadBlockEntity(BlockEntity blockEntity) voidloadChunks(ChunkPos center, int radius) voidloadEntities(Stream<Entity> entities) @Nullable com.mojang.datafixers.util.Pair<BlockPos, RegistryEntry<Biome>> locateBiome(Predicate<RegistryEntry<Biome>> predicate, BlockPos pos, int radius, int horizontalBlockCheckInterval, int verticalBlockCheckInterval) locateStructure(TagKey<Structure> structureTag, BlockPos pos, int radius, boolean skipReferencedStructures) Tries to find the closest structure of a given type near a given block.voidonBlockStateChanged(BlockPos pos, BlockState oldState, BlockState newState) voidonDimensionChanged(Entity entity) Called on the destination world when an entity changed the dimension.voidonPlayerConnected(ServerPlayerEntity player) Called on the player's world when the player connected to the server and spawned.voidonPlayerRespawned(ServerPlayerEntity player) Called on the world that has the player's respawn point when the player respawned.voidonStateReplacedWithCommands(BlockPos pos, BlockState oldState) voidplaySound(@Nullable Entity source, double x, double y, double z, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch, long seed) Plays a sound caused by a source.voidplaySoundFromEntity(@Nullable Entity source, Entity entity, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch, long seed) Plays a sound caused by a source at the provided entity's position.private booleanprocessBlockEvent(BlockEvent event) private voidvoidputMapState(MapIdComponent id, MapState state) voidremovePlayer(ServerPlayerEntity player, Entity.RemovalReason reason) voidvoidvoidsave(@Nullable ProgressListener progressListener, boolean flush, boolean savingDisabled) Saves the world.private voidsavePersistentState(boolean flush) voidsendEntityDamage(Entity entity, DamageSource damageSource) voidsendEntityStatus(Entity entity, byte status) Sends the entity status to nearby players.private voidSends sleeping status action bar messages to players in this world.private booleansendToPlayerIfNearby(ServerPlayerEntity player, boolean force, double x, double y, double z, Packet<?> packet) Sends thepackettoplayerif the player is near the provided coordinates.voidsetBlockBreakingInfo(int entityId, BlockPos pos, int progress) booleansetChunkForced(int x, int z, boolean forced) Sets the forced status of the chunk.voidsetEnderDragonFight(@Nullable EnderDragonFight enderDragonFight) Deprecated.voidsetSpawnPoint(WorldProperties.SpawnPoint spawnPoint) voidsetTimeOfDay(long timeOfDay) Sets the time of day.voidsetWeather(int clearDuration, int rainDuration, boolean raining, boolean thundering) Sets the current weather, as well as how long it should last.booleanbooleanbooleanshouldTickBlocksInChunk(long chunkPos) Returns whether the blocks in the specified chunk should get ticked.booleanbooleanReturns whether to tick entities atpos.booleanshouldTickTestAt(ChunkPos pos) booleanspawnEntity(Entity entity) Spawns an entity.booleanspawnNewEntityAndPassengers(Entity entity) Checks whether any of the entity and its passengers already exist in the world, and if not, spawns the entity with its passengers.<T extends ParticleEffect>
booleanspawnParticles(ServerPlayerEntity viewer, T parameters, boolean force, boolean important, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, double speed) Spawns a particle visible toviewer, if the viewer is near the provided coordinates.<T extends ParticleEffect>
intspawnParticles(T parameters, boolean force, boolean important, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, double speed) Spawns a particle visible to nearby players.<T extends ParticleEffect>
intspawnParticles(T parameters, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, double speed) voidsyncGlobalEvent(int eventId, BlockPos pos, int data) voidsyncWorldEvent(@Nullable Entity source, int eventId, BlockPos pos, int data) voidtick(BooleanSupplier shouldKeepTicking) private voidvoidtickChunk(WorldChunk chunk, int randomTickSpeed) voidtickEntity(Entity entity) private voidvoidtickIceAndSnow(BlockPos pos) private voidtickPassenger(Entity vehicle, Entity passenger) voidtickSpawners(boolean spawnMonsters) voidtickThunder(WorldChunk chunk) protected voidtickTime()private voidtoString()booleantryLoadEntity(Entity entity) voidunloadEntities(WorldChunk chunk) voidupdateListeners(BlockPos pos, BlockState oldState, BlockState newState, int flags) voidupdateNeighbor(BlockState state, BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation, boolean notify) voidupdateNeighbor(BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation) Triggers a neighbor update originating fromsourcePosatpos.voidupdateNeighbors(BlockPos pos, Block block) voidupdateNeighborsAlways(BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation) Emits a neighbor update to all 6 neighboring blocks ofpos.voidupdateNeighborsExcept(BlockPos pos, Block sourceBlock, Direction direction, @Nullable WireOrientation orientation) Emits a neighbor update to neighboring blocks ofpos, except for the one indirectiondirection.voidprivate voidMethods inherited from class net.minecraft.world.World
addBlockBreakParticles, addBlockEntity, addBlockEntityTicker, addFireworkParticle, addImportantParticleClient, addImportantParticleClient, addParticleClient, addParticleClient, breakBlock, calculateAmbientDarkness, collectEntitiesByType, collectEntitiesByType, createExplosion, createExplosion, createExplosion, createExplosion, ensureWithinBorder, getAmbientDarkness, getBiomeAccess, getBlockColor, getBlockEntity, getBlockState, getChunk, getChunk, getChunkAsView, getCrammedEntities, getDamageSources, getDimension, getDimensionEntry, getEntitiesByType, getEntity, getFluidState, getLevelProperties, getLightingProvider, getOtherEntities, getPalettesFactory, getPrecipitation, getRainGradient, getRandom, getRandomPosInChunk, getRegistryKey, getRegistryManager, getSkyAngleRadians, getThunderGradient, getTickOrder, getTimeOfDay, getTopY, getWorldChunk, hasEntities, hasRain, initWeatherGradients, isClient, isDay, isDebugWorld, isDirectionSolid, isInBuildLimit, isNight, isNightAndNatural, isPosLoaded, isRaining, isThundering, isTopSolid, isValid, markDirty, method_75598, playSound, playSound, playSound, playSound, playSound, playSoundAtBlockCenterClient, playSoundClient, playSoundClient, playSoundFromEntity, playSoundFromEntityClient, removeBlock, removeBlockEntity, replaceWithStateForNeighborUpdate, scheduleBlockRerenderIfNeeded, sendPacket, setBlockState, setBlockState, setBlockState, setLightningTicksLeft, setMobSpawnOptions, setRainGradient, setThunderGradient, shouldTickBlockPos, shouldUpdatePostDeath, testBlockState, testFluidState, tickBlockEntities, tickEntity, updateComparatorsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.BlockRenderView
getBaseLightLevel, getLightingProvider, getLightLevel, isSkyVisibleMethods inherited from interface net.minecraft.world.BlockView
getBlockEntity, getBlockState, getDismountHeight, getDismountHeight, getFluidState, getLuminance, getStatesInBox, raycast, raycast, raycastBlockMethods inherited from interface net.minecraft.world.CollisionView
canCollide, canPlace, doesNotIntersectEntities, doesNotIntersectEntities, findClosestCollision, findSupportingBlockPos, getBlockCollisions, getBlockOrFluidCollisions, getCollisions, getCollisions, getCollisionsIncludingWorldBorder, getEntityCollisions, isBlockSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmptyMethods inherited from interface net.minecraft.world.EntityLookupView
getClosestEntity, getClosestEntity, getClosestEntity, getClosestPlayer, getClosestPlayer, getClosestPlayer, getPlayers, getTargetsMethods inherited from interface net.minecraft.world.EntityView
getClosestPlayer, getClosestPlayer, getClosestPlayer, getEntitiesByClass, getEntitiesByType, getNonSpectatingEntities, getOtherEntities, getOtherEntities, getPlayerByUuid, isPlayerInRangeMethods inherited from interface net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopYInclusive, isInHeightLimit, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoordMethods inherited from interface net.minecraft.world.LunarWorldView
getMoonPhase, getMoonSize, getSkyAngleMethods inherited from interface net.minecraft.world.ModifiableWorld
breakBlock, breakBlock, breakBlock, removeBlock, setBlockState, setBlockStateMethods inherited from interface net.minecraft.world.RedstoneView
getEmittedRedstonePower, getEmittedRedstonePower, getReceivedRedstonePower, getReceivedStrongRedstonePower, getStrongRedstonePower, isEmittingRedstonePower, isReceivingRedstonePowerMethods inherited from interface net.minecraft.world.RegistryWorldView
doesNotIntersectEntities, getBlockEntity, getEntityCollisions, getTopPositionMethods inherited from interface net.minecraft.world.tick.ScheduledTickView
scheduleBlockTick, scheduleBlockTick, scheduleFluidTick, scheduleFluidTickMethods inherited from interface net.minecraft.world.ServerWorldAccess
spawnEntityAndPassengersMethods inherited from interface net.minecraft.world.StructureWorldAccess
isValidForSetBlock, setCurrentlyGeneratingStructureNameMethods inherited from interface net.minecraft.world.TestableWorld
testBlockState, testFluidStateMethods inherited from interface net.minecraft.world.WorldAccess
addParticleClient, createOrderedTick, createOrderedTick, emitGameEvent, emitGameEvent, emitGameEvent, emitGameEvent, getDifficulty, getLevelProperties, getLunarTime, getRandom, getTickOrder, getTime, isChunkLoaded, playSound, playSound, replaceWithStateForNeighborUpdate, syncWorldEventMethods inherited from interface net.minecraft.world.WorldView
containsFluid, createCommandRegistryWrapper, getAmbientDarkness, getBiome, getBiomeAccess, getBiomeForNoiseGen, getBottomY, getBrightness, getChunk, getChunk, getChunk, getChunk, getChunkAsView, getColor, getDimension, getHeight, getLightLevel, getLightLevel, getPhototaxisFavor, getRegistryManager, getStatesInBoxIfLoaded, getTopY, getTopY, isAir, isChunkLoaded, isClient, isPosLoaded, isRegionLoaded, isRegionLoaded, isRegionLoaded, isSkyVisibleAllowingSea, isWater, method_75598
-
Field Details
-
END_SPAWN_POS
- Mappings:
Namespace Name Mixin selector named END_SPAWN_POSLnet/minecraft/server/world/ServerWorld;END_SPAWN_POS:Lnet/minecraft/util/math/BlockPos;intermediary field_25144Lnet/minecraft/class_3218;field_25144:Lnet/minecraft/class_2338;official aLaxl;a:Liz;
-
CLEAR_WEATHER_DURATION_PROVIDER
- Mappings:
Namespace Name Mixin selector named CLEAR_WEATHER_DURATION_PROVIDERLnet/minecraft/server/world/ServerWorld;CLEAR_WEATHER_DURATION_PROVIDER:Lnet/minecraft/util/math/intprovider/IntProvider;intermediary field_41749Lnet/minecraft/class_3218;field_41749:Lnet/minecraft/class_6017;official bLaxl;b:Lccc;
-
RAIN_WEATHER_DURATION_PROVIDER
- Mappings:
Namespace Name Mixin selector named RAIN_WEATHER_DURATION_PROVIDERLnet/minecraft/server/world/ServerWorld;RAIN_WEATHER_DURATION_PROVIDER:Lnet/minecraft/util/math/intprovider/IntProvider;intermediary field_41750Lnet/minecraft/class_3218;field_41750:Lnet/minecraft/class_6017;official cLaxl;c:Lccc;
-
CLEAR_THUNDER_WEATHER_DURATION_PROVIDER
- Mappings:
Namespace Name Mixin selector named CLEAR_THUNDER_WEATHER_DURATION_PROVIDERLnet/minecraft/server/world/ServerWorld;CLEAR_THUNDER_WEATHER_DURATION_PROVIDER:Lnet/minecraft/util/math/intprovider/IntProvider;intermediary field_41748Lnet/minecraft/class_3218;field_41748:Lnet/minecraft/class_6017;official BLaxl;B:Lccc;
-
THUNDER_WEATHER_DURATION_PROVIDER
- Mappings:
Namespace Name Mixin selector named THUNDER_WEATHER_DURATION_PROVIDERLnet/minecraft/server/world/ServerWorld;THUNDER_WEATHER_DURATION_PROVIDER:Lnet/minecraft/util/math/intprovider/IntProvider;intermediary field_41751Lnet/minecraft/class_3218;field_41751:Lnet/minecraft/class_6017;official dLaxl;d:Lccc;
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/server/world/ServerWorld;LOGGER:Lorg/slf4j/Logger;intermediary field_13952Lnet/minecraft/class_3218;field_13952:Lorg/slf4j/Logger;official CLaxl;C:Lorg/slf4j/Logger;
-
SERVER_IDLE_COOLDOWN
private static final int SERVER_IDLE_COOLDOWNThe number of ticks (300) the world will continue to tick entities after all players have left and the world does not contain any forced chunks.- See Also:
- Mappings:
Namespace Name Mixin selector named SERVER_IDLE_COOLDOWNLnet/minecraft/server/world/ServerWorld;SERVER_IDLE_COOLDOWN:Iintermediary field_29768Lnet/minecraft/class_3218;field_29768:Iofficial DLaxl;D:I
-
MAX_TICKS
private static final int MAX_TICKS- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_TICKSLnet/minecraft/server/world/ServerWorld;MAX_TICKS:Iintermediary field_35441Lnet/minecraft/class_3218;field_35441:Iofficial ELaxl;E:I
-
players
- Mappings:
Namespace Name Mixin selector named playersLnet/minecraft/server/world/ServerWorld;players:Ljava/util/List;intermediary field_18261Lnet/minecraft/class_3218;field_18261:Ljava/util/List;official FLaxl;F:Ljava/util/List;
-
chunkManager
- Mappings:
Namespace Name Mixin selector named chunkManagerLnet/minecraft/server/world/ServerWorld;chunkManager:Lnet/minecraft/server/world/ServerChunkManager;intermediary field_24624Lnet/minecraft/class_3218;field_24624:Lnet/minecraft/class_3215;official GLaxl;G:Laxi;
-
server
- Mappings:
Namespace Name Mixin selector named serverLnet/minecraft/server/world/ServerWorld;server:Lnet/minecraft/server/MinecraftServer;intermediary field_13959Lnet/minecraft/class_3218;field_13959:Lnet/minecraft/server/MinecraftServer;official HLaxl;H:Lnet/minecraft/server/MinecraftServer;
-
worldProperties
- Mappings:
Namespace Name Mixin selector named worldPropertiesLnet/minecraft/server/world/ServerWorld;worldProperties:Lnet/minecraft/world/level/ServerWorldProperties;intermediary field_24456Lnet/minecraft/class_3218;field_24456:Lnet/minecraft/class_5268;official ILaxl;I:Lflh;
-
entityList
- Mappings:
Namespace Name Mixin selector named entityListLnet/minecraft/server/world/ServerWorld;entityList:Lnet/minecraft/world/EntityList;intermediary field_26934Lnet/minecraft/class_3218;field_26934:Lnet/minecraft/class_5574;official JLaxl;J:Leqw;
-
waypointHandler
- Mappings:
Namespace Name Mixin selector named waypointHandlerLnet/minecraft/server/world/ServerWorld;waypointHandler:Lnet/minecraft/server/network/ServerWaypointHandler;intermediary field_59630Lnet/minecraft/class_3218;field_59630:Lnet/minecraft/class_11179;official KLaxl;K:Lbcz;
-
entityManager
- Mappings:
Namespace Name Mixin selector named entityManagerLnet/minecraft/server/world/ServerWorld;entityManager:Lnet/minecraft/server/world/ServerEntityManager;intermediary field_26935Lnet/minecraft/class_3218;field_26935:Lnet/minecraft/class_5579;official LLaxl;L:Lerb;
-
gameEventDispatchManager
- Mappings:
Namespace Name Mixin selector named gameEventDispatchManagerLnet/minecraft/server/world/ServerWorld;gameEventDispatchManager:Lnet/minecraft/world/event/listener/GameEventDispatchManager;intermediary field_39984Lnet/minecraft/class_3218;field_39984:Lnet/minecraft/class_7719;official MLaxl;M:Lerm;
-
savingDisabled
public boolean savingDisabled- Mappings:
Namespace Name Mixin selector named savingDisabledLnet/minecraft/server/world/ServerWorld;savingDisabled:Zintermediary field_13957Lnet/minecraft/class_3218;field_13957:Zofficial eLaxl;e:Z
-
sleepManager
- Mappings:
Namespace Name Mixin selector named sleepManagerLnet/minecraft/server/world/ServerWorld;sleepManager:Lnet/minecraft/server/world/SleepManager;intermediary field_28859Lnet/minecraft/class_3218;field_28859:Lnet/minecraft/class_5838;official NLaxl;N:Lbch;
-
idleTimeout
private int idleTimeout- Mappings:
Namespace Name Mixin selector named idleTimeoutLnet/minecraft/server/world/ServerWorld;idleTimeout:Iintermediary field_13948Lnet/minecraft/class_3218;field_13948:Iofficial OLaxl;O:I
-
portalForcer
- Mappings:
Namespace Name Mixin selector named portalForcerLnet/minecraft/server/world/ServerWorld;portalForcer:Lnet/minecraft/world/dimension/PortalForcer;intermediary field_13956Lnet/minecraft/class_3218;field_13956:Lnet/minecraft/class_1946;official PLaxl;P:Lfjt;
-
blockTickScheduler
- Mappings:
Namespace Name Mixin selector named blockTickSchedulerLnet/minecraft/server/world/ServerWorld;blockTickScheduler:Lnet/minecraft/world/tick/WorldTickScheduler;intermediary field_13949Lnet/minecraft/class_3218;field_13949:Lnet/minecraft/class_6757;official QLaxl;Q:Lfss;
-
fluidTickScheduler
- Mappings:
Namespace Name Mixin selector named fluidTickSchedulerLnet/minecraft/server/world/ServerWorld;fluidTickScheduler:Lnet/minecraft/world/tick/WorldTickScheduler;intermediary field_13951Lnet/minecraft/class_3218;field_13951:Lnet/minecraft/class_6757;official RLaxl;R:Lfss;
-
pathNodeTypeCache
- Mappings:
Namespace Name Mixin selector named pathNodeTypeCacheLnet/minecraft/server/world/ServerWorld;pathNodeTypeCache:Lnet/minecraft/entity/ai/pathing/PathNodeTypeCache;intermediary field_49172Lnet/minecraft/class_3218;field_49172:Lnet/minecraft/class_9315;official SLaxl;S:Lfjn;
-
loadedMobs
- Mappings:
Namespace Name Mixin selector named loadedMobsLnet/minecraft/server/world/ServerWorld;loadedMobs:Ljava/util/Set;intermediary field_26932Lnet/minecraft/class_3218;field_26932:Ljava/util/Set;official TLaxl;T:Ljava/util/Set;
-
duringListenerUpdate
volatile boolean duringListenerUpdate- Mappings:
Namespace Name Mixin selector named duringListenerUpdateLnet/minecraft/server/world/ServerWorld;duringListenerUpdate:Zintermediary field_36317Lnet/minecraft/class_3218;field_36317:Zofficial ULaxl;U:Z
-
raidManager
- Mappings:
Namespace Name Mixin selector named raidManagerLnet/minecraft/server/world/ServerWorld;raidManager:Lnet/minecraft/village/raid/RaidManager;intermediary field_18811Lnet/minecraft/class_3218;field_18811:Lnet/minecraft/class_3767;official fLaxl;f:Lddv;
-
syncedBlockEventQueue
- Mappings:
Namespace Name Mixin selector named syncedBlockEventQueueLnet/minecraft/server/world/ServerWorld;syncedBlockEventQueue:Lit/unimi/dsi/fastutil/objects/ObjectLinkedOpenHashSet;intermediary field_13950Lnet/minecraft/class_3218;field_13950:Lit/unimi/dsi/fastutil/objects/ObjectLinkedOpenHashSet;official VLaxl;V:Lit/unimi/dsi/fastutil/objects/ObjectLinkedOpenHashSet;
-
blockEventQueue
- Mappings:
Namespace Name Mixin selector named blockEventQueueLnet/minecraft/server/world/ServerWorld;blockEventQueue:Ljava/util/List;intermediary field_35565Lnet/minecraft/class_3218;field_35565:Ljava/util/List;official WLaxl;W:Ljava/util/List;
-
inBlockTick
private boolean inBlockTick- Mappings:
Namespace Name Mixin selector named inBlockTickLnet/minecraft/server/world/ServerWorld;inBlockTick:Zintermediary field_13953Lnet/minecraft/class_3218;field_13953:Zofficial XLaxl;X:Z
-
spawners
- Mappings:
Namespace Name Mixin selector named spawnersLnet/minecraft/server/world/ServerWorld;spawners:Ljava/util/List;intermediary field_25141Lnet/minecraft/class_3218;field_25141:Ljava/util/List;official YLaxl;Y:Ljava/util/List;
-
enderDragonFight
- Mappings:
Namespace Name Mixin selector named enderDragonFightLnet/minecraft/server/world/ServerWorld;enderDragonFight:Lnet/minecraft/entity/boss/dragon/EnderDragonFight;intermediary field_25142Lnet/minecraft/class_3218;field_25142:Lnet/minecraft/class_2881;official ZLaxl;Z:Leql;
-
enderDragonParts
- Mappings:
Namespace Name Mixin selector named enderDragonPartsLnet/minecraft/server/world/ServerWorld;enderDragonParts:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;intermediary field_26933Lnet/minecraft/class_3218;field_26933:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;official aaLaxl;aa:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-
structureAccessor
- Mappings:
Namespace Name Mixin selector named structureAccessorLnet/minecraft/server/world/ServerWorld;structureAccessor:Lnet/minecraft/world/gen/StructureAccessor;intermediary field_23787Lnet/minecraft/class_3218;field_23787:Lnet/minecraft/class_5138;official abLaxl;ab:Ldvk;
-
structureLocator
- Mappings:
Namespace Name Mixin selector named structureLocatorLnet/minecraft/server/world/ServerWorld;structureLocator:Lnet/minecraft/world/StructureLocator;intermediary field_36208Lnet/minecraft/class_3218;field_36208:Lnet/minecraft/class_6832;official acLaxl;ac:Lfdj;
-
shouldTickTime
private final boolean shouldTickTime- Mappings:
Namespace Name Mixin selector named shouldTickTimeLnet/minecraft/server/world/ServerWorld;shouldTickTime:Zintermediary field_25143Lnet/minecraft/class_3218;field_25143:Zofficial adLaxl;ad:Z
-
randomSequences
- Mappings:
Namespace Name Mixin selector named randomSequencesLnet/minecraft/server/world/ServerWorld;randomSequences:Lnet/minecraft/util/math/random/RandomSequencesState;intermediary field_44857Lnet/minecraft/class_3218;field_44857:Lnet/minecraft/class_8565;official aeLaxl;ae:Lcdd;
-
subscriptionTracker
- Mappings:
Namespace Name Mixin selector named subscriptionTrackerLnet/minecraft/server/world/ServerWorld;subscriptionTracker:Lnet/minecraft/server/debug/SubscriptionTracker;intermediary field_62841Lnet/minecraft/class_3218;field_62841:Lnet/minecraft/class_12026;official afLaxl;af:Lbxc;
-
-
Constructor Details
-
ServerWorld
public ServerWorld(MinecraftServer server, Executor workerExecutor, LevelStorage.Session session, ServerWorldProperties properties, RegistryKey<World> worldKey, DimensionOptions dimensionOptions, boolean debugWorld, long seed, List<SpecialSpawner> spawners, boolean shouldTickTime, @Nullable @Nullable RandomSequencesState randomSequenceState) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/server/world/ServerWorld;<init>(Lnet/minecraft/server/MinecraftServer;Ljava/util/concurrent/Executor;Lnet/minecraft/world/level/storage/LevelStorage$Session;Lnet/minecraft/world/level/ServerWorldProperties;Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/world/dimension/DimensionOptions;ZJLjava/util/List;ZLnet/minecraft/util/math/random/RandomSequencesState;)Vintermediary <init>Lnet/minecraft/class_3218;<init>(Lnet/minecraft/server/MinecraftServer;Ljava/util/concurrent/Executor;Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_5268;Lnet/minecraft/class_5321;Lnet/minecraft/class_5363;ZJLjava/util/List;ZLnet/minecraft/class_8565;)Vofficial <init>Laxl;<init>(Lnet/minecraft/server/MinecraftServer;Ljava/util/concurrent/Executor;Lflc$c;Lflh;Lamx;Leqj;ZJLjava/util/List;ZLcdd;)V
-
-
Method Details
-
setEnderDragonFight
Deprecated.- Mappings:
Namespace Name Mixin selector named setEnderDragonFightLnet/minecraft/server/world/ServerWorld;setEnderDragonFight(Lnet/minecraft/entity/boss/dragon/EnderDragonFight;)Vintermediary method_51837Lnet/minecraft/class_3218;method_51837(Lnet/minecraft/class_2881;)Vofficial aLaxl;a(Leql;)V
-
setWeather
public void setWeather(int clearDuration, int rainDuration, boolean raining, boolean thundering) Sets the current weather, as well as how long it should last.- Parameters:
clearDuration- how long the clear weather should last, in secondsrainDuration- how long the rain or the thunderstorm should last, in secondsraining- whether a rain is ongoingthundering- whether a thunderstorm is ongoing- See Also:
- Mappings:
Namespace Name Mixin selector named setWeatherLnet/minecraft/server/world/ServerWorld;setWeather(IIZZ)Vintermediary method_27910Lnet/minecraft/class_3218;method_27910(IIZZ)Vofficial aLaxl;a(IIZZ)V
-
getGeneratorStoredBiome
- Specified by:
getGeneratorStoredBiomein interfaceWorldView- Mappings:
Namespace Name Mixin selector named getGeneratorStoredBiomeLnet/minecraft/world/WorldView;getGeneratorStoredBiome(III)Lnet/minecraft/registry/entry/RegistryEntry;intermediary method_22387Lnet/minecraft/class_4538;method_22387(III)Lnet/minecraft/class_6880;official aLduq;a(III)Ljj;
-
getStructureAccessor
- Mappings:
Namespace Name Mixin selector named getStructureAccessorLnet/minecraft/server/world/ServerWorld;getStructureAccessor()Lnet/minecraft/world/gen/StructureAccessor;intermediary method_27056Lnet/minecraft/class_3218;method_27056()Lnet/minecraft/class_5138;official bLaxl;b()Ldvk;
-
tick
- Mappings:
Namespace Name Mixin selector named tickLnet/minecraft/server/world/ServerWorld;tick(Ljava/util/function/BooleanSupplier;)Vintermediary method_18765Lnet/minecraft/class_3218;method_18765(Ljava/util/function/BooleanSupplier;)Vofficial aLaxl;a(Ljava/util/function/BooleanSupplier;)V
-
shouldTickBlocksInChunk
public boolean shouldTickBlocksInChunk(long chunkPos) Returns whether the blocks in the specified chunk should get ticked.- Overrides:
shouldTickBlocksInChunkin classWorld- Returns:
- whether the blocks in the specified chunk should get ticked
- Mappings:
Namespace Name Mixin selector named shouldTickBlocksInChunkLnet/minecraft/world/World;shouldTickBlocksInChunk(J)Zintermediary method_39425Lnet/minecraft/class_1937;method_39425(J)Zofficial aLdun;a(J)Z
-
tickTime
protected void tickTime()- Mappings:
Namespace Name Mixin selector named tickTimeLnet/minecraft/server/world/ServerWorld;tickTime()Vintermediary method_29203Lnet/minecraft/class_3218;method_29203()Vofficial cLaxl;c()V
-
setTimeOfDay
public void setTimeOfDay(long timeOfDay) Sets the time of day.Time of day is different to "time", which is incremented on every tick and cannot be modified; Time of day affects the day-night cycle, can be changed using
/time command, and can be frozen ifdoDaylightCyclegamerule is turned off. Time is used to track scheduled ticks and cannot be modified or frozen.- See Also:
- Mappings:
Namespace Name Mixin selector named setTimeOfDayLnet/minecraft/server/world/ServerWorld;setTimeOfDay(J)Vintermediary method_29199Lnet/minecraft/class_3218;method_29199(J)Vofficial bLaxl;b(J)V
-
getDay
public long getDay()- Mappings:
Namespace Name Mixin selector named getDayLnet/minecraft/server/world/ServerWorld;getDay()Jintermediary method_75003Lnet/minecraft/class_3218;method_75003()Jofficial dLaxl;d()J
-
tickSpawners
public void tickSpawners(boolean spawnMonsters) - Mappings:
Namespace Name Mixin selector named tickSpawnersLnet/minecraft/server/world/ServerWorld;tickSpawners(Z)Vintermediary method_29202Lnet/minecraft/class_3218;method_29202(Z)Vofficial aLaxl;a(Z)V
-
wakeSleepingPlayers
private void wakeSleepingPlayers()- Mappings:
Namespace Name Mixin selector named wakeSleepingPlayersLnet/minecraft/server/world/ServerWorld;wakeSleepingPlayers()Vintermediary method_23660Lnet/minecraft/class_3218;method_23660()Vofficial aCLaxl;aC()V
-
tickChunk
- Mappings:
Namespace Name Mixin selector named tickChunkLnet/minecraft/server/world/ServerWorld;tickChunk(Lnet/minecraft/world/chunk/WorldChunk;I)Vintermediary method_18203Lnet/minecraft/class_3218;method_18203(Lnet/minecraft/class_2818;I)Vofficial aLaxl;a(Leoq;I)V
-
tickThunder
- Mappings:
Namespace Name Mixin selector named tickThunderLnet/minecraft/server/world/ServerWorld;tickThunder(Lnet/minecraft/world/chunk/WorldChunk;)Vintermediary method_67503Lnet/minecraft/class_3218;method_67503(Lnet/minecraft/class_2818;)Vofficial aLaxl;a(Leoq;)V
-
tickIceAndSnow
- Mappings:
Namespace Name Mixin selector named tickIceAndSnowLnet/minecraft/server/world/ServerWorld;tickIceAndSnow(Lnet/minecraft/util/math/BlockPos;)Vintermediary method_52370Lnet/minecraft/class_3218;method_52370(Lnet/minecraft/class_2338;)Vofficial aLaxl;a(Liz;)V
-
getLightningRodPos
- Mappings:
Namespace Name Mixin selector named getLightningRodPosLnet/minecraft/server/world/ServerWorld;getLightningRodPos(Lnet/minecraft/util/math/BlockPos;)Ljava/util/Optional;intermediary method_31418Lnet/minecraft/class_3218;method_31418(Lnet/minecraft/class_2338;)Ljava/util/Optional;official HLaxl;H(Liz;)Ljava/util/Optional;
-
getLightningPos
- Mappings:
Namespace Name Mixin selector named getLightningPosLnet/minecraft/server/world/ServerWorld;getLightningPos(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;intermediary method_18210Lnet/minecraft/class_3218;method_18210(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;official bLaxl;b(Liz;)Liz;
-
isInBlockTick
public boolean isInBlockTick()- Mappings:
Namespace Name Mixin selector named isInBlockTickLnet/minecraft/server/world/ServerWorld;isInBlockTick()Zintermediary method_14177Lnet/minecraft/class_3218;method_14177()Zofficial eLaxl;e()Z
-
isSleepingEnabled
public boolean isSleepingEnabled()Returns whether sleeping can cause the night to skip.- Returns:
- whether sleeping can cause the night to skip
- Mappings:
Namespace Name Mixin selector named isSleepingEnabledLnet/minecraft/server/world/ServerWorld;isSleepingEnabled()Zintermediary method_33144Lnet/minecraft/class_3218;method_33144()Zofficial fLaxl;f()Z
-
sendSleepingStatus
private void sendSleepingStatus()Sends sleeping status action bar messages to players in this world.- Mappings:
Namespace Name Mixin selector named sendSleepingStatusLnet/minecraft/server/world/ServerWorld;sendSleepingStatus()Vintermediary method_33143Lnet/minecraft/class_3218;method_33143()Vofficial aDLaxl;aD()V
-
updateSleepingPlayers
public void updateSleepingPlayers()- Mappings:
Namespace Name Mixin selector named updateSleepingPlayersLnet/minecraft/server/world/ServerWorld;updateSleepingPlayers()Vintermediary method_8448Lnet/minecraft/class_3218;method_8448()Vofficial gLaxl;g()V
-
getScoreboard
- Specified by:
getScoreboardin classWorld- Mappings:
Namespace Name Mixin selector named getScoreboardLnet/minecraft/server/world/ServerWorld;getScoreboard()Lnet/minecraft/scoreboard/ServerScoreboard;intermediary method_14170Lnet/minecraft/class_3218;method_14170()Lnet/minecraft/class_2995;official hLaxl;h()Lanr;
-
getWaypointHandler
- Mappings:
Namespace Name Mixin selector named getWaypointHandlerLnet/minecraft/server/world/ServerWorld;getWaypointHandler()Lnet/minecraft/server/network/ServerWaypointHandler;intermediary method_70636Lnet/minecraft/class_3218;method_70636()Lnet/minecraft/class_11179;official iLaxl;i()Lbcz;
-
getLocalDifficulty
- Specified by:
getLocalDifficultyin interfaceServerWorldAccess- Mappings:
Namespace Name Mixin selector named getLocalDifficultyLnet/minecraft/world/ServerWorldAccess;getLocalDifficulty(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/LocalDifficulty;intermediary method_8404Lnet/minecraft/class_5425;method_8404(Lnet/minecraft/class_2338;)Lnet/minecraft/class_1266;official cLdvf;c(Liz;)Lccv;
-
tickWeather
private void tickWeather()- Mappings:
Namespace Name Mixin selector named tickWeatherLnet/minecraft/server/world/ServerWorld;tickWeather()Vintermediary method_39501Lnet/minecraft/class_3218;method_39501()Vofficial aELaxl;aE()V
-
resetWeather
public void resetWeather()- Mappings:
Namespace Name Mixin selector named resetWeatherLnet/minecraft/server/world/ServerWorld;resetWeather()Vintermediary method_14195Lnet/minecraft/class_3218;method_14195()Vofficial jLaxl;j()V
-
resetIdleTimeout
public void resetIdleTimeout()- Mappings:
Namespace Name Mixin selector named resetIdleTimeoutLnet/minecraft/server/world/ServerWorld;resetIdleTimeout()Vintermediary method_14197Lnet/minecraft/class_3218;method_14197()Vofficial kLaxl;k()V
-
tickFluid
- Mappings:
Namespace Name Mixin selector named tickFluidLnet/minecraft/server/world/ServerWorld;tickFluid(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/Fluid;)Vintermediary method_14171Lnet/minecraft/class_3218;method_14171(Lnet/minecraft/class_2338;Lnet/minecraft/class_3611;)Vofficial aLaxl;a(Liz;Lfiu;)V
-
tickBlock
- Mappings:
Namespace Name Mixin selector named tickBlockLnet/minecraft/server/world/ServerWorld;tickBlock(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)Vintermediary method_14189Lnet/minecraft/class_3218;method_14189(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;)Vofficial cLaxl;c(Liz;Ldxq;)V
-
tickEntity
- Mappings:
Namespace Name Mixin selector named tickEntityLnet/minecraft/server/world/ServerWorld;tickEntity(Lnet/minecraft/entity/Entity;)Vintermediary method_18762Lnet/minecraft/class_3218;method_18762(Lnet/minecraft/class_1297;)Vofficial aLaxl;a(Lcgd;)V
-
tickPassenger
- Mappings:
Namespace Name Mixin selector named tickPassengerLnet/minecraft/server/world/ServerWorld;tickPassenger(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;)Vintermediary method_18763Lnet/minecraft/class_3218;method_18763(Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;)Vofficial aLaxl;a(Lcgd;Lcgd;)V
-
onStateReplacedWithCommands
- Mappings:
Namespace Name Mixin selector named onStateReplacedWithCommandsLnet/minecraft/server/world/ServerWorld;onStateReplacedWithCommands(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Vintermediary method_70635Lnet/minecraft/class_3218;method_70635(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vofficial aLaxl;a(Liz;Lemh;)V
-
canEntityModifyAt
Returns whetherentitycan modify blocks atpos.- Overrides:
canEntityModifyAtin classWorld- Returns:
- whether
entitycan modify blocks atpos - See Also:
- Implementation Note:
- For players, this checks the spawn protection and the world border.
This is always
trueon the client and for non-player entities. - Mappings:
Namespace Name Mixin selector named canEntityModifyAtLnet/minecraft/world/World;canEntityModifyAt(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/BlockPos;)Zintermediary method_8505Lnet/minecraft/class_1937;method_8505(Lnet/minecraft/class_1297;Lnet/minecraft/class_2338;)Zofficial aLdun;a(Lcgd;Liz;)Z
-
save
public void save(@Nullable @Nullable ProgressListener progressListener, boolean flush, boolean savingDisabled) Saves the world.- Parameters:
progressListener- the listener for the saving process, ornullto specify noneflush- if it should immediately write all data to storage devicesavingDisabled- whether to return early without doing anything- Mappings:
Namespace Name Mixin selector named saveLnet/minecraft/server/world/ServerWorld;save(Lnet/minecraft/util/ProgressListener;ZZ)Vintermediary method_14176Lnet/minecraft/class_3218;method_14176(Lnet/minecraft/class_3536;ZZ)Vofficial aLaxl;a(Lbgp;ZZ)V
-
savePersistentState
private void savePersistentState(boolean flush) - Mappings:
Namespace Name Mixin selector named savePersistentStateLnet/minecraft/server/world/ServerWorld;savePersistentState(Z)Vintermediary method_14188Lnet/minecraft/class_3218;method_14188(Z)Vofficial cLaxl;c(Z)V
-
getEntitiesByType
public <T extends Entity> List<? extends T> getEntitiesByType(TypeFilter<Entity, T> filter, Predicate<? super T> predicate) Computes a list of entities of the given type. Warning: Ifnullis passed as the entity type filter, care should be taken that the type argumentTis set toEntity, otherwise heap pollution in the returned list orClassCastExceptioncan occur.- Parameters:
predicate- a predicate which returned entities must satisfy- Returns:
- a list of entities of the given type
- Mappings:
Namespace Name Mixin selector named getEntitiesByTypeLnet/minecraft/server/world/ServerWorld;getEntitiesByType(Lnet/minecraft/util/TypeFilter;Ljava/util/function/Predicate;)Ljava/util/List;intermediary method_18198Lnet/minecraft/class_3218;method_18198(Lnet/minecraft/class_5575;Ljava/util/function/Predicate;)Ljava/util/List;official aLaxl;a(Leqx;Ljava/util/function/Predicate;)Ljava/util/List;
-
collectEntitiesByType
public <T extends Entity> void collectEntitiesByType(TypeFilter<Entity, T> filter, Predicate<? super T> predicate, List<? super T> result) - Mappings:
Namespace Name Mixin selector named collectEntitiesByTypeLnet/minecraft/server/world/ServerWorld;collectEntitiesByType(Lnet/minecraft/util/TypeFilter;Ljava/util/function/Predicate;Ljava/util/List;)Vintermediary method_47538Lnet/minecraft/class_3218;method_47538(Lnet/minecraft/class_5575;Ljava/util/function/Predicate;Ljava/util/List;)Vofficial aLaxl;a(Leqx;Ljava/util/function/Predicate;Ljava/util/List;)V
-
collectEntitiesByType
public <T extends Entity> void collectEntitiesByType(TypeFilter<Entity, T> filter, Predicate<? super T> predicate, List<? super T> result, int limit) Collects entities of the given type, up tolimit. Using this can improve performance, especially iflimitis small.- See Also:
- Mappings:
Namespace Name Mixin selector named collectEntitiesByTypeLnet/minecraft/server/world/ServerWorld;collectEntitiesByType(Lnet/minecraft/util/TypeFilter;Ljava/util/function/Predicate;Ljava/util/List;I)Vintermediary method_47539Lnet/minecraft/class_3218;method_47539(Lnet/minecraft/class_5575;Ljava/util/function/Predicate;Ljava/util/List;I)Vofficial aLaxl;a(Leqx;Ljava/util/function/Predicate;Ljava/util/List;I)V
-
getAliveEnderDragons
Returns the list of alive ender dragons in the world.- Returns:
- the list of alive ender dragons in the world
- Mappings:
Namespace Name Mixin selector named getAliveEnderDragonsLnet/minecraft/server/world/ServerWorld;getAliveEnderDragons()Ljava/util/List;intermediary method_18776Lnet/minecraft/class_3218;method_18776()Ljava/util/List;official lLaxl;l()Ljava/util/List;
-
getPlayers
Returns the list of players filtered usingpredicate.- Returns:
- the list of players filtered using
predicate - Mappings:
Namespace Name Mixin selector named getPlayersLnet/minecraft/server/world/ServerWorld;getPlayers(Ljava/util/function/Predicate;)Ljava/util/List;intermediary method_18766Lnet/minecraft/class_3218;method_18766(Ljava/util/function/Predicate;)Ljava/util/List;official aLaxl;a(Ljava/util/function/Predicate;)Ljava/util/List;
-
getPlayers
public List<ServerPlayerEntity> getPlayers(Predicate<? super ServerPlayerEntity> predicate, int limit) Returns the list of players filtered usingpredicate, up tolimit.- Returns:
- the list of players filtered using
predicate, up tolimit - Mappings:
Namespace Name Mixin selector named getPlayersLnet/minecraft/server/world/ServerWorld;getPlayers(Ljava/util/function/Predicate;I)Ljava/util/List;intermediary method_47540Lnet/minecraft/class_3218;method_47540(Ljava/util/function/Predicate;I)Ljava/util/List;official aLaxl;a(Ljava/util/function/Predicate;I)Ljava/util/List;
-
getRandomAlivePlayer
Returns a randomly selected alive player, ornullif there is none.- Returns:
- a randomly selected alive player, or
nullif there is none - Mappings:
Namespace Name Mixin selector named getRandomAlivePlayerLnet/minecraft/server/world/ServerWorld;getRandomAlivePlayer()Lnet/minecraft/server/network/ServerPlayerEntity;intermediary method_18779Lnet/minecraft/class_3218;method_18779()Lnet/minecraft/class_3222;official mLaxl;m()Laxm;
-
spawnEntity
Spawns an entity.- Specified by:
spawnEntityin interfaceModifiableWorld- See Also:
- API Note:
- To spawn an entity with passengers, use
ServerWorldAccess.spawnEntityAndPassengers(net.minecraft.entity.Entity). - Mappings:
Namespace Name Mixin selector named spawnEntityLnet/minecraft/world/ModifiableWorld;spawnEntity(Lnet/minecraft/entity/Entity;)Zintermediary method_8649Lnet/minecraft/class_1945;method_8649(Lnet/minecraft/class_1297;)Zofficial bLduv;b(Lcgd;)Z
-
tryLoadEntity
- Mappings:
Namespace Name Mixin selector named tryLoadEntityLnet/minecraft/server/world/ServerWorld;tryLoadEntity(Lnet/minecraft/entity/Entity;)Zintermediary method_18768Lnet/minecraft/class_3218;method_18768(Lnet/minecraft/class_1297;)Zofficial cLaxl;c(Lcgd;)Z
-
onDimensionChanged
Called on the destination world when an entity changed the dimension.- See Also:
- Mappings:
Namespace Name Mixin selector named onDimensionChangedLnet/minecraft/server/world/ServerWorld;onDimensionChanged(Lnet/minecraft/entity/Entity;)Vintermediary method_18769Lnet/minecraft/class_3218;method_18769(Lnet/minecraft/class_1297;)Vofficial dLaxl;d(Lcgd;)V
-
onPlayerConnected
Called on the player's world when the player connected to the server and spawned.- Mappings:
Namespace Name Mixin selector named onPlayerConnectedLnet/minecraft/server/world/ServerWorld;onPlayerConnected(Lnet/minecraft/server/network/ServerPlayerEntity;)Vintermediary method_18213Lnet/minecraft/class_3218;method_18213(Lnet/minecraft/class_3222;)Vofficial aLaxl;a(Laxm;)V
-
onPlayerRespawned
Called on the world that has the player's respawn point when the player respawned.- Mappings:
Namespace Name Mixin selector named onPlayerRespawnedLnet/minecraft/server/world/ServerWorld;onPlayerRespawned(Lnet/minecraft/server/network/ServerPlayerEntity;)Vintermediary method_18215Lnet/minecraft/class_3218;method_18215(Lnet/minecraft/class_3222;)Vofficial bLaxl;b(Laxm;)V
-
addPlayer
- Mappings:
Namespace Name Mixin selector named addPlayerLnet/minecraft/server/world/ServerWorld;addPlayer(Lnet/minecraft/server/network/ServerPlayerEntity;)Vintermediary method_18771Lnet/minecraft/class_3218;method_18771(Lnet/minecraft/class_3222;)Vofficial cLaxl;c(Laxm;)V
-
addEntity
- Mappings:
Namespace Name Mixin selector named addEntityLnet/minecraft/server/world/ServerWorld;addEntity(Lnet/minecraft/entity/Entity;)Zintermediary method_14175Lnet/minecraft/class_3218;method_14175(Lnet/minecraft/class_1297;)Zofficial iLaxl;i(Lcgd;)Z
-
spawnNewEntityAndPassengers
Checks whether any of the entity and its passengers already exist in the world, and if not, spawns the entity with its passengers.- Returns:
trueif the spawning was successful, otherwisefalse- See Also:
- Mappings:
Namespace Name Mixin selector named spawnNewEntityAndPassengersLnet/minecraft/server/world/ServerWorld;spawnNewEntityAndPassengers(Lnet/minecraft/entity/Entity;)Zintermediary method_30736Lnet/minecraft/class_3218;method_30736(Lnet/minecraft/class_1297;)Zofficial eLaxl;e(Lcgd;)Z
-
unloadEntities
- Mappings:
Namespace Name Mixin selector named unloadEntitiesLnet/minecraft/server/world/ServerWorld;unloadEntities(Lnet/minecraft/world/chunk/WorldChunk;)Vintermediary method_18764Lnet/minecraft/class_3218;method_18764(Lnet/minecraft/class_2818;)Vofficial bLaxl;b(Leoq;)V
-
removePlayer
- Mappings:
Namespace Name Mixin selector named removePlayerLnet/minecraft/server/world/ServerWorld;removePlayer(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/entity/Entity$RemovalReason;)Vintermediary method_18770Lnet/minecraft/class_3218;method_18770(Lnet/minecraft/class_3222;Lnet/minecraft/class_1297$class_5529;)Vofficial aLaxl;a(Laxm;Lcgd$e;)V
-
setBlockBreakingInfo
- Specified by:
setBlockBreakingInfoin classWorld- Mappings:
Namespace Name Mixin selector named setBlockBreakingInfoLnet/minecraft/world/World;setBlockBreakingInfo(ILnet/minecraft/util/math/BlockPos;I)Vintermediary method_8517Lnet/minecraft/class_1937;method_8517(ILnet/minecraft/class_2338;I)Vofficial aLdun;a(ILiz;I)V
-
playSound
public void playSound(@Nullable @Nullable Entity source, double x, double y, double z, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch, long seed) Plays a sound caused by a source. On the client, the sound will only play if the source is the same as the client's player. On the server, sound packets will be sent to players around the source, excluding the source itself.- Specified by:
playSoundin classWorld- Parameters:
source- the player that caused this sound, ornull- Mappings:
Namespace Name Mixin selector named playSoundLnet/minecraft/world/World;playSound(Lnet/minecraft/entity/Entity;DDDLnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/sound/SoundCategory;FFJ)Vintermediary method_8465Lnet/minecraft/class_1937;method_8465(Lnet/minecraft/class_1297;DDDLnet/minecraft/class_6880;Lnet/minecraft/class_3419;FFJ)Vofficial aLdun;a(Lcgd;DDDLjj;Lbdf;FFJ)V
-
playSoundFromEntity
public void playSoundFromEntity(@Nullable @Nullable Entity source, Entity entity, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch, long seed) Plays a sound caused by a source at the provided entity's position. On the client, the sound will only play if the source is the same as the client's player. On the server, sound packets will be sent to players around the source, excluding the source itself.- Specified by:
playSoundFromEntityin classWorld- Parameters:
source- the player that caused this sound, ornull- Mappings:
Namespace Name Mixin selector named playSoundFromEntityLnet/minecraft/world/World;playSoundFromEntity(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/sound/SoundCategory;FFJ)Vintermediary method_8449Lnet/minecraft/class_1937;method_8449(Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;Lnet/minecraft/class_6880;Lnet/minecraft/class_3419;FFJ)Vofficial aLdun;a(Lcgd;Lcgd;Ljj;Lbdf;FFJ)V
-
syncGlobalEvent
- Overrides:
syncGlobalEventin classWorld- Mappings:
Namespace Name Mixin selector named syncGlobalEventLnet/minecraft/world/World;syncGlobalEvent(ILnet/minecraft/util/math/BlockPos;I)Vintermediary method_8474Lnet/minecraft/class_1937;method_8474(ILnet/minecraft/class_2338;I)Vofficial bLdun;b(ILiz;I)V
-
syncWorldEvent
- Specified by:
syncWorldEventin interfaceWorldAccess- Mappings:
Namespace Name Mixin selector named syncWorldEventLnet/minecraft/world/WorldAccess;syncWorldEvent(Lnet/minecraft/entity/Entity;ILnet/minecraft/util/math/BlockPos;I)Vintermediary method_8444Lnet/minecraft/class_1936;method_8444(Lnet/minecraft/class_1297;ILnet/minecraft/class_2338;I)Vofficial aLduo;a(Lcgd;ILiz;I)V
-
getLogicalHeight
public int getLogicalHeight()- Mappings:
Namespace Name Mixin selector named getLogicalHeightLnet/minecraft/server/world/ServerWorld;getLogicalHeight()Iintermediary method_32819Lnet/minecraft/class_3218;method_32819()Iofficial nLaxl;n()I
-
emitGameEvent
public void emitGameEvent(RegistryEntry<GameEvent> event, Vec3d emitterPos, GameEvent.Emitter emitter) Emits a game event.- Specified by:
emitGameEventin interfaceWorldAccess- Mappings:
Namespace Name Mixin selector named emitGameEventLnet/minecraft/world/WorldAccess;emitGameEvent(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/world/event/GameEvent$Emitter;)Vintermediary method_32888Lnet/minecraft/class_1936;method_32888(Lnet/minecraft/class_6880;Lnet/minecraft/class_243;Lnet/minecraft/class_5712$class_7397;)Vofficial aLduo;a(Ljj;Lfrd;Lerl$a;)V
-
updateListeners
- Specified by:
updateListenersin classWorld- Mappings:
Namespace Name Mixin selector named updateListenersLnet/minecraft/world/World;updateListeners(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;I)Vintermediary method_8413Lnet/minecraft/class_1937;method_8413(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;I)Vofficial aLdun;a(Liz;Lemh;Lemh;I)V
-
updateNeighbors
- Specified by:
updateNeighborsin interfaceWorldAccess- Mappings:
Namespace Name Mixin selector named updateNeighborsLnet/minecraft/world/WorldAccess;updateNeighbors(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)Vintermediary method_8408Lnet/minecraft/class_1936;method_8408(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;)Vofficial aLduo;a(Liz;Ldxq;)V
-
updateNeighborsAlways
public void updateNeighborsAlways(BlockPos pos, Block sourceBlock, @Nullable @Nullable WireOrientation orientation) Emits a neighbor update to all 6 neighboring blocks ofpos.- Overrides:
updateNeighborsAlwaysin classWorld- See Also:
- Mappings:
Namespace Name Mixin selector named updateNeighborsAlwaysLnet/minecraft/world/World;updateNeighborsAlways(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/world/block/WireOrientation;)Vintermediary method_8452Lnet/minecraft/class_1937;method_8452(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_9904;)Vofficial aLdun;a(Liz;Ldxq;Lfkd;)V
-
updateNeighborsExcept
public void updateNeighborsExcept(BlockPos pos, Block sourceBlock, Direction direction, @Nullable @Nullable WireOrientation orientation) Emits a neighbor update to neighboring blocks ofpos, except for the one indirectiondirection.- Overrides:
updateNeighborsExceptin classWorld- See Also:
- Mappings:
Namespace Name Mixin selector named updateNeighborsExceptLnet/minecraft/world/World;updateNeighborsExcept(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/Direction;Lnet/minecraft/world/block/WireOrientation;)Vintermediary method_8508Lnet/minecraft/class_1937;method_8508(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2350;Lnet/minecraft/class_9904;)Vofficial aLdun;a(Liz;Ldxq;Ljf;Lfkd;)V
-
updateNeighbor
public void updateNeighbor(BlockPos pos, Block sourceBlock, @Nullable @Nullable WireOrientation orientation) Triggers a neighbor update originating fromsourcePosatpos.- Overrides:
updateNeighborin classWorld- See Also:
- Mappings:
Namespace Name Mixin selector named updateNeighborLnet/minecraft/world/World;updateNeighbor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/world/block/WireOrientation;)Vintermediary method_8492Lnet/minecraft/class_1937;method_8492(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_9904;)Vofficial bLdun;b(Liz;Ldxq;Lfkd;)V
-
updateNeighbor
public void updateNeighbor(BlockState state, BlockPos pos, Block sourceBlock, @Nullable @Nullable WireOrientation orientation, boolean notify) - Overrides:
updateNeighborin classWorld- Mappings:
Namespace Name Mixin selector named updateNeighborLnet/minecraft/world/World;updateNeighbor(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/world/block/WireOrientation;Z)Vintermediary method_41410Lnet/minecraft/class_1937;method_41410(Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_9904;Z)Vofficial aLdun;a(Lemh;Liz;Ldxq;Lfkd;Z)V
-
sendEntityStatus
Sends the entity status to nearby players.- Overrides:
sendEntityStatusin classWorld- See Also:
- Mappings:
Namespace Name Mixin selector named sendEntityStatusLnet/minecraft/world/World;sendEntityStatus(Lnet/minecraft/entity/Entity;B)Vintermediary method_8421Lnet/minecraft/class_1937;method_8421(Lnet/minecraft/class_1297;B)Vofficial aLdun;a(Lcgd;B)V
-
sendEntityDamage
- Overrides:
sendEntityDamagein classWorld- Mappings:
Namespace Name Mixin selector named sendEntityDamageLnet/minecraft/world/World;sendEntityDamage(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;)Vintermediary method_48760Lnet/minecraft/class_1937;method_48760(Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;)Vofficial aLdun;a(Lcgd;Lceq;)V
-
getChunkManager
- Specified by:
getChunkManagerin interfaceWorldAccess- Mappings:
Namespace Name Mixin selector named getChunkManagerLnet/minecraft/server/world/ServerWorld;getChunkManager()Lnet/minecraft/server/world/ServerChunkManager;intermediary method_14178Lnet/minecraft/class_3218;method_14178()Lnet/minecraft/class_3215;official oLaxl;o()Laxi;
-
createExplosion
public void createExplosion(@Nullable @Nullable Entity entity, @Nullable @Nullable DamageSource damageSource, @Nullable @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, World.ExplosionSourceType explosionSourceType, ParticleEffect smallParticle, ParticleEffect largeParticle, Pool<BlockParticleEffect> blockParticles, RegistryEntry<SoundEvent> soundEvent) Creates an explosion.- Specified by:
createExplosionin classWorld- Parameters:
entity- the entity that exploded (like TNT) ornullto indicate no entity explodeddamageSource- the custom damage source, ornullto use the default (DamageSources.explosion(Explosion))behavior- the explosion behavior, ornullto use the defaultcreateFire- whether the explosion should create fire- Mappings:
Namespace Name Mixin selector named createExplosionLnet/minecraft/world/World;createExplosion(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;Lnet/minecraft/world/explosion/ExplosionBehavior;DDDFZLnet/minecraft/world/World$ExplosionSourceType;Lnet/minecraft/particle/ParticleEffect;Lnet/minecraft/particle/ParticleEffect;Lnet/minecraft/util/collection/Pool;Lnet/minecraft/registry/entry/RegistryEntry;)Vintermediary method_8454Lnet/minecraft/class_1937;method_8454(Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;Lnet/minecraft/class_5362;DDDFZLnet/minecraft/class_1937$class_7867;Lnet/minecraft/class_2394;Lnet/minecraft/class_2394;Lnet/minecraft/class_6012;Lnet/minecraft/class_6880;)Vofficial aLdun;a(Lcgd;Lceq;Lduh;DDDFZLdun$a;Lmc;Lmc;Lcbh;Ljj;)V
-
getDestructionType
private Explosion.DestructionType getDestructionType(GameRules.Key<GameRules.BooleanRule> decayRule) - Mappings:
Namespace Name Mixin selector named getDestructionTypeLnet/minecraft/server/world/ServerWorld;getDestructionType(Lnet/minecraft/world/GameRules$Key;)Lnet/minecraft/world/explosion/Explosion$DestructionType;intermediary method_61270Lnet/minecraft/class_3218;method_61270(Lnet/minecraft/class_1928$class_4313;)Lnet/minecraft/class_1927$class_4179;official aLaxl;a(Lduj$e;)Ldug$a;
-
addSyncedBlockEvent
- Overrides:
addSyncedBlockEventin classWorld- Mappings:
Namespace Name Mixin selector named addSyncedBlockEventLnet/minecraft/world/World;addSyncedBlockEvent(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;II)Vintermediary method_8427Lnet/minecraft/class_1937;method_8427(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;II)Vofficial aLdun;a(Liz;Ldxq;II)V
-
processSyncedBlockEvents
private void processSyncedBlockEvents()- Mappings:
Namespace Name Mixin selector named processSyncedBlockEventsLnet/minecraft/server/world/ServerWorld;processSyncedBlockEvents()Vintermediary method_14192Lnet/minecraft/class_3218;method_14192()Vofficial aFLaxl;aF()V
-
processBlockEvent
- Mappings:
Namespace Name Mixin selector named processBlockEventLnet/minecraft/server/world/ServerWorld;processBlockEvent(Lnet/minecraft/server/world/BlockEvent;)Zintermediary method_14174Lnet/minecraft/class_3218;method_14174(Lnet/minecraft/class_1919;)Zofficial aLaxl;a(Ldtq;)Z
-
getBlockTickScheduler
- Specified by:
getBlockTickSchedulerin interfaceScheduledTickView- Mappings:
Namespace Name Mixin selector named getBlockTickSchedulerLnet/minecraft/server/world/ServerWorld;getBlockTickScheduler()Lnet/minecraft/world/tick/WorldTickScheduler;intermediary method_14196Lnet/minecraft/class_3218;method_14196()Lnet/minecraft/class_6757;official pLaxl;p()Lfss;
-
getFluidTickScheduler
- Specified by:
getFluidTickSchedulerin interfaceScheduledTickView- Mappings:
Namespace Name Mixin selector named getFluidTickSchedulerLnet/minecraft/server/world/ServerWorld;getFluidTickScheduler()Lnet/minecraft/world/tick/WorldTickScheduler;intermediary method_14179Lnet/minecraft/class_3218;method_14179()Lnet/minecraft/class_6757;official qLaxl;q()Lfss;
-
getServer
- Specified by:
getServerin interfaceWorldAccess- Overrides:
getServerin classWorld- Mappings:
Namespace Name Mixin selector named getServerLnet/minecraft/world/WorldAccess;getServer()Lnet/minecraft/server/MinecraftServer;intermediary method_8503Lnet/minecraft/class_1936;method_8503()Lnet/minecraft/server/MinecraftServer;official rLduo;r()Lnet/minecraft/server/MinecraftServer;
-
getPortalForcer
- Mappings:
Namespace Name Mixin selector named getPortalForcerLnet/minecraft/server/world/ServerWorld;getPortalForcer()Lnet/minecraft/world/dimension/PortalForcer;intermediary method_14173Lnet/minecraft/class_3218;method_14173()Lnet/minecraft/class_1946;official sLaxl;s()Lfjt;
-
getStructureTemplateManager
- Mappings:
Namespace Name Mixin selector named getStructureTemplateManagerLnet/minecraft/server/world/ServerWorld;getStructureTemplateManager()Lnet/minecraft/structure/StructureTemplateManager;intermediary method_14183Lnet/minecraft/class_3218;method_14183()Lnet/minecraft/class_3485;official tLaxl;t()Lfhl;
-
spawnParticles
public <T extends ParticleEffect> int spawnParticles(T parameters, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, double speed) - Mappings:
Namespace Name Mixin selector named spawnParticlesLnet/minecraft/server/world/ServerWorld;spawnParticles(Lnet/minecraft/particle/ParticleEffect;DDDIDDDD)Iintermediary method_65096Lnet/minecraft/class_3218;method_65096(Lnet/minecraft/class_2394;DDDIDDDD)Iofficial aLaxl;a(Lmc;DDDIDDDD)I
-
spawnParticles
public <T extends ParticleEffect> int spawnParticles(T parameters, boolean force, boolean important, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, double speed) Spawns a particle visible to nearby players.- Returns:
- the number of players the particle packet was sent to
- Implementation Note:
- If
countis0, a single particle will be spawned with its velocity beingdeltaX,deltaY,deltaZmultiplied byspeed. - Mappings:
Namespace Name Mixin selector named spawnParticlesLnet/minecraft/server/world/ServerWorld;spawnParticles(Lnet/minecraft/particle/ParticleEffect;ZZDDDIDDDD)Iintermediary method_14199Lnet/minecraft/class_3218;method_14199(Lnet/minecraft/class_2394;ZZDDDIDDDD)Iofficial aLaxl;a(Lmc;ZZDDDIDDDD)I
-
spawnParticles
public <T extends ParticleEffect> boolean spawnParticles(ServerPlayerEntity viewer, T parameters, boolean force, boolean important, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, double speed) Spawns a particle visible toviewer, if the viewer is near the provided coordinates.- Returns:
- whether the particle packet was sent
- Implementation Note:
- If
countis0, a single particle will be spawned with its velocity beingdeltaX,deltaY,deltaZmultiplied byspeed. - Mappings:
Namespace Name Mixin selector named spawnParticlesLnet/minecraft/server/world/ServerWorld;spawnParticles(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/particle/ParticleEffect;ZZDDDIDDDD)Zintermediary method_14166Lnet/minecraft/class_3218;method_14166(Lnet/minecraft/class_3222;Lnet/minecraft/class_2394;ZZDDDIDDDD)Zofficial aLaxl;a(Laxm;Lmc;ZZDDDIDDDD)Z
-
sendToPlayerIfNearby
private boolean sendToPlayerIfNearby(ServerPlayerEntity player, boolean force, double x, double y, double z, Packet<?> packet) Sends thepackettoplayerif the player is near the provided coordinates.- Returns:
- whether the packet was sent
- Implementation Note:
- The threshold is 32 blocks if
forceisfalse, and 512 blocks ifforceistrue. - Mappings:
Namespace Name Mixin selector named sendToPlayerIfNearbyLnet/minecraft/server/world/ServerWorld;sendToPlayerIfNearby(Lnet/minecraft/server/network/ServerPlayerEntity;ZDDDLnet/minecraft/network/packet/Packet;)Zintermediary method_14191Lnet/minecraft/class_3218;method_14191(Lnet/minecraft/class_3222;ZDDDLnet/minecraft/class_2596;)Zofficial aLaxl;a(Laxm;ZDDDLabd;)Z
-
getEntityById
Returns the entity using the entity ID, ornullif none was found.Entity ID is ephemeral and changes after server restart. Use the UUID for persistent storage instead.
- Specified by:
getEntityByIdin classWorld- Returns:
- the entity using the entity ID, or
nullif none was found - See Also:
- Mappings:
Namespace Name Mixin selector named getEntityByIdLnet/minecraft/world/World;getEntityById(I)Lnet/minecraft/entity/Entity;intermediary method_8469Lnet/minecraft/class_1937;method_8469(I)Lnet/minecraft/class_1297;official aLdun;a(I)Lcgd;
-
getEntityAnyDimension
- Overrides:
getEntityAnyDimensionin classWorld- Mappings:
Namespace Name Mixin selector named getEntityAnyDimensionLnet/minecraft/world/World;getEntityAnyDimension(Ljava/util/UUID;)Lnet/minecraft/entity/Entity;intermediary method_73284Lnet/minecraft/class_1937;method_73284(Ljava/util/UUID;)Lnet/minecraft/class_1297;official aLdun;a(Ljava/util/UUID;)Lcgd;
-
getPlayerAnyDimension
- Overrides:
getPlayerAnyDimensionin classWorld- Mappings:
Namespace Name Mixin selector named getPlayerAnyDimensionLnet/minecraft/world/World;getPlayerAnyDimension(Ljava/util/UUID;)Lnet/minecraft/entity/player/PlayerEntity;intermediary method_73285Lnet/minecraft/class_1937;method_73285(Ljava/util/UUID;)Lnet/minecraft/class_1657;official bLdun;b(Ljava/util/UUID;)Ldcb;
-
getEntityOrDragonPart
Deprecated.- Mappings:
Namespace Name Mixin selector named getEntityOrDragonPartLnet/minecraft/server/world/ServerWorld;getEntityOrDragonPart(I)Lnet/minecraft/entity/Entity;intermediary method_31424Lnet/minecraft/class_3218;method_31424(I)Lnet/minecraft/class_1297;official bLaxl;b(I)Lcgd;
-
getEnderDragonParts
- Specified by:
getEnderDragonPartsin classWorld- Mappings:
Namespace Name Mixin selector named getEnderDragonPartsLnet/minecraft/world/World;getEnderDragonParts()Ljava/util/Collection;intermediary method_65097Lnet/minecraft/class_1937;method_65097()Ljava/util/Collection;official uLdun;u()Ljava/util/Collection;
-
locateStructure
@Nullable public @Nullable BlockPos locateStructure(TagKey<Structure> structureTag, BlockPos pos, int radius, boolean skipReferencedStructures) Tries to find the closest structure of a given type near a given block.New chunks will only be generated up to the
ChunkStatus.STRUCTURE_STARTSphase by this method.The radius is ignored for strongholds.
- Parameters:
pos- the position to start the searching atradius- the search radius in chunks around the chunk the given block position is in; a radius of 0 will only search in the given chunkskipReferencedStructures- whether to exclude structures that were previously located (has positiveStructureStart.references)- Returns:
- the position of the structure, or
nullif no structure could be found within the given search radius - See Also:
- Mappings:
Namespace Name Mixin selector named locateStructureLnet/minecraft/server/world/ServerWorld;locateStructure(Lnet/minecraft/registry/tag/TagKey;Lnet/minecraft/util/math/BlockPos;IZ)Lnet/minecraft/util/math/BlockPos;intermediary method_8487Lnet/minecraft/class_3218;method_8487(Lnet/minecraft/class_6862;Lnet/minecraft/class_2338;IZ)Lnet/minecraft/class_2338;official aLaxl;a(Lbej;Liz;IZ)Liz;
-
locateBiome
@Nullable public @Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<Biome>> locateBiome(Predicate<RegistryEntry<Biome>> predicate, BlockPos pos, int radius, int horizontalBlockCheckInterval, int verticalBlockCheckInterval) - Mappings:
Namespace Name Mixin selector named locateBiomeLnet/minecraft/server/world/ServerWorld;locateBiome(Ljava/util/function/Predicate;Lnet/minecraft/util/math/BlockPos;III)Lcom/mojang/datafixers/util/Pair;intermediary method_42108Lnet/minecraft/class_3218;method_42108(Ljava/util/function/Predicate;Lnet/minecraft/class_2338;III)Lcom/mojang/datafixers/util/Pair;official aLaxl;a(Ljava/util/function/Predicate;Liz;III)Lcom/mojang/datafixers/util/Pair;
-
getWorldBorder
- Specified by:
getWorldBorderin interfaceCollisionView- Mappings:
Namespace Name Mixin selector named getWorldBorderLnet/minecraft/world/CollisionView;getWorldBorder()Lnet/minecraft/world/border/WorldBorder;intermediary method_8621Lnet/minecraft/class_1941;method_8621()Lnet/minecraft/class_2784;official vLdtv;v()Leoa;
-
getRecipeManager
- Specified by:
getRecipeManagerin classWorld- Mappings:
Namespace Name Mixin selector named getRecipeManagerLnet/minecraft/server/world/ServerWorld;getRecipeManager()Lnet/minecraft/recipe/ServerRecipeManager;intermediary method_64577Lnet/minecraft/class_3218;method_64577()Lnet/minecraft/class_1863;official wLaxl;w()Ldpk;
-
getTickManager
- Specified by:
getTickManagerin classWorld- Mappings:
Namespace Name Mixin selector named getTickManagerLnet/minecraft/world/World;getTickManager()Lnet/minecraft/world/tick/TickManager;intermediary method_54719Lnet/minecraft/class_1937;method_54719()Lnet/minecraft/class_8921;official xLdun;x()Lcdj;
-
isSavingDisabled
public boolean isSavingDisabled()- Overrides:
isSavingDisabledin classWorld- Mappings:
Namespace Name Mixin selector named isSavingDisabledLnet/minecraft/world/World;isSavingDisabled()Zintermediary method_8458Lnet/minecraft/class_1937;method_8458()Zofficial yLdun;y()Z
-
getPersistentStateManager
- Mappings:
Namespace Name Mixin selector named getPersistentStateManagerLnet/minecraft/server/world/ServerWorld;getPersistentStateManager()Lnet/minecraft/world/PersistentStateManager;intermediary method_17983Lnet/minecraft/class_3218;method_17983()Lnet/minecraft/class_26;official zLaxl;z()Lfkw;
-
getMapState
- Specified by:
getMapStatein classWorld- Mappings:
Namespace Name Mixin selector named getMapStateLnet/minecraft/world/World;getMapState(Lnet/minecraft/component/type/MapIdComponent;)Lnet/minecraft/item/map/MapState;intermediary method_17891Lnet/minecraft/class_1937;method_17891(Lnet/minecraft/class_9209;)Lnet/minecraft/class_22;official aLdun;a(Lfko;)Lfkq;
-
putMapState
- Mappings:
Namespace Name Mixin selector named putMapStateLnet/minecraft/server/world/ServerWorld;putMapState(Lnet/minecraft/component/type/MapIdComponent;Lnet/minecraft/item/map/MapState;)Vintermediary method_17890Lnet/minecraft/class_3218;method_17890(Lnet/minecraft/class_9209;Lnet/minecraft/class_22;)Vofficial aLaxl;a(Lfko;Lfkq;)V
-
increaseAndGetMapId
- Mappings:
Namespace Name Mixin selector named increaseAndGetMapIdLnet/minecraft/server/world/ServerWorld;increaseAndGetMapId()Lnet/minecraft/component/type/MapIdComponent;intermediary method_17889Lnet/minecraft/class_3218;method_17889()Lnet/minecraft/class_9209;official ALaxl;A()Lfko;
-
setSpawnPoint
- Specified by:
setSpawnPointin classWorld- Mappings:
Namespace Name Mixin selector named setSpawnPointLnet/minecraft/world/World;setSpawnPoint(Lnet/minecraft/world/WorldProperties$SpawnPoint;)Vintermediary method_27873Lnet/minecraft/class_1937;method_27873(Lnet/minecraft/class_5217$class_12064;)Vofficial aLdun;a(Lfky$a;)V
-
getSpawnPoint
- Specified by:
getSpawnPointin classWorld- Mappings:
Namespace Name Mixin selector named getSpawnPointLnet/minecraft/world/World;getSpawnPoint()Lnet/minecraft/world/WorldProperties$SpawnPoint;intermediary method_74854Lnet/minecraft/class_1937;method_74854()Lnet/minecraft/class_5217$class_12064;official BLdun;B()Lfky$a;
-
getForcedChunks
Returns the set that containsChunkPosof forced chunks serialized as a long.- Returns:
- the set that contains
ChunkPosof forced chunks serialized as a long - Mappings:
Namespace Name Mixin selector named getForcedChunksLnet/minecraft/server/world/ServerWorld;getForcedChunks()Lit/unimi/dsi/fastutil/longs/LongSet;intermediary method_17984Lnet/minecraft/class_3218;method_17984()Lit/unimi/dsi/fastutil/longs/LongSet;official CLaxl;C()Lit/unimi/dsi/fastutil/longs/LongSet;
-
setChunkForced
public boolean setChunkForced(int x, int z, boolean forced) Sets the forced status of the chunk.Forced chunks are created in-game using the
/forceloadcommand.- Parameters:
x- the chunk's X coordinatez- the chunk's Z coordinateforced- whether to mark the chunk as forced- Mappings:
Namespace Name Mixin selector named setChunkForcedLnet/minecraft/server/world/ServerWorld;setChunkForced(IIZ)Zintermediary method_17988Lnet/minecraft/class_3218;method_17988(IIZ)Zofficial aLaxl;a(IIZ)Z
-
getPlayers
- Specified by:
getPlayersin interfaceEntityView- Mappings:
Namespace Name Mixin selector named getPlayersLnet/minecraft/world/EntityView;getPlayers()Ljava/util/List;intermediary method_18456Lnet/minecraft/class_1924;method_18456()Ljava/util/List;official DLduf;D()Ljava/util/List;
-
onBlockStateChanged
- Overrides:
onBlockStateChangedin classWorld- Mappings:
Namespace Name Mixin selector named onBlockStateChangedLnet/minecraft/world/World;onBlockStateChanged(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;)Vintermediary method_66016Lnet/minecraft/class_1937;method_66016(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;)Vofficial aLdun;a(Liz;Lemh;Lemh;)V
-
getPointOfInterestStorage
- Mappings:
Namespace Name Mixin selector named getPointOfInterestStorageLnet/minecraft/server/world/ServerWorld;getPointOfInterestStorage()Lnet/minecraft/world/poi/PointOfInterestStorage;intermediary method_19494Lnet/minecraft/class_3218;method_19494()Lnet/minecraft/class_4153;official ELaxl;E()Lcsm;
-
isNearOccupiedPointOfInterest
- Mappings:
Namespace Name Mixin selector named isNearOccupiedPointOfInterestLnet/minecraft/server/world/ServerWorld;isNearOccupiedPointOfInterest(Lnet/minecraft/util/math/BlockPos;)Zintermediary method_19500Lnet/minecraft/class_3218;method_19500(Lnet/minecraft/class_2338;)Zofficial dLaxl;d(Liz;)Z
-
isNearOccupiedPointOfInterest
- Mappings:
Namespace Name Mixin selector named isNearOccupiedPointOfInterestLnet/minecraft/server/world/ServerWorld;isNearOccupiedPointOfInterest(Lnet/minecraft/util/math/ChunkSectionPos;)Zintermediary method_20588Lnet/minecraft/class_3218;method_20588(Lnet/minecraft/class_4076;)Zofficial aLaxl;a(Lkc;)Z
-
isNearOccupiedPointOfInterest
- Mappings:
Namespace Name Mixin selector named isNearOccupiedPointOfInterestLnet/minecraft/server/world/ServerWorld;isNearOccupiedPointOfInterest(Lnet/minecraft/util/math/BlockPos;I)Zintermediary method_19497Lnet/minecraft/class_3218;method_19497(Lnet/minecraft/class_2338;I)Zofficial aLaxl;a(Liz;I)Z
-
getOccupiedPointOfInterestDistance
- Mappings:
Namespace Name Mixin selector named getOccupiedPointOfInterestDistanceLnet/minecraft/server/world/ServerWorld;getOccupiedPointOfInterestDistance(Lnet/minecraft/util/math/ChunkSectionPos;)Iintermediary method_19498Lnet/minecraft/class_3218;method_19498(Lnet/minecraft/class_4076;)Iofficial bLaxl;b(Lkc;)I
-
getRaidManager
- Mappings:
Namespace Name Mixin selector named getRaidManagerLnet/minecraft/server/world/ServerWorld;getRaidManager()Lnet/minecraft/village/raid/RaidManager;intermediary method_19495Lnet/minecraft/class_3218;method_19495()Lnet/minecraft/class_3767;official FLaxl;F()Lddv;
-
getRaidAt
Returns the raid occurring within 96 block radius, ornullif there is none.- Returns:
- the raid occurring within 96 block radius, or
nullif there is none - Mappings:
Namespace Name Mixin selector named getRaidAtLnet/minecraft/server/world/ServerWorld;getRaidAt(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/village/raid/Raid;intermediary method_19502Lnet/minecraft/class_3218;method_19502(Lnet/minecraft/class_2338;)Lnet/minecraft/class_3765;official eLaxl;e(Liz;)Lddt;
-
hasRaidAt
Returnstrueif a raid exists within 96 block radius ofpos.- Returns:
trueif a raid exists within 96 block radius ofpos- Mappings:
Namespace Name Mixin selector named hasRaidAtLnet/minecraft/server/world/ServerWorld;hasRaidAt(Lnet/minecraft/util/math/BlockPos;)Zintermediary method_19503Lnet/minecraft/class_3218;method_19503(Lnet/minecraft/class_2338;)Zofficial fLaxl;f(Liz;)Z
-
handleInteraction
public void handleInteraction(EntityInteraction interaction, Entity entity, InteractionObserver observer) - Mappings:
Namespace Name Mixin selector named handleInteractionLnet/minecraft/server/world/ServerWorld;handleInteraction(Lnet/minecraft/entity/EntityInteraction;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/InteractionObserver;)Vintermediary method_19496Lnet/minecraft/class_3218;method_19496(Lnet/minecraft/class_4151;Lnet/minecraft/class_1297;Lnet/minecraft/class_4094;)Vofficial aLaxl;a(Lcsj;Lcgd;Lcht;)V
-
dump
- Throws:
IOException- Mappings:
Namespace Name Mixin selector named dumpLnet/minecraft/server/world/ServerWorld;dump(Ljava/nio/file/Path;)Vintermediary method_21625Lnet/minecraft/class_3218;method_21625(Ljava/nio/file/Path;)Vofficial aLaxl;a(Ljava/nio/file/Path;)V
-
dumpEntities
- Throws:
IOException- Mappings:
Namespace Name Mixin selector named dumpEntitiesLnet/minecraft/server/world/ServerWorld;dumpEntities(Ljava/io/Writer;Ljava/lang/Iterable;)Vintermediary method_21624Lnet/minecraft/class_3218;method_21624(Ljava/io/Writer;Ljava/lang/Iterable;)Vofficial aLaxl;a(Ljava/io/Writer;Ljava/lang/Iterable;)V
-
dumpBlockEntities
- Throws:
IOException- Mappings:
Namespace Name Mixin selector named dumpBlockEntitiesLnet/minecraft/server/world/ServerWorld;dumpBlockEntities(Ljava/io/Writer;)Vintermediary method_21626Lnet/minecraft/class_3218;method_21626(Ljava/io/Writer;)Vofficial aLaxl;a(Ljava/io/Writer;)V
-
clearUpdatesInArea
- Mappings:
Namespace Name Mixin selector named clearUpdatesInAreaLnet/minecraft/server/world/ServerWorld;clearUpdatesInArea(Lnet/minecraft/util/math/BlockBox;)Vintermediary method_23658Lnet/minecraft/class_3218;method_23658(Lnet/minecraft/class_3341;)Vofficial aLaxl;a(Lfda;)V
-
getBrightness
- Specified by:
getBrightnessin interfaceBlockRenderView- Mappings:
Namespace Name Mixin selector named getBrightnessLnet/minecraft/world/BlockRenderView;getBrightness(Lnet/minecraft/util/math/Direction;Z)Fintermediary method_24852Lnet/minecraft/class_1920;method_24852(Lnet/minecraft/class_2350;Z)Fofficial aLdto;a(Ljf;Z)F
-
iterateEntities
- Mappings:
Namespace Name Mixin selector named iterateEntitiesLnet/minecraft/server/world/ServerWorld;iterateEntities()Ljava/lang/Iterable;intermediary method_27909Lnet/minecraft/class_3218;method_27909()Ljava/lang/Iterable;official GLaxl;G()Ljava/lang/Iterable;
-
toString
-
isFlat
public boolean isFlat()- Mappings:
Namespace Name Mixin selector named isFlatLnet/minecraft/server/world/ServerWorld;isFlat()Zintermediary method_28125Lnet/minecraft/class_3218;method_28125()Zofficial HLaxl;H()Z
-
getSeed
public long getSeed()- Specified by:
getSeedin interfaceStructureWorldAccess- Mappings:
Namespace Name Mixin selector named getSeedLnet/minecraft/world/StructureWorldAccess;getSeed()Jintermediary method_8412Lnet/minecraft/class_5281;method_8412()Jofficial ILdvn;I()J
-
getEnderDragonFight
- Mappings:
Namespace Name Mixin selector named getEnderDragonFightLnet/minecraft/server/world/ServerWorld;getEnderDragonFight()Lnet/minecraft/entity/boss/dragon/EnderDragonFight;intermediary method_29198Lnet/minecraft/class_3218;method_29198()Lnet/minecraft/class_2881;official JLaxl;J()Leql;
-
toServerWorld
- Specified by:
toServerWorldin interfaceEntityLookupView- Specified by:
toServerWorldin interfaceServerWorldAccess- Mappings:
Namespace Name Mixin selector named toServerWorldLnet/minecraft/world/EntityLookupView;toServerWorld()Lnet/minecraft/server/world/ServerWorld;intermediary method_8410Lnet/minecraft/class_10245;method_8410()Lnet/minecraft/class_3218;official aLaxk;a()Laxl;
-
getDebugString
- Mappings:
Namespace Name Mixin selector named getDebugStringLnet/minecraft/server/world/ServerWorld;getDebugString()Ljava/lang/String;intermediary method_31268Lnet/minecraft/class_3218;method_31268()Ljava/lang/String;official KLaxl;K()Ljava/lang/String;
-
getTopFive
Categoriesitemswith theclassifierand reports a message indicating the top five biggest categories.- Parameters:
items- the items to classifyclassifier- the classifier that determines the category of any item- Mappings:
Namespace Name Mixin selector named getTopFiveLnet/minecraft/server/world/ServerWorld;getTopFive(Ljava/lang/Iterable;Ljava/util/function/Function;)Ljava/lang/String;intermediary method_31270Lnet/minecraft/class_3218;method_31270(Ljava/lang/Iterable;Ljava/util/function/Function;)Ljava/lang/String;official aLaxl;a(Ljava/lang/Iterable;Ljava/util/function/Function;)Ljava/lang/String;
-
getEntityLookup
- Specified by:
getEntityLookupin classWorld- Mappings:
Namespace Name Mixin selector named getEntityLookupLnet/minecraft/world/World;getEntityLookup()Lnet/minecraft/world/entity/EntityLookup;intermediary method_31592Lnet/minecraft/class_1937;method_31592()Lnet/minecraft/class_5577;official LLdun;L()Leqz;
-
loadEntities
- Mappings:
Namespace Name Mixin selector named loadEntitiesLnet/minecraft/server/world/ServerWorld;loadEntities(Ljava/util/stream/Stream;)Vintermediary method_31423Lnet/minecraft/class_3218;method_31423(Ljava/util/stream/Stream;)Vofficial aLaxl;a(Ljava/util/stream/Stream;)V
-
addEntities
- Mappings:
Namespace Name Mixin selector named addEntitiesLnet/minecraft/server/world/ServerWorld;addEntities(Ljava/util/stream/Stream;)Vintermediary method_31426Lnet/minecraft/class_3218;method_31426(Ljava/util/stream/Stream;)Vofficial bLaxl;b(Ljava/util/stream/Stream;)V
-
disableTickSchedulers
- Mappings:
Namespace Name Mixin selector named disableTickSchedulersLnet/minecraft/server/world/ServerWorld;disableTickSchedulers(Lnet/minecraft/world/chunk/WorldChunk;)Vintermediary method_39223Lnet/minecraft/class_3218;method_39223(Lnet/minecraft/class_2818;)Vofficial cLaxl;c(Leoq;)V
-
cacheStructures
- Mappings:
Namespace Name Mixin selector named cacheStructuresLnet/minecraft/server/world/ServerWorld;cacheStructures(Lnet/minecraft/world/chunk/Chunk;)Vintermediary method_39778Lnet/minecraft/class_3218;method_39778(Lnet/minecraft/class_2791;)Vofficial aLaxl;a(Leof;)V
-
getPathNodeTypeCache
- Mappings:
Namespace Name Mixin selector named getPathNodeTypeCacheLnet/minecraft/server/world/ServerWorld;getPathNodeTypeCache()Lnet/minecraft/entity/ai/pathing/PathNodeTypeCache;intermediary method_57133Lnet/minecraft/class_3218;method_57133()Lnet/minecraft/class_9315;official MLaxl;M()Lfjn;
-
loadChunks
- Mappings:
Namespace Name Mixin selector named loadChunksLnet/minecraft/server/world/ServerWorld;loadChunks(Lnet/minecraft/util/math/ChunkPos;I)Vintermediary method_72270Lnet/minecraft/class_3218;method_72270(Lnet/minecraft/class_1923;I)Vofficial aLaxl;a(Ldts;I)V
-
shouldSpawnMonsters
public boolean shouldSpawnMonsters()- Mappings:
Namespace Name Mixin selector named shouldSpawnMonstersLnet/minecraft/server/world/ServerWorld;shouldSpawnMonsters()Zintermediary method_74962Lnet/minecraft/class_3218;method_74962()Zofficial NLaxl;N()Z
-
close
- Specified by:
closein interfaceAutoCloseable- Overrides:
closein classWorld- Throws:
IOException
-
asString
-
isChunkLoaded
public boolean isChunkLoaded(long chunkPos) Returnstrueif the chunkchunkPosis loaded.- Returns:
trueif the chunkchunkPosis loaded- Mappings:
Namespace Name Mixin selector named isChunkLoadedLnet/minecraft/server/world/ServerWorld;isChunkLoaded(J)Zintermediary method_37116Lnet/minecraft/class_3218;method_37116(J)Zofficial cLaxl;c(J)Z
-
isTickingFutureReady
public boolean isTickingFutureReady(long chunkPos) - Mappings:
Namespace Name Mixin selector named isTickingFutureReadyLnet/minecraft/server/world/ServerWorld;isTickingFutureReady(J)Zintermediary method_37117Lnet/minecraft/class_3218;method_37117(J)Zofficial dLaxl;d(J)Z
-
shouldTickEntityAt
Returns whether to tick entities atpos.- Returns:
- whether to tick entities at
pos - Mappings:
Namespace Name Mixin selector named shouldTickEntityAtLnet/minecraft/server/world/ServerWorld;shouldTickEntityAt(Lnet/minecraft/util/math/BlockPos;)Zintermediary method_37118Lnet/minecraft/class_3218;method_37118(Lnet/minecraft/class_2338;)Zofficial gLaxl;g(Liz;)Z
-
shouldTickTestAt
- Mappings:
Namespace Name Mixin selector named shouldTickTestAtLnet/minecraft/server/world/ServerWorld;shouldTickTestAt(Lnet/minecraft/util/math/ChunkPos;)Zintermediary method_66588Lnet/minecraft/class_3218;method_66588(Lnet/minecraft/class_1923;)Zofficial aLaxl;a(Ldts;)Z
-
shouldTickBlockAt
- Mappings:
Namespace Name Mixin selector named shouldTickBlockAtLnet/minecraft/server/world/ServerWorld;shouldTickBlockAt(Lnet/minecraft/util/math/BlockPos;)Zintermediary method_67506Lnet/minecraft/class_3218;method_67506(Lnet/minecraft/class_2338;)Zofficial hLaxl;h(Liz;)Z
-
shouldTickChunkAt
- Mappings:
Namespace Name Mixin selector named shouldTickChunkAtLnet/minecraft/server/world/ServerWorld;shouldTickChunkAt(Lnet/minecraft/util/math/ChunkPos;)Zintermediary method_67504Lnet/minecraft/class_3218;method_67504(Lnet/minecraft/class_1923;)Zofficial bLaxl;b(Ldts;)Z
-
canSpawnEntitiesAt
- Mappings:
Namespace Name Mixin selector named canSpawnEntitiesAtLnet/minecraft/server/world/ServerWorld;canSpawnEntitiesAt(Lnet/minecraft/util/math/ChunkPos;)Zintermediary method_67505Lnet/minecraft/class_3218;method_67505(Lnet/minecraft/class_1923;)Zofficial cLaxl;c(Ldts;)Z
-
getEnabledFeatures
- Specified by:
getEnabledFeaturesin interfaceWorldView- Mappings:
Namespace Name Mixin selector named getEnabledFeaturesLnet/minecraft/world/WorldView;getEnabledFeatures()Lnet/minecraft/resource/featuretoggle/FeatureSet;intermediary method_45162Lnet/minecraft/class_4538;method_45162()Lnet/minecraft/class_7699;official PLduq;P()Ldfn;
-
getBrewingRecipeRegistry
- Specified by:
getBrewingRecipeRegistryin classWorld- Mappings:
Namespace Name Mixin selector named getBrewingRecipeRegistryLnet/minecraft/world/World;getBrewingRecipeRegistry()Lnet/minecraft/recipe/BrewingRecipeRegistry;intermediary method_59547Lnet/minecraft/class_1937;method_59547()Lnet/minecraft/class_1845;official QLdun;Q()Ldmc;
-
getFuelRegistry
- Specified by:
getFuelRegistryin classWorld- Mappings:
Namespace Name Mixin selector named getFuelRegistryLnet/minecraft/world/World;getFuelRegistry()Lnet/minecraft/item/FuelRegistry;intermediary method_61269Lnet/minecraft/class_1937;method_61269()Lnet/minecraft/class_9895;official RLdun;R()Lekb;
-
getOrCreateRandom
- Mappings:
Namespace Name Mixin selector named getOrCreateRandomLnet/minecraft/server/world/ServerWorld;getOrCreateRandom(Lnet/minecraft/util/Identifier;)Lnet/minecraft/util/math/random/Random;intermediary method_51836Lnet/minecraft/class_3218;method_51836(Lnet/minecraft/class_2960;)Lnet/minecraft/class_5819;official aLaxl;a(Lamy;)Lbgq;
-
getRandomSequences
- Mappings:
Namespace Name Mixin selector named getRandomSequencesLnet/minecraft/server/world/ServerWorld;getRandomSequences()Lnet/minecraft/util/math/random/RandomSequencesState;intermediary method_52168Lnet/minecraft/class_3218;method_52168()Lnet/minecraft/class_8565;official SLaxl;S()Lcdd;
-
getGameRules
- Mappings:
Namespace Name Mixin selector named getGameRulesLnet/minecraft/server/world/ServerWorld;getGameRules()Lnet/minecraft/world/GameRules;intermediary method_64395Lnet/minecraft/class_3218;method_64395()Lnet/minecraft/class_1928;official TLaxl;T()Lduj;
-
addDetailsToCrashReport
- Overrides:
addDetailsToCrashReportin classWorld- Mappings:
Namespace Name Mixin selector named addDetailsToCrashReportLnet/minecraft/world/World;addDetailsToCrashReport(Lnet/minecraft/util/crash/CrashReport;)Lnet/minecraft/util/crash/CrashReportSection;intermediary method_8538Lnet/minecraft/class_1937;method_8538(Lnet/minecraft/class_128;)Lnet/minecraft/class_129;official aLdun;a(Lp;)Lq;
-
getSeaLevel
public int getSeaLevel()- Specified by:
getSeaLevelin interfaceWorldView- Mappings:
Namespace Name Mixin selector named getSeaLevelLnet/minecraft/world/WorldView;getSeaLevel()Iintermediary method_8615Lnet/minecraft/class_4538;method_8615()Iofficial ULduq;U()I
-
loadBlockEntity
- Overrides:
loadBlockEntityin classWorld- Mappings:
Namespace Name Mixin selector named loadBlockEntityLnet/minecraft/world/World;loadBlockEntity(Lnet/minecraft/block/entity/BlockEntity;)Vintermediary method_71970Lnet/minecraft/class_1937;method_71970(Lnet/minecraft/class_2586;)Vofficial aLdun;a(Lejb;)V
-
getSubscriptionTracker
- Mappings:
Namespace Name Mixin selector named getSubscriptionTrackerLnet/minecraft/server/world/ServerWorld;getSubscriptionTracker()Lnet/minecraft/server/debug/SubscriptionTracker;intermediary method_74535Lnet/minecraft/class_3218;method_74535()Lnet/minecraft/class_12026;official VLaxl;V()Lbxc;
-
isEnterableWithPortal
- Mappings:
Namespace Name Mixin selector named isEnterableWithPortalLnet/minecraft/server/world/ServerWorld;isEnterableWithPortal(Lnet/minecraft/world/World;)Zintermediary method_75002Lnet/minecraft/class_3218;method_75002(Lnet/minecraft/class_1937;)Zofficial aLaxl;a(Ldun;)Z
-
isPvpEnabled
public boolean isPvpEnabled()- Mappings:
Namespace Name Mixin selector named isPvpEnabledLnet/minecraft/server/world/ServerWorld;isPvpEnabled()Zintermediary method_74999Lnet/minecraft/class_3218;method_74999()Zofficial WLaxl;W()Z
-
areCommandBlocksEnabled
public boolean areCommandBlocksEnabled()- Mappings:
Namespace Name Mixin selector named areCommandBlocksEnabledLnet/minecraft/server/world/ServerWorld;areCommandBlocksEnabled()Zintermediary method_75000Lnet/minecraft/class_3218;method_75000()Zofficial XLaxl;X()Z
-
areSpawnerBlocksEnabled
public boolean areSpawnerBlocksEnabled()- Mappings:
Namespace Name Mixin selector named areSpawnerBlocksEnabledLnet/minecraft/server/world/ServerWorld;areSpawnerBlocksEnabled()Zintermediary method_75001Lnet/minecraft/class_3218;method_75001()Zofficial YLaxl;Y()Z
-