Class ServerWorld
- All Implemented Interfaces:
AutoCloseable,BiomeAccess.Storage,BlockRenderView,BlockView,CollisionView,EntityView,HeightLimitView,LunarWorldView,ModifiableTestableWorld,ModifiableWorld,RegistryWorldView,ServerWorldAccess,StructureWorldAccess,TestableWorld,WorldAccess,WorldView
- Mappings:
Namespace Name official adwintermediary net/minecraft/class_3218named net/minecraft/server/world/ServerWorld
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<BlockEvent>private final WorldTickScheduler<Block>private final ServerChunkManager(package private) final Int2ObjectMap<EnderDragonPart>(package private) booleanstatic final BlockPosprivate final @Nullable EnderDragonFight(package private) final EntityListprivate final ServerEntityManager<Entity>private static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate final WorldTickScheduler<Fluid>private intprivate booleanprivate static final org.slf4j.Loggerprivate static final int(package private) final List<ServerPlayerEntity>private final PortalForcerprotected final RaidManagerbooleanprivate 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 StructureAccessorprivate final StructureLocatorprivate final ObjectLinkedOpenHashSet<BlockEvent>private final ServerWorldPropertiesFields inherited from class net.minecraft.world.World
blockEntityTickers, CODEC, END, field_30967, field_30968, field_30969, HORIZONTAL_LIMIT, isClient, lcgBlockSeed, lcgBlockSeedIncrement, MAX_UPDATE_DEPTH, MAX_Y, MIN_Y, NETHER, OVERWORLD, properties, rainGradient, rainGradientPrev, random, thunderGradient, thunderGradientPrev -
Constructor Summary
ConstructorsConstructorDescriptionServerWorld(MinecraftServer server, Executor workerExecutor, LevelStorage.Session session, ServerWorldProperties properties, RegistryKey<World> worldKey, RegistryEntry<DimensionType> registryEntry, WorldGenerationProgressListener worldGenerationProgressListener, ChunkGenerator chunkGenerator, boolean debugWorld, long seed, List<Spawner> spawners, boolean shouldTickTime) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEntities(Stream<Entity> entities) private booleanprivate voidaddPlayer(ServerPlayerEntity player) voidaddSyncedBlockEvent(BlockPos pos, Block block, int type, int data) asString()voidcacheStructures(Chunk chunk) booleancanPlayerModifyAt(PlayerEntity player, BlockPos pos) Returns whetherplayercan modify blocks atpos.voidvoidclose()static voidcreateExplosion(@Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType) Creates an explosion.voiddisableTickSchedulers(WorldChunk chunk) voidprivate voiddumpBlockEntities(Writer writer) private static voiddumpEntities(Writer writer, Iterable<Entity> entities) voidemitGameEvent(@Nullable Entity entity, GameEvent event, BlockPos pos) Emits an game event.List<? extends EnderDragonEntity>Returns the list of alive ender dragons in the world.floatgetBrightness(Direction direction, boolean shaded) getDragonPart(int id) Deprecated.getEntitiesByType(TypeFilter<Entity, T> filter, Predicate<? super T> predicate) Computes a list of entities of the given type.Returns the entity using the UUID, ornullif none was found.getEntityById(int id) Returns the entity using the entity ID, ornullif none was found.protected EntityLookup<Entity>Returns the set that containsChunkPosof forced chunks serialized as a long.getGeneratorStoredBiome(int biomeX, int biomeY, int biomeZ) protected BlockPosgetLightningPos(BlockPos pos) intgetMapState(String id) intintgetPlayers(Predicate<? super ServerPlayerEntity> predicate) Returns the list of players filtered usingpredicate.Returns the raid occurring within 96 block radius, ornullif there is none.Returns a randomly selected alive player, ornullif there is none.longgetSeed()floatReturns the world spawn point.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.booleanisFlat()booleanbooleanbooleanisNearOccupiedPointOfInterest(BlockPos pos, int maxDistance) booleanisNearOccupiedPointOfInterest(ChunkSectionPos sectionPos) booleanbooleanReturns whether sleeping can cause the night to skip.private booleanisTickingFutureReady(long chunkPos) voidloadEntities(Stream<Entity> entities) @Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<Biome>> locateBiome(Predicate<RegistryEntry<Biome>> biomeEntryPredicate, BlockPos pos, int radius, int blockCheckInterval) locateStructure(TagKey<ConfiguredStructureFeature<?, ?>> structureTag, BlockPos pos, int radius, boolean skipExistingChunks) Tries to find the closest structure of a given type near a given block.voidonBlockChanged(BlockPos pos, BlockState oldBlock, BlockState newBlock) Called when a block state changed.voidonDimensionChanged(Entity entity) Called on the destination world when an entity changed the dimension.voidCalled on the destination world when a player changed the dimension using portals.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.voidonPlayerTeleport(ServerPlayerEntity player) Called on the destination world when a player changed the dimension by teleportation.voidplaySound(@Nullable PlayerEntity except, double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch) voidplaySoundFromEntity(@Nullable PlayerEntity except, Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch) private booleanprocessBlockEvent(BlockEvent event) private voidvoidputMapState(String id, MapState state) voidremovePlayer(ServerPlayerEntity player, Entity.RemovalReason reason) voidprivate voidvoidsave(@Nullable ProgressListener progressListener, boolean flush, boolean savingDisabled) Saves the world.private voidvoidsendEntityStatus(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.voidsendVibrationPacket(Vibration vibration) voidsetBlockBreakingInfo(int entityId, BlockPos pos, int progress) booleansetChunkForced(int x, int z, boolean forced) Sets the forced status of the chunk.voidsetSpawnPos(BlockPos pos, float angle) Sets the world spawn point.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.private booleanshouldCancelSpawn(Entity entity) booleanshouldTick(BlockPos pos) booleanshouldTick(ChunkPos pos) booleanshouldTickBlocksInChunk(long chunkPos) Returns whether the blocks in the specified chunk should get ticked.booleanshouldTickEntity(BlockPos pos) Returns whether to tick entities atpos.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 particle, boolean force, double x, double y, double z, int count, double deltaX, double deltaY, double deltaZ, double speed) Spawns a particle visible toviewer, if the viewer is near the provided coordinates.<T extends ParticleEffect>
intspawnParticles(T particle, double x, double y, double z, int count, double deltaX, double deltaY, double deltaZ, double speed) Spawns a particle visible to nearby players.voidsyncGlobalEvent(int eventId, BlockPos pos, int data) voidsyncWorldEvent(@Nullable PlayerEntity player, int eventId, BlockPos pos, int data) voidtick(BooleanSupplier shouldKeepTicking) private voidvoidtickChunk(WorldChunk chunk, int randomTickSpeed) voidtickEntity(Entity entity) private voidprivate voidtickPassenger(Entity vehicle, Entity passenger) voidtickSpawners(boolean spawnMonsters, boolean spawnAnimals) protected voidtickTime()private voidtoString()booleantryLoadEntity(Entity entity) voidunloadEntities(WorldChunk chunk) voidupdateListeners(BlockPos pos, BlockState oldState, BlockState newState, int flags) voidupdateNeighbors(BlockPos pos, Block block) voidprivate voidMethods inherited from class net.minecraft.world.World
addBlockBreakParticles, addBlockEntity, addBlockEntityTicker, addDetailsToCrashReport, addFireworkParticle, addImportantParticle, addImportantParticle, addParticle, addParticle, breakBlock, calculateAmbientDarkness, canSetBlock, createExplosion, createExplosion, disconnect, emitGameEvent, getAmbientDarkness, getBiomeAccess, getBlockEntity, getBlockState, getChunk, getChunk, getChunkAsView, getDimension, getEmittedRedstonePower, getEntitiesByType, getFluidState, getGameRules, getLevelProperties, getLightingProvider, getLocalDifficulty, getOtherEntities, getProfiler, getProfilerSupplier, getRainGradient, getRandom, getRandomPosInChunk, getReceivedRedstonePower, getReceivedStrongRedstonePower, getRegistryKey, getSeaLevel, getSkyAngleRadians, getThunderGradient, getTickOrder, getTime, getTimeOfDay, getTopY, getWorldBorder, getWorldChunk, hasHighHumidity, hasRain, initWeatherGradients, isClient, isDay, isDebugWorld, isDirectionSolid, isEmittingRedstonePower, isInBuildLimit, isNight, isRaining, isReceivingRedstonePower, isThundering, isTopSolid, isValid, markDirty, method_40134, playSound, playSound, removeBlock, removeBlockEntity, scheduleBlockRerenderIfNeeded, sendPacket, setBlockState, setBlockState, setBlockState, setLightningTicksLeft, setMobSpawnOptions, setRainGradient, setThunderGradient, shouldUpdatePostDeath, testBlockState, testFluidState, tickBlockEntities, tickEntity, updateComparators, updateNeighbor, updateNeighborsAlways, updateNeighborsExceptMethods 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, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlockMethods inherited from interface net.minecraft.world.CollisionView
canCollide, canPlace, doesNotIntersectEntities, doesNotIntersectEntities, findClosestCollision, getBlockCollisions, getCollisions, getEntityCollisions, getWorldBorder, isSpaceEmpty, isSpaceEmpty, isSpaceEmptyMethods inherited from interface net.minecraft.world.EntityView
getClosestEntity, getClosestEntity, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getEntitiesByClass, getEntitiesByType, getNonSpectatingEntities, getOtherEntities, getOtherEntities, getPlayerByUuid, getPlayers, getTargets, isPlayerInRangeMethods inherited from interface net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, 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.RegistryWorldView
doesNotIntersectEntities, getBlockEntity, getEntityCollisions, getTopPositionMethods 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
addParticle, createAndScheduleBlockTick, createAndScheduleBlockTick, createAndScheduleFluidTick, createAndScheduleFluidTick, emitGameEvent, emitGameEvent, emitGameEvent, getDifficulty, getLevelProperties, getLocalDifficulty, getLunarTime, getRandom, getTickOrder, isChunkLoaded, playSound, syncWorldEventMethods inherited from interface net.minecraft.world.WorldView
containsFluid, getAmbientDarkness, getBiome, getBiomeAccess, getBiomeForNoiseGen, getBottomY, getBrightness, getChunk, getChunk, getChunk, getChunk, getChunkAsView, getColor, getDimension, getHeight, getLightLevel, getLightLevel, getSeaLevel, getStatesInBoxIfLoaded, getStrongRedstonePower, getTopY, isAir, isChunkLoaded, isClient, isPosLoaded, isRegionLoaded, isRegionLoaded, isRegionLoaded, isSkyVisibleAllowingSea, isWater
-
Field Details
-
END_SPAWN_POS
- Mappings:
Namespace Name Mixin selector official aLadw;a:Lgj;intermediary field_25144Lnet/minecraft/class_3218;field_25144:Lnet/minecraft/class_2338;named END_SPAWN_POSLnet/minecraft/server/world/ServerWorld;END_SPAWN_POS:Lnet/minecraft/util/math/BlockPos;
-
field_35660
private static final int field_35660- See Also:
- Mappings:
Namespace Name Mixin selector official yLadw;y:Iintermediary field_35660Lnet/minecraft/class_3218;field_35660:Inamed field_35660Lnet/minecraft/server/world/ServerWorld;field_35660:I
-
field_35653
private static final int field_35653- See Also:
- Mappings:
Namespace Name Mixin selector official zLadw;z:Iintermediary field_35653Lnet/minecraft/class_3218;field_35653:Inamed field_35653Lnet/minecraft/server/world/ServerWorld;field_35653:I
-
field_35654
private static final int field_35654- See Also:
- Mappings:
Namespace Name Mixin selector official ALadw;A:Iintermediary field_35654Lnet/minecraft/class_3218;field_35654:Inamed field_35654Lnet/minecraft/server/world/ServerWorld;field_35654:I
-
field_35655
private static final int field_35655- See Also:
- Mappings:
Namespace Name Mixin selector official BLadw;B:Iintermediary field_35655Lnet/minecraft/class_3218;field_35655:Inamed field_35655Lnet/minecraft/server/world/ServerWorld;field_35655:I
-
field_35656
private static final int field_35656- See Also:
- Mappings:
Namespace Name Mixin selector official CLadw;C:Iintermediary field_35656Lnet/minecraft/class_3218;field_35656:Inamed field_35656Lnet/minecraft/server/world/ServerWorld;field_35656:I
-
field_35657
private static final int field_35657- See Also:
- Mappings:
Namespace Name Mixin selector official DLadw;D:Iintermediary field_35657Lnet/minecraft/class_3218;field_35657:Inamed field_35657Lnet/minecraft/server/world/ServerWorld;field_35657:I
-
field_35658
private static final int field_35658- See Also:
- Mappings:
Namespace Name Mixin selector official ELadw;E:Iintermediary field_35658Lnet/minecraft/class_3218;field_35658:Inamed field_35658Lnet/minecraft/server/world/ServerWorld;field_35658:I
-
field_35659
private static final int field_35659- See Also:
- Mappings:
Namespace Name Mixin selector official FLadw;F:Iintermediary field_35659Lnet/minecraft/class_3218;field_35659:Inamed field_35659Lnet/minecraft/server/world/ServerWorld;field_35659:I
-
LOGGER
private static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official GLadw;G:Lorg/slf4j/Logger;intermediary field_13952Lnet/minecraft/class_3218;field_13952:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/server/world/ServerWorld;LOGGER: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 official HLadw;H:Iintermediary field_29768Lnet/minecraft/class_3218;field_29768:Inamed SERVER_IDLE_COOLDOWNLnet/minecraft/server/world/ServerWorld;SERVER_IDLE_COOLDOWN:I
-
MAX_TICKS
private static final int MAX_TICKS- See Also:
- Mappings:
Namespace Name Mixin selector official ILadw;I:Iintermediary field_35441Lnet/minecraft/class_3218;field_35441:Inamed MAX_TICKSLnet/minecraft/server/world/ServerWorld;MAX_TICKS:I
-
players
- Mappings:
Namespace Name Mixin selector official JLadw;J:Ljava/util/List;intermediary field_18261Lnet/minecraft/class_3218;field_18261:Ljava/util/List;named playersLnet/minecraft/server/world/ServerWorld;players:Ljava/util/List;
-
chunkManager
- Mappings:
Namespace Name Mixin selector official KLadw;K:Ladu;intermediary field_24624Lnet/minecraft/class_3218;field_24624:Lnet/minecraft/class_3215;named chunkManagerLnet/minecraft/server/world/ServerWorld;chunkManager:Lnet/minecraft/server/world/ServerChunkManager;
-
server
- Mappings:
Namespace Name Mixin selector official LLadw;L:Lnet/minecraft/server/MinecraftServer;intermediary field_13959Lnet/minecraft/class_3218;field_13959:Lnet/minecraft/server/MinecraftServer;named serverLnet/minecraft/server/world/ServerWorld;server:Lnet/minecraft/server/MinecraftServer;
-
worldProperties
- Mappings:
Namespace Name Mixin selector official MLadw;M:Ldku;intermediary field_24456Lnet/minecraft/class_3218;field_24456:Lnet/minecraft/class_5268;named worldPropertiesLnet/minecraft/server/world/ServerWorld;worldProperties:Lnet/minecraft/world/level/ServerWorldProperties;
-
entityList
- Mappings:
Namespace Name Mixin selector official NLadw;N:Lcsm;intermediary field_26934Lnet/minecraft/class_3218;field_26934:Lnet/minecraft/class_5574;named entityListLnet/minecraft/server/world/ServerWorld;entityList:Lnet/minecraft/world/EntityList;
-
entityManager
- Mappings:
Namespace Name Mixin selector official OLadw;O:Lcsr;intermediary field_26935Lnet/minecraft/class_3218;field_26935:Lnet/minecraft/class_5579;named entityManagerLnet/minecraft/server/world/ServerWorld;entityManager:Lnet/minecraft/server/world/ServerEntityManager;
-
savingDisabled
public boolean savingDisabled- Mappings:
Namespace Name Mixin selector official bLadw;b:Zintermediary field_13957Lnet/minecraft/class_3218;field_13957:Znamed savingDisabledLnet/minecraft/server/world/ServerWorld;savingDisabled:Z
-
sleepManager
- Mappings:
Namespace Name Mixin selector official PLadw;P:Lagq;intermediary field_28859Lnet/minecraft/class_3218;field_28859:Lnet/minecraft/class_5838;named sleepManagerLnet/minecraft/server/world/ServerWorld;sleepManager:Lnet/minecraft/server/world/SleepManager;
-
idleTimeout
private int idleTimeout- Mappings:
Namespace Name Mixin selector official QLadw;Q:Iintermediary field_13948Lnet/minecraft/class_3218;field_13948:Inamed idleTimeoutLnet/minecraft/server/world/ServerWorld;idleTimeout:I
-
portalForcer
- Mappings:
Namespace Name Mixin selector official RLadw;R:Ldju;intermediary field_13956Lnet/minecraft/class_3218;field_13956:Lnet/minecraft/class_1946;named portalForcerLnet/minecraft/server/world/ServerWorld;portalForcer:Lnet/minecraft/world/PortalForcer;
-
blockTickScheduler
- Mappings:
Namespace Name Mixin selector official SLadw;S:Ldqv;intermediary field_13949Lnet/minecraft/class_3218;field_13949:Lnet/minecraft/class_6757;named blockTickSchedulerLnet/minecraft/server/world/ServerWorld;blockTickScheduler:Lnet/minecraft/world/tick/WorldTickScheduler;
-
fluidTickScheduler
- Mappings:
Namespace Name Mixin selector official TLadw;T:Ldqv;intermediary field_13951Lnet/minecraft/class_3218;field_13951:Lnet/minecraft/class_6757;named fluidTickSchedulerLnet/minecraft/server/world/ServerWorld;fluidTickScheduler:Lnet/minecraft/world/tick/WorldTickScheduler;
-
loadedMobs
- Mappings:
Namespace Name Mixin selector official ULadw;U:Ljava/util/Set;intermediary field_26932Lnet/minecraft/class_3218;field_26932:Ljava/util/Set;named loadedMobsLnet/minecraft/server/world/ServerWorld;loadedMobs:Ljava/util/Set;
-
duringListenerUpdate
volatile boolean duringListenerUpdate- Mappings:
Namespace Name Mixin selector official VLadw;V:Zintermediary field_36317Lnet/minecraft/class_3218;field_36317:Znamed duringListenerUpdateLnet/minecraft/server/world/ServerWorld;duringListenerUpdate:Z
-
raidManager
- Mappings:
Namespace Name Mixin selector official cLadw;c:Lbpq;intermediary field_18811Lnet/minecraft/class_3218;field_18811:Lnet/minecraft/class_3767;named raidManagerLnet/minecraft/server/world/ServerWorld;raidManager:Lnet/minecraft/village/raid/RaidManager;
-
syncedBlockEventQueue
- Mappings:
Namespace Name Mixin selector official WLadw;W:Lit/unimi/dsi/fastutil/objects/ObjectLinkedOpenHashSet;intermediary field_13950Lnet/minecraft/class_3218;field_13950:Lit/unimi/dsi/fastutil/objects/ObjectLinkedOpenHashSet;named syncedBlockEventQueueLnet/minecraft/server/world/ServerWorld;syncedBlockEventQueue:Lit/unimi/dsi/fastutil/objects/ObjectLinkedOpenHashSet;
-
blockEventQueue
- Mappings:
Namespace Name Mixin selector official XLadw;X:Ljava/util/List;intermediary field_35565Lnet/minecraft/class_3218;field_35565:Ljava/util/List;named blockEventQueueLnet/minecraft/server/world/ServerWorld;blockEventQueue:Ljava/util/List;
-
inBlockTick
private boolean inBlockTick- Mappings:
Namespace Name Mixin selector official YLadw;Y:Zintermediary field_13953Lnet/minecraft/class_3218;field_13953:Znamed inBlockTickLnet/minecraft/server/world/ServerWorld;inBlockTick:Z
-
spawners
- Mappings:
Namespace Name Mixin selector official ZLadw;Z:Ljava/util/List;intermediary field_25141Lnet/minecraft/class_3218;field_25141:Ljava/util/List;named spawnersLnet/minecraft/server/world/ServerWorld;spawners:Ljava/util/List;
-
enderDragonFight
- Mappings:
Namespace Name Mixin selector official aaLadw;aa:Lcsb;intermediary field_25142Lnet/minecraft/class_3218;field_25142:Lnet/minecraft/class_2881;named enderDragonFightLnet/minecraft/server/world/ServerWorld;enderDragonFight:Lnet/minecraft/entity/boss/dragon/EnderDragonFight;
-
dragonParts
- Mappings:
Namespace Name Mixin selector official abLadw;ab:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;intermediary field_26933Lnet/minecraft/class_3218;field_26933:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;named dragonPartsLnet/minecraft/server/world/ServerWorld;dragonParts:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-
structureAccessor
- Mappings:
Namespace Name Mixin selector official acLadw;ac:Lcbm;intermediary field_23787Lnet/minecraft/class_3218;field_23787:Lnet/minecraft/class_5138;named structureAccessorLnet/minecraft/server/world/ServerWorld;structureAccessor:Lnet/minecraft/world/gen/StructureAccessor;
-
structureLocator
- Mappings:
Namespace Name Mixin selector official adLadw;ad:Ldfk;intermediary field_36208Lnet/minecraft/class_3218;field_36208:Lnet/minecraft/class_6832;named structureLocatorLnet/minecraft/server/world/ServerWorld;structureLocator:Lnet/minecraft/world/StructureLocator;
-
shouldTickTime
private final boolean shouldTickTime- Mappings:
Namespace Name Mixin selector official aeLadw;ae:Zintermediary field_25143Lnet/minecraft/class_3218;field_25143:Znamed shouldTickTimeLnet/minecraft/server/world/ServerWorld;shouldTickTime:Z
-
-
Constructor Details
-
ServerWorld
public ServerWorld(MinecraftServer server, Executor workerExecutor, LevelStorage.Session session, ServerWorldProperties properties, RegistryKey<World> worldKey, RegistryEntry<DimensionType> registryEntry, WorldGenerationProgressListener worldGenerationProgressListener, ChunkGenerator chunkGenerator, boolean debugWorld, long seed, List<Spawner> spawners, boolean shouldTickTime) - Mappings:
Namespace Name Mixin selector official <init>Ladw;<init>(Lnet/minecraft/server/MinecraftServer;Ljava/util/concurrent/Executor;Ldkp$a;Ldku;Lys;Lgs;Laef;Lcqr;ZJLjava/util/List;Z)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_6880;Lnet/minecraft/class_3949;Lnet/minecraft/class_2794;ZJLjava/util/List;Z)Vnamed <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/util/registry/RegistryKey;Lnet/minecraft/util/registry/RegistryEntry;Lnet/minecraft/server/WorldGenerationProgressListener;Lnet/minecraft/world/gen/chunk/ChunkGenerator;ZJLjava/util/List;Z)V
-
-
Method Details
-
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 official aLadw;a(IIZZ)Vintermediary method_27910Lnet/minecraft/class_3218;method_27910(IIZZ)Vnamed setWeatherLnet/minecraft/server/world/ServerWorld;setWeather(IIZZ)V
-
getGeneratorStoredBiome
- Specified by:
getGeneratorStoredBiomein interfaceWorldView- Mappings:
Namespace Name Mixin selector official aLcay;a(III)Lgs;intermediary method_22387Lnet/minecraft/class_4538;method_22387(III)Lnet/minecraft/class_6880;named getGeneratorStoredBiomeLnet/minecraft/world/WorldView;getGeneratorStoredBiome(III)Lnet/minecraft/util/registry/RegistryEntry;
-
getStructureAccessor
- Mappings:
Namespace Name Mixin selector official aLadw;a()Lcbm;intermediary method_27056Lnet/minecraft/class_3218;method_27056()Lnet/minecraft/class_5138;named getStructureAccessorLnet/minecraft/server/world/ServerWorld;getStructureAccessor()Lnet/minecraft/world/gen/StructureAccessor;
-
tick
- Mappings:
Namespace Name Mixin selector official aLadw;a(Ljava/util/function/BooleanSupplier;)Vintermediary method_18765Lnet/minecraft/class_3218;method_18765(Ljava/util/function/BooleanSupplier;)Vnamed tickLnet/minecraft/server/world/ServerWorld;tick(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 official aLcav;a(J)Zintermediary method_39425Lnet/minecraft/class_1937;method_39425(J)Znamed shouldTickBlocksInChunkLnet/minecraft/world/World;shouldTickBlocksInChunk(J)Z
-
tickTime
protected void tickTime()- Mappings:
Namespace Name Mixin selector official bLadw;b()Vintermediary method_29203Lnet/minecraft/class_3218;method_29203()Vnamed tickTimeLnet/minecraft/server/world/ServerWorld;tickTime()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 official bLadw;b(J)Vintermediary method_29199Lnet/minecraft/class_3218;method_29199(J)Vnamed setTimeOfDayLnet/minecraft/server/world/ServerWorld;setTimeOfDay(J)V
-
tickSpawners
public void tickSpawners(boolean spawnMonsters, boolean spawnAnimals) - Mappings:
Namespace Name Mixin selector official aLadw;a(ZZ)Vintermediary method_29202Lnet/minecraft/class_3218;method_29202(ZZ)Vnamed tickSpawnersLnet/minecraft/server/world/ServerWorld;tickSpawners(ZZ)V
-
shouldCancelSpawn
- Mappings:
Namespace Name Mixin selector official iLadw;i(Laxk;)Zintermediary method_31430Lnet/minecraft/class_3218;method_31430(Lnet/minecraft/class_1297;)Znamed shouldCancelSpawnLnet/minecraft/server/world/ServerWorld;shouldCancelSpawn(Lnet/minecraft/entity/Entity;)Z
-
wakeSleepingPlayers
private void wakeSleepingPlayers()- Mappings:
Namespace Name Mixin selector official amLadw;am()Vintermediary method_23660Lnet/minecraft/class_3218;method_23660()Vnamed wakeSleepingPlayersLnet/minecraft/server/world/ServerWorld;wakeSleepingPlayers()V
-
tickChunk
- Mappings:
Namespace Name Mixin selector official aLadw;a(Lcra;I)Vintermediary method_18203Lnet/minecraft/class_3218;method_18203(Lnet/minecraft/class_2818;I)Vnamed tickChunkLnet/minecraft/server/world/ServerWorld;tickChunk(Lnet/minecraft/world/chunk/WorldChunk;I)V
-
getLightningRodPos
- Mappings:
Namespace Name Mixin selector official DLadw;D(Lgj;)Ljava/util/Optional;intermediary method_31418Lnet/minecraft/class_3218;method_31418(Lnet/minecraft/class_2338;)Ljava/util/Optional;named getLightningRodPosLnet/minecraft/server/world/ServerWorld;getLightningRodPos(Lnet/minecraft/util/math/BlockPos;)Ljava/util/Optional;
-
getLightningPos
- Mappings:
Namespace Name Mixin selector official aLadw;a(Lgj;)Lgj;intermediary method_18210Lnet/minecraft/class_3218;method_18210(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;named getLightningPosLnet/minecraft/server/world/ServerWorld;getLightningPos(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;
-
isInBlockTick
public boolean isInBlockTick()- Mappings:
Namespace Name Mixin selector official cLadw;c()Zintermediary method_14177Lnet/minecraft/class_3218;method_14177()Znamed isInBlockTickLnet/minecraft/server/world/ServerWorld;isInBlockTick()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 official dLadw;d()Zintermediary method_33144Lnet/minecraft/class_3218;method_33144()Znamed isSleepingEnabledLnet/minecraft/server/world/ServerWorld;isSleepingEnabled()Z
-
sendSleepingStatus
private void sendSleepingStatus()Sends sleeping status action bar messages to players in this world.- Mappings:
Namespace Name Mixin selector official anLadw;an()Vintermediary method_33143Lnet/minecraft/class_3218;method_33143()Vnamed sendSleepingStatusLnet/minecraft/server/world/ServerWorld;sendSleepingStatus()V
-
updateSleepingPlayers
public void updateSleepingPlayers()- Mappings:
Namespace Name Mixin selector official eLadw;e()Vintermediary method_8448Lnet/minecraft/class_3218;method_8448()Vnamed updateSleepingPlayersLnet/minecraft/server/world/ServerWorld;updateSleepingPlayers()V
-
getScoreboard
- Specified by:
getScoreboardin classWorld- Mappings:
Namespace Name Mixin selector official fLadw;f()Lzi;intermediary method_14170Lnet/minecraft/class_3218;method_14170()Lnet/minecraft/class_2995;named getScoreboardLnet/minecraft/server/world/ServerWorld;getScoreboard()Lnet/minecraft/scoreboard/ServerScoreboard;
-
tickWeather
private void tickWeather()- Mappings:
Namespace Name Mixin selector official aoLadw;ao()Vintermediary method_39501Lnet/minecraft/class_3218;method_39501()Vnamed tickWeatherLnet/minecraft/server/world/ServerWorld;tickWeather()V
-
resetWeather
private void resetWeather()- Mappings:
Namespace Name Mixin selector official apLadw;ap()Vintermediary method_14195Lnet/minecraft/class_3218;method_14195()Vnamed resetWeatherLnet/minecraft/server/world/ServerWorld;resetWeather()V
-
resetIdleTimeout
public void resetIdleTimeout()- Mappings:
Namespace Name Mixin selector official gLadw;g()Vintermediary method_14197Lnet/minecraft/class_3218;method_14197()Vnamed resetIdleTimeoutLnet/minecraft/server/world/ServerWorld;resetIdleTimeout()V
-
tickFluid
- Mappings:
Namespace Name Mixin selector official aLadw;a(Lgj;Ldiw;)Vintermediary method_14171Lnet/minecraft/class_3218;method_14171(Lnet/minecraft/class_2338;Lnet/minecraft/class_3611;)Vnamed tickFluidLnet/minecraft/server/world/ServerWorld;tickFluid(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/Fluid;)V
-
tickBlock
- Mappings:
Namespace Name Mixin selector official dLadw;d(Lgj;Lcdq;)Vintermediary method_14189Lnet/minecraft/class_3218;method_14189(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;)Vnamed tickBlockLnet/minecraft/server/world/ServerWorld;tickBlock(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)V
-
tickEntity
- Mappings:
Namespace Name Mixin selector official aLadw;a(Laxk;)Vintermediary method_18762Lnet/minecraft/class_3218;method_18762(Lnet/minecraft/class_1297;)Vnamed tickEntityLnet/minecraft/server/world/ServerWorld;tickEntity(Lnet/minecraft/entity/Entity;)V
-
tickPassenger
- Mappings:
Namespace Name Mixin selector official aLadw;a(Laxk;Laxk;)Vintermediary method_18763Lnet/minecraft/class_3218;method_18763(Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;)Vnamed tickPassengerLnet/minecraft/server/world/ServerWorld;tickPassenger(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;)V
-
canPlayerModifyAt
Returns whetherplayercan modify blocks atpos.- Overrides:
canPlayerModifyAtin classWorld- Returns:
- whether
playercan modify blocks atpos - See Also:
- Mappings:
Namespace Name Mixin selector official aLcav;a(Lboj;Lgj;)Zintermediary method_8505Lnet/minecraft/class_1937;method_8505(Lnet/minecraft/class_1657;Lnet/minecraft/class_2338;)Znamed canPlayerModifyAtLnet/minecraft/world/World;canPlayerModifyAt(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;)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 official aLadw;a(Lajo;ZZ)Vintermediary method_14176Lnet/minecraft/class_3218;method_14176(Lnet/minecraft/class_3536;ZZ)Vnamed saveLnet/minecraft/server/world/ServerWorld;save(Lnet/minecraft/util/ProgressListener;ZZ)V
-
saveLevel
private void saveLevel()- Mappings:
Namespace Name Mixin selector official aqLadw;aq()Vintermediary method_14188Lnet/minecraft/class_3218;method_14188()Vnamed saveLevelLnet/minecraft/server/world/ServerWorld;saveLevel()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 official aLadw;a(Lcsn;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;named getEntitiesByTypeLnet/minecraft/server/world/ServerWorld;getEntitiesByType(Lnet/minecraft/util/TypeFilter;Ljava/util/function/Predicate;)Ljava/util/List;
-
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 official hLadw;h()Ljava/util/List;intermediary method_18776Lnet/minecraft/class_3218;method_18776()Ljava/util/List;named getAliveEnderDragonsLnet/minecraft/server/world/ServerWorld;getAliveEnderDragons()Ljava/util/List;
-
getPlayers
Returns the list of players filtered usingpredicate.- Returns:
- the list of players filtered using
predicate - Mappings:
Namespace Name Mixin selector official aLadw;a(Ljava/util/function/Predicate;)Ljava/util/List;intermediary method_18766Lnet/minecraft/class_3218;method_18766(Ljava/util/function/Predicate;)Ljava/util/List;named getPlayersLnet/minecraft/server/world/ServerWorld;getPlayers(Ljava/util/function/Predicate;)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 official iLadw;i()Ladx;intermediary method_18779Lnet/minecraft/class_3218;method_18779()Lnet/minecraft/class_3222;named getRandomAlivePlayerLnet/minecraft/server/world/ServerWorld;getRandomAlivePlayer()Lnet/minecraft/server/network/ServerPlayerEntity;
-
spawnEntity
Spawns an entity.- Specified by:
spawnEntityin interfaceModifiableWorld- See Also:
- Mappings:
Namespace Name Mixin selector official bLcbd;b(Laxk;)Zintermediary method_8649Lnet/minecraft/class_1945;method_8649(Lnet/minecraft/class_1297;)Znamed spawnEntityLnet/minecraft/world/ModifiableWorld;spawnEntity(Lnet/minecraft/entity/Entity;)Z
-
tryLoadEntity
- Mappings:
Namespace Name Mixin selector official cLadw;c(Laxk;)Zintermediary method_18768Lnet/minecraft/class_3218;method_18768(Lnet/minecraft/class_1297;)Znamed tryLoadEntityLnet/minecraft/server/world/ServerWorld;tryLoadEntity(Lnet/minecraft/entity/Entity;)Z
-
onDimensionChanged
Called on the destination world when an entity changed the dimension.This does not get called for players changing dimensions. Use
onPlayerChangeDimension(net.minecraft.server.network.ServerPlayerEntity)(for portals) oronPlayerTeleport(net.minecraft.server.network.ServerPlayerEntity)(for teleportation) instead.- See Also:
- Mappings:
Namespace Name Mixin selector official dLadw;d(Laxk;)Vintermediary method_18769Lnet/minecraft/class_3218;method_18769(Lnet/minecraft/class_1297;)Vnamed onDimensionChangedLnet/minecraft/server/world/ServerWorld;onDimensionChanged(Lnet/minecraft/entity/Entity;)V
-
onPlayerTeleport
Called on the destination world when a player changed the dimension by teleportation.- See Also:
- Mappings:
Namespace Name Mixin selector official aLadw;a(Ladx;)Vintermediary method_18207Lnet/minecraft/class_3218;method_18207(Lnet/minecraft/class_3222;)Vnamed onPlayerTeleportLnet/minecraft/server/world/ServerWorld;onPlayerTeleport(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
onPlayerChangeDimension
Called on the destination world when a player changed the dimension using portals.- See Also:
- Mappings:
Namespace Name Mixin selector official bLadw;b(Ladx;)Vintermediary method_18211Lnet/minecraft/class_3218;method_18211(Lnet/minecraft/class_3222;)Vnamed onPlayerChangeDimensionLnet/minecraft/server/world/ServerWorld;onPlayerChangeDimension(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
onPlayerConnected
Called on the player's world when the player connected to the server and spawned.- Mappings:
Namespace Name Mixin selector official cLadw;c(Ladx;)Vintermediary method_18213Lnet/minecraft/class_3218;method_18213(Lnet/minecraft/class_3222;)Vnamed onPlayerConnectedLnet/minecraft/server/world/ServerWorld;onPlayerConnected(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
onPlayerRespawned
Called on the world that has the player's respawn point when the player respawned.- Mappings:
Namespace Name Mixin selector official dLadw;d(Ladx;)Vintermediary method_18215Lnet/minecraft/class_3218;method_18215(Lnet/minecraft/class_3222;)Vnamed onPlayerRespawnedLnet/minecraft/server/world/ServerWorld;onPlayerRespawned(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
addPlayer
- Mappings:
Namespace Name Mixin selector official eLadw;e(Ladx;)Vintermediary method_18771Lnet/minecraft/class_3218;method_18771(Lnet/minecraft/class_3222;)Vnamed addPlayerLnet/minecraft/server/world/ServerWorld;addPlayer(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
addEntity
- Mappings:
Namespace Name Mixin selector official jLadw;j(Laxk;)Zintermediary method_14175Lnet/minecraft/class_3218;method_14175(Lnet/minecraft/class_1297;)Znamed addEntityLnet/minecraft/server/world/ServerWorld;addEntity(Lnet/minecraft/entity/Entity;)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 official eLadw;e(Laxk;)Zintermediary method_30736Lnet/minecraft/class_3218;method_30736(Lnet/minecraft/class_1297;)Znamed spawnNewEntityAndPassengersLnet/minecraft/server/world/ServerWorld;spawnNewEntityAndPassengers(Lnet/minecraft/entity/Entity;)Z
-
unloadEntities
- Mappings:
Namespace Name Mixin selector official aLadw;a(Lcra;)Vintermediary method_18764Lnet/minecraft/class_3218;method_18764(Lnet/minecraft/class_2818;)Vnamed unloadEntitiesLnet/minecraft/server/world/ServerWorld;unloadEntities(Lnet/minecraft/world/chunk/WorldChunk;)V
-
removePlayer
- Mappings:
Namespace Name Mixin selector official aLadw;a(Ladx;Laxk$c;)Vintermediary method_18770Lnet/minecraft/class_3218;method_18770(Lnet/minecraft/class_3222;Lnet/minecraft/class_1297$class_5529;)Vnamed removePlayerLnet/minecraft/server/world/ServerWorld;removePlayer(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/entity/Entity$RemovalReason;)V
-
setBlockBreakingInfo
- Specified by:
setBlockBreakingInfoin classWorld- Mappings:
Namespace Name Mixin selector official aLcav;a(ILgj;I)Vintermediary method_8517Lnet/minecraft/class_1937;method_8517(ILnet/minecraft/class_2338;I)Vnamed setBlockBreakingInfoLnet/minecraft/world/World;setBlockBreakingInfo(ILnet/minecraft/util/math/BlockPos;I)V
-
playSound
public void playSound(@Nullable @Nullable PlayerEntity except, double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch) - Specified by:
playSoundin classWorld- Parameters:
except- the player that should not receive the sound, ornull- Mappings:
Namespace Name Mixin selector official aLcav;a(Lboj;DDDLahj;Lahl;FF)Vintermediary method_8465Lnet/minecraft/class_1937;method_8465(Lnet/minecraft/class_1657;DDDLnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)Vnamed playSoundLnet/minecraft/world/World;playSound(Lnet/minecraft/entity/player/PlayerEntity;DDDLnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FF)V
-
playSoundFromEntity
public void playSoundFromEntity(@Nullable @Nullable PlayerEntity except, Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch) - Specified by:
playSoundFromEntityin classWorld- Parameters:
except- the player that should not receive the sound, ornull- Mappings:
Namespace Name Mixin selector official aLcav;a(Lboj;Laxk;Lahj;Lahl;FF)Vintermediary method_8449Lnet/minecraft/class_1937;method_8449(Lnet/minecraft/class_1657;Lnet/minecraft/class_1297;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)Vnamed playSoundFromEntityLnet/minecraft/world/World;playSoundFromEntity(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/Entity;Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FF)V
-
syncGlobalEvent
- Overrides:
syncGlobalEventin classWorld- Mappings:
Namespace Name Mixin selector official bLcav;b(ILgj;I)Vintermediary method_8474Lnet/minecraft/class_1937;method_8474(ILnet/minecraft/class_2338;I)Vnamed syncGlobalEventLnet/minecraft/world/World;syncGlobalEvent(ILnet/minecraft/util/math/BlockPos;I)V
-
syncWorldEvent
public void syncWorldEvent(@Nullable @Nullable PlayerEntity player, int eventId, BlockPos pos, int data) - Specified by:
syncWorldEventin interfaceWorldAccess- Mappings:
Namespace Name Mixin selector official aLcaw;a(Lboj;ILgj;I)Vintermediary method_8444Lnet/minecraft/class_1936;method_8444(Lnet/minecraft/class_1657;ILnet/minecraft/class_2338;I)Vnamed syncWorldEventLnet/minecraft/world/WorldAccess;syncWorldEvent(Lnet/minecraft/entity/player/PlayerEntity;ILnet/minecraft/util/math/BlockPos;I)V
-
getLogicalHeight
public int getLogicalHeight()- Mappings:
Namespace Name Mixin selector official jLadw;j()Iintermediary method_32819Lnet/minecraft/class_3218;method_32819()Inamed getLogicalHeightLnet/minecraft/server/world/ServerWorld;getLogicalHeight()I
-
emitGameEvent
Emits an game event.- Specified by:
emitGameEventin interfaceWorldAccess- Parameters:
entity- the entity that triggered the game event, ornullfor events not triggered by entities (such as dispensers)event- the game eventpos- the position where the event occurred- Mappings:
Namespace Name Mixin selector official aLcaw;a(Laxk;Lcsy;Lgj;)Vintermediary method_32888Lnet/minecraft/class_1936;method_32888(Lnet/minecraft/class_1297;Lnet/minecraft/class_5712;Lnet/minecraft/class_2338;)Vnamed emitGameEventLnet/minecraft/world/WorldAccess;emitGameEvent(Lnet/minecraft/entity/Entity;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/util/math/BlockPos;)V
-
updateListeners
- Specified by:
updateListenersin classWorld- Mappings:
Namespace Name Mixin selector official aLcav;a(Lgj;Lcov;Lcov;I)Vintermediary method_8413Lnet/minecraft/class_1937;method_8413(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;I)Vnamed updateListenersLnet/minecraft/world/World;updateListeners(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;I)V
-
sendEntityStatus
Sends the entity status to nearby players.- Overrides:
sendEntityStatusin classWorld- See Also:
- Mappings:
Namespace Name Mixin selector official aLcav;a(Laxk;B)Vintermediary method_8421Lnet/minecraft/class_1937;method_8421(Lnet/minecraft/class_1297;B)Vnamed sendEntityStatusLnet/minecraft/world/World;sendEntityStatus(Lnet/minecraft/entity/Entity;B)V
-
getChunkManager
- Specified by:
getChunkManagerin interfaceWorldAccess- Mappings:
Namespace Name Mixin selector official kLadw;k()Ladu;intermediary method_14178Lnet/minecraft/class_3218;method_14178()Lnet/minecraft/class_3215;named getChunkManagerLnet/minecraft/server/world/ServerWorld;getChunkManager()Lnet/minecraft/server/world/ServerChunkManager;
-
createExplosion
public Explosion createExplosion(@Nullable @Nullable Entity entity, @Nullable @Nullable DamageSource damageSource, @Nullable @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType) Creates an explosion.- Overrides:
createExplosionin classWorld- Parameters:
entity- the entity that exploded (like TNT) ornullto indicate no entity explodeddamageSource- the custom damage source, ornullto use the default (DamageSource.explosion(Explosion))behavior- the explosion behavior, ornullto use the defaultcreateFire- whether the explosion should create firedestructionType- the destruction type of the explosion- Mappings:
Namespace Name Mixin selector official aLcav;a(Laxk;Lawu;Lcao;DDDFZLcan$a;)Lcan;intermediary method_8454Lnet/minecraft/class_1937;method_8454(Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;Lnet/minecraft/class_5362;DDDFZLnet/minecraft/class_1927$class_4179;)Lnet/minecraft/class_1927;named createExplosionLnet/minecraft/world/World;createExplosion(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;Lnet/minecraft/world/explosion/ExplosionBehavior;DDDFZLnet/minecraft/world/explosion/Explosion$DestructionType;)Lnet/minecraft/world/explosion/Explosion;
-
addSyncedBlockEvent
- Overrides:
addSyncedBlockEventin classWorld- Mappings:
Namespace Name Mixin selector official aLcav;a(Lgj;Lcdq;II)Vintermediary method_8427Lnet/minecraft/class_1937;method_8427(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;II)Vnamed addSyncedBlockEventLnet/minecraft/world/World;addSyncedBlockEvent(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;II)V
-
processSyncedBlockEvents
private void processSyncedBlockEvents()- Mappings:
Namespace Name Mixin selector official arLadw;ar()Vintermediary method_14192Lnet/minecraft/class_3218;method_14192()Vnamed processSyncedBlockEventsLnet/minecraft/server/world/ServerWorld;processSyncedBlockEvents()V
-
processBlockEvent
- Mappings:
Namespace Name Mixin selector official aLadw;a(Lcaa;)Zintermediary method_14174Lnet/minecraft/class_3218;method_14174(Lnet/minecraft/class_1919;)Znamed processBlockEventLnet/minecraft/server/world/ServerWorld;processBlockEvent(Lnet/minecraft/server/world/BlockEvent;)Z
-
getBlockTickScheduler
- Specified by:
getBlockTickSchedulerin interfaceWorldAccess- Mappings:
Namespace Name Mixin selector official lLadw;l()Ldqv;intermediary method_14196Lnet/minecraft/class_3218;method_14196()Lnet/minecraft/class_6757;named getBlockTickSchedulerLnet/minecraft/server/world/ServerWorld;getBlockTickScheduler()Lnet/minecraft/world/tick/WorldTickScheduler;
-
getFluidTickScheduler
- Specified by:
getFluidTickSchedulerin interfaceWorldAccess- Mappings:
Namespace Name Mixin selector official mLadw;m()Ldqv;intermediary method_14179Lnet/minecraft/class_3218;method_14179()Lnet/minecraft/class_6757;named getFluidTickSchedulerLnet/minecraft/server/world/ServerWorld;getFluidTickScheduler()Lnet/minecraft/world/tick/WorldTickScheduler;
-
getServer
- Specified by:
getServerin interfaceWorldAccess- Overrides:
getServerin classWorld- Mappings:
Namespace Name Mixin selector official nLcaw;n()Lnet/minecraft/server/MinecraftServer;intermediary method_8503Lnet/minecraft/class_1936;method_8503()Lnet/minecraft/server/MinecraftServer;named getServerLnet/minecraft/world/WorldAccess;getServer()Lnet/minecraft/server/MinecraftServer;
-
getPortalForcer
- Mappings:
Namespace Name Mixin selector official oLadw;o()Ldju;intermediary method_14173Lnet/minecraft/class_3218;method_14173()Lnet/minecraft/class_1946;named getPortalForcerLnet/minecraft/server/world/ServerWorld;getPortalForcer()Lnet/minecraft/world/PortalForcer;
-
getStructureManager
- Mappings:
Namespace Name Mixin selector official pLadw;p()Ldhr;intermediary method_14183Lnet/minecraft/class_3218;method_14183()Lnet/minecraft/class_3485;named getStructureManagerLnet/minecraft/server/world/ServerWorld;getStructureManager()Lnet/minecraft/structure/StructureManager;
-
sendVibrationPacket
- Mappings:
Namespace Name Mixin selector official aLadw;a(Lctg;)Vintermediary method_32817Lnet/minecraft/class_3218;method_32817(Lnet/minecraft/class_5720;)Vnamed sendVibrationPacketLnet/minecraft/server/world/ServerWorld;sendVibrationPacket(Lnet/minecraft/world/Vibration;)V
-
spawnParticles
public <T extends ParticleEffect> int spawnParticles(T particle, double x, double y, double z, int count, double deltaX, double deltaY, double deltaZ, double speed) Spawns a particle visible to nearby players.- Returns:
- the number of players the particle packet was sent to
- See Also:
- Mappings:
Namespace Name Mixin selector official aLadw;a(Lia;DDDIDDDD)Iintermediary method_14199Lnet/minecraft/class_3218;method_14199(Lnet/minecraft/class_2394;DDDIDDDD)Inamed spawnParticlesLnet/minecraft/server/world/ServerWorld;spawnParticles(Lnet/minecraft/particle/ParticleEffect;DDDIDDDD)I
-
spawnParticles
public <T extends ParticleEffect> boolean spawnParticles(ServerPlayerEntity viewer, T particle, boolean force, double x, double y, double z, int count, double deltaX, double deltaY, double deltaZ, double speed) Spawns a particle visible toviewer, if the viewer is near the provided coordinates.- Returns:
- whether the particle packet was sent
- See Also:
- Mappings:
Namespace Name Mixin selector official aLadw;a(Ladx;Lia;ZDDDIDDDD)Zintermediary method_14166Lnet/minecraft/class_3218;method_14166(Lnet/minecraft/class_3222;Lnet/minecraft/class_2394;ZDDDIDDDD)Znamed spawnParticlesLnet/minecraft/server/world/ServerWorld;spawnParticles(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/particle/ParticleEffect;ZDDDIDDDD)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 official aLadw;a(Ladx;ZDDDLrc;)Zintermediary method_14191Lnet/minecraft/class_3218;method_14191(Lnet/minecraft/class_3222;ZDDDLnet/minecraft/class_2596;)Znamed sendToPlayerIfNearbyLnet/minecraft/server/world/ServerWorld;sendToPlayerIfNearby(Lnet/minecraft/server/network/ServerPlayerEntity;ZDDDLnet/minecraft/network/Packet;)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 official aLcav;a(I)Laxk;intermediary method_8469Lnet/minecraft/class_1937;method_8469(I)Lnet/minecraft/class_1297;named getEntityByIdLnet/minecraft/world/World;getEntityById(I)Lnet/minecraft/entity/Entity;
-
getDragonPart
Deprecated.- Mappings:
Namespace Name Mixin selector official bLadw;b(I)Laxk;intermediary method_31424Lnet/minecraft/class_3218;method_31424(I)Lnet/minecraft/class_1297;named getDragonPartLnet/minecraft/server/world/ServerWorld;getDragonPart(I)Lnet/minecraft/entity/Entity;
-
getEntity
Returns the entity using the UUID, ornullif none was found.- Returns:
- the entity using the UUID, or
nullif none was found - See Also:
- Mappings:
Namespace Name Mixin selector official aLadw;a(Ljava/util/UUID;)Laxk;intermediary method_14190Lnet/minecraft/class_3218;method_14190(Ljava/util/UUID;)Lnet/minecraft/class_1297;named getEntityLnet/minecraft/server/world/ServerWorld;getEntity(Ljava/util/UUID;)Lnet/minecraft/entity/Entity;
-
locateStructure
@Nullable public @Nullable BlockPos locateStructure(TagKey<ConfiguredStructureFeature<?, ?>> structureTag, BlockPos pos, int radius, boolean skipExistingChunks) 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 chunkskipExistingChunks- whether only structures that are not referenced by generated chunks (chunks past theSTRUCTURE_STARTSstage) are returned, excluding strongholds- 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 official aLadw;a(Laif;Lgj;IZ)Lgj;intermediary method_8487Lnet/minecraft/class_3218;method_8487(Lnet/minecraft/class_6862;Lnet/minecraft/class_2338;IZ)Lnet/minecraft/class_2338;named locateStructureLnet/minecraft/server/world/ServerWorld;locateStructure(Lnet/minecraft/tag/TagKey;Lnet/minecraft/util/math/BlockPos;IZ)Lnet/minecraft/util/math/BlockPos;
-
locateBiome
@Nullable public @Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<Biome>> locateBiome(Predicate<RegistryEntry<Biome>> biomeEntryPredicate, BlockPos pos, int radius, int blockCheckInterval) - Mappings:
Namespace Name Mixin selector official aLadw;a(Ljava/util/function/Predicate;Lgj;II)Lcom/mojang/datafixers/util/Pair;intermediary method_24500Lnet/minecraft/class_3218;method_24500(Ljava/util/function/Predicate;Lnet/minecraft/class_2338;II)Lcom/mojang/datafixers/util/Pair;named locateBiomeLnet/minecraft/server/world/ServerWorld;locateBiome(Ljava/util/function/Predicate;Lnet/minecraft/util/math/BlockPos;II)Lcom/mojang/datafixers/util/Pair;
-
getRecipeManager
- Specified by:
getRecipeManagerin classWorld- Mappings:
Namespace Name Mixin selector official qLcav;q()Lbxp;intermediary method_8433Lnet/minecraft/class_1937;method_8433()Lnet/minecraft/class_1863;named getRecipeManagerLnet/minecraft/world/World;getRecipeManager()Lnet/minecraft/recipe/RecipeManager;
-
isSavingDisabled
public boolean isSavingDisabled()- Overrides:
isSavingDisabledin classWorld- Mappings:
Namespace Name Mixin selector official rLcav;r()Zintermediary method_8458Lnet/minecraft/class_1937;method_8458()Znamed isSavingDisabledLnet/minecraft/world/World;isSavingDisabled()Z
-
getRegistryManager
- Specified by:
getRegistryManagerin interfaceRegistryWorldView- Mappings:
Namespace Name Mixin selector official sLcah;s()Lhc;intermediary method_30349Lnet/minecraft/class_5423;method_30349()Lnet/minecraft/class_5455;named getRegistryManagerLnet/minecraft/world/RegistryWorldView;getRegistryManager()Lnet/minecraft/util/registry/DynamicRegistryManager;
-
getPersistentStateManager
- Mappings:
Namespace Name Mixin selector official tLadw;t()Ldkl;intermediary method_17983Lnet/minecraft/class_3218;method_17983()Lnet/minecraft/class_26;named getPersistentStateManagerLnet/minecraft/server/world/ServerWorld;getPersistentStateManager()Lnet/minecraft/world/PersistentStateManager;
-
getMapState
- Specified by:
getMapStatein classWorld- Mappings:
Namespace Name Mixin selector official aLcav;a(Ljava/lang/String;)Ldkf;intermediary method_17891Lnet/minecraft/class_1937;method_17891(Ljava/lang/String;)Lnet/minecraft/class_22;named getMapStateLnet/minecraft/world/World;getMapState(Ljava/lang/String;)Lnet/minecraft/item/map/MapState;
-
putMapState
- Specified by:
putMapStatein classWorld- Mappings:
Namespace Name Mixin selector official aLcav;a(Ljava/lang/String;Ldkf;)Vintermediary method_17890Lnet/minecraft/class_1937;method_17890(Ljava/lang/String;Lnet/minecraft/class_22;)Vnamed putMapStateLnet/minecraft/world/World;putMapState(Ljava/lang/String;Lnet/minecraft/item/map/MapState;)V
-
getNextMapId
public int getNextMapId()- Specified by:
getNextMapIdin classWorld- Mappings:
Namespace Name Mixin selector official uLcav;u()Iintermediary method_17889Lnet/minecraft/class_1937;method_17889()Inamed getNextMapIdLnet/minecraft/world/World;getNextMapId()I
-
setSpawnPos
Sets the world spawn point.- Parameters:
pos- the position of the spawn pointangle- the angle of the spawned entity- Mappings:
Namespace Name Mixin selector official aLadw;a(Lgj;F)Vintermediary method_8554Lnet/minecraft/class_3218;method_8554(Lnet/minecraft/class_2338;F)Vnamed setSpawnPosLnet/minecraft/server/world/ServerWorld;setSpawnPos(Lnet/minecraft/util/math/BlockPos;F)V
-
getSpawnPos
Returns the world spawn point.- Returns:
- the world spawn point
- Implementation Note:
- If it is outside the world border, this returns the position of the
highest
block at the center of the world border.
invalid @linkplain
motion-blocking
- Mappings:
Namespace Name Mixin selector official vLadw;v()Lgj;intermediary method_27911Lnet/minecraft/class_3218;method_27911()Lnet/minecraft/class_2338;named getSpawnPosLnet/minecraft/server/world/ServerWorld;getSpawnPos()Lnet/minecraft/util/math/BlockPos;
-
getSpawnAngle
public float getSpawnAngle()- Mappings:
Namespace Name Mixin selector official wLadw;w()Fintermediary method_30630Lnet/minecraft/class_3218;method_30630()Fnamed getSpawnAngleLnet/minecraft/server/world/ServerWorld;getSpawnAngle()F
-
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 official xLadw;x()Lit/unimi/dsi/fastutil/longs/LongSet;intermediary method_17984Lnet/minecraft/class_3218;method_17984()Lit/unimi/dsi/fastutil/longs/LongSet;named getForcedChunksLnet/minecraft/server/world/ServerWorld;getForcedChunks()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 official aLadw;a(IIZ)Zintermediary method_17988Lnet/minecraft/class_3218;method_17988(IIZ)Znamed setChunkForcedLnet/minecraft/server/world/ServerWorld;setChunkForced(IIZ)Z
-
getPlayers
- Specified by:
getPlayersin interfaceEntityView- Mappings:
Namespace Name Mixin selector official yLcam;y()Ljava/util/List;intermediary method_18456Lnet/minecraft/class_1924;method_18456()Ljava/util/List;named getPlayersLnet/minecraft/world/EntityView;getPlayers()Ljava/util/List;
-
onBlockChanged
Called when a block state changed.- Overrides:
onBlockChangedin classWorld- Mappings:
Namespace Name Mixin selector official aLcav;a(Lgj;Lcov;Lcov;)Vintermediary method_19282Lnet/minecraft/class_1937;method_19282(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;)Vnamed onBlockChangedLnet/minecraft/world/World;onBlockChanged(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;)V
-
getPointOfInterestStorage
- Mappings:
Namespace Name Mixin selector official zLadw;z()Lbhs;intermediary method_19494Lnet/minecraft/class_3218;method_19494()Lnet/minecraft/class_4153;named getPointOfInterestStorageLnet/minecraft/server/world/ServerWorld;getPointOfInterestStorage()Lnet/minecraft/world/poi/PointOfInterestStorage;
-
isNearOccupiedPointOfInterest
- Mappings:
Namespace Name Mixin selector official bLadw;b(Lgj;)Zintermediary method_19500Lnet/minecraft/class_3218;method_19500(Lnet/minecraft/class_2338;)Znamed isNearOccupiedPointOfInterestLnet/minecraft/server/world/ServerWorld;isNearOccupiedPointOfInterest(Lnet/minecraft/util/math/BlockPos;)Z
-
isNearOccupiedPointOfInterest
- Mappings:
Namespace Name Mixin selector official aLadw;a(Lhf;)Zintermediary method_20588Lnet/minecraft/class_3218;method_20588(Lnet/minecraft/class_4076;)Znamed isNearOccupiedPointOfInterestLnet/minecraft/server/world/ServerWorld;isNearOccupiedPointOfInterest(Lnet/minecraft/util/math/ChunkSectionPos;)Z
-
isNearOccupiedPointOfInterest
- Mappings:
Namespace Name Mixin selector official aLadw;a(Lgj;I)Zintermediary method_19497Lnet/minecraft/class_3218;method_19497(Lnet/minecraft/class_2338;I)Znamed isNearOccupiedPointOfInterestLnet/minecraft/server/world/ServerWorld;isNearOccupiedPointOfInterest(Lnet/minecraft/util/math/BlockPos;I)Z
-
getOccupiedPointOfInterestDistance
- Mappings:
Namespace Name Mixin selector official bLadw;b(Lhf;)Iintermediary method_19498Lnet/minecraft/class_3218;method_19498(Lnet/minecraft/class_4076;)Inamed getOccupiedPointOfInterestDistanceLnet/minecraft/server/world/ServerWorld;getOccupiedPointOfInterestDistance(Lnet/minecraft/util/math/ChunkSectionPos;)I
-
getRaidManager
- Mappings:
Namespace Name Mixin selector official ALadw;A()Lbpq;intermediary method_19495Lnet/minecraft/class_3218;method_19495()Lnet/minecraft/class_3767;named getRaidManagerLnet/minecraft/server/world/ServerWorld;getRaidManager()Lnet/minecraft/village/raid/RaidManager;
-
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 official cLadw;c(Lgj;)Lbpo;intermediary method_19502Lnet/minecraft/class_3218;method_19502(Lnet/minecraft/class_2338;)Lnet/minecraft/class_3765;named getRaidAtLnet/minecraft/server/world/ServerWorld;getRaidAt(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/village/raid/Raid;
-
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 official dLadw;d(Lgj;)Zintermediary method_19503Lnet/minecraft/class_3218;method_19503(Lnet/minecraft/class_2338;)Znamed hasRaidAtLnet/minecraft/server/world/ServerWorld;hasRaidAt(Lnet/minecraft/util/math/BlockPos;)Z
-
handleInteraction
public void handleInteraction(EntityInteraction interaction, Entity entity, InteractionObserver observer) - Mappings:
Namespace Name Mixin selector official aLadw;a(Lbhp;Laxk;Laym;)Vintermediary method_19496Lnet/minecraft/class_3218;method_19496(Lnet/minecraft/class_4151;Lnet/minecraft/class_1297;Lnet/minecraft/class_4094;)Vnamed handleInteractionLnet/minecraft/server/world/ServerWorld;handleInteraction(Lnet/minecraft/entity/EntityInteraction;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/InteractionObserver;)V
-
dump
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLadw;a(Ljava/nio/file/Path;)Vintermediary method_21625Lnet/minecraft/class_3218;method_21625(Ljava/nio/file/Path;)Vnamed dumpLnet/minecraft/server/world/ServerWorld;dump(Ljava/nio/file/Path;)V
-
dumpEntities
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLadw;a(Ljava/io/Writer;Ljava/lang/Iterable;)Vintermediary method_21624Lnet/minecraft/class_3218;method_21624(Ljava/io/Writer;Ljava/lang/Iterable;)Vnamed dumpEntitiesLnet/minecraft/server/world/ServerWorld;dumpEntities(Ljava/io/Writer;Ljava/lang/Iterable;)V
-
dumpBlockEntities
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLadw;a(Ljava/io/Writer;)Vintermediary method_21626Lnet/minecraft/class_3218;method_21626(Ljava/io/Writer;)Vnamed dumpBlockEntitiesLnet/minecraft/server/world/ServerWorld;dumpBlockEntities(Ljava/io/Writer;)V
-
clearUpdatesInArea
- Mappings:
Namespace Name Mixin selector official aLadw;a(Ldeo;)Vintermediary method_23658Lnet/minecraft/class_3218;method_23658(Lnet/minecraft/class_3341;)Vnamed clearUpdatesInAreaLnet/minecraft/server/world/ServerWorld;clearUpdatesInArea(Lnet/minecraft/util/math/BlockBox;)V
-
updateNeighbors
- Specified by:
updateNeighborsin interfaceWorldAccess- Mappings:
Namespace Name Mixin selector official aLcaw;a(Lgj;Lcdq;)Vintermediary method_8408Lnet/minecraft/class_1936;method_8408(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;)Vnamed updateNeighborsLnet/minecraft/world/WorldAccess;updateNeighbors(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)V
-
getBrightness
- Specified by:
getBrightnessin interfaceBlockRenderView- Mappings:
Namespace Name Mixin selector official aLbzy;a(Lgo;Z)Fintermediary method_24852Lnet/minecraft/class_1920;method_24852(Lnet/minecraft/class_2350;Z)Fnamed getBrightnessLnet/minecraft/world/BlockRenderView;getBrightness(Lnet/minecraft/util/math/Direction;Z)F
-
iterateEntities
- Mappings:
Namespace Name Mixin selector official BLadw;B()Ljava/lang/Iterable;intermediary method_27909Lnet/minecraft/class_3218;method_27909()Ljava/lang/Iterable;named iterateEntitiesLnet/minecraft/server/world/ServerWorld;iterateEntities()Ljava/lang/Iterable;
-
toString
-
isFlat
public boolean isFlat()- Mappings:
Namespace Name Mixin selector official CLadw;C()Zintermediary method_28125Lnet/minecraft/class_3218;method_28125()Znamed isFlatLnet/minecraft/server/world/ServerWorld;isFlat()Z
-
getSeed
public long getSeed()- Specified by:
getSeedin interfaceStructureWorldAccess- Mappings:
Namespace Name Mixin selector official DLcbn;D()Jintermediary method_8412Lnet/minecraft/class_5281;method_8412()Jnamed getSeedLnet/minecraft/world/StructureWorldAccess;getSeed()J
-
getEnderDragonFight
- Mappings:
Namespace Name Mixin selector official ELadw;E()Lcsb;intermediary method_29198Lnet/minecraft/class_3218;method_29198()Lnet/minecraft/class_2881;named getEnderDragonFightLnet/minecraft/server/world/ServerWorld;getEnderDragonFight()Lnet/minecraft/entity/boss/dragon/EnderDragonFight;
-
toServerWorld
- Specified by:
toServerWorldin interfaceServerWorldAccess- Mappings:
Namespace Name Mixin selector official FLcbk;F()Ladw;intermediary method_8410Lnet/minecraft/class_5425;method_8410()Lnet/minecraft/class_3218;named toServerWorldLnet/minecraft/world/ServerWorldAccess;toServerWorld()Lnet/minecraft/server/world/ServerWorld;
-
getDebugString
- Mappings:
Namespace Name Mixin selector official GLadw;G()Ljava/lang/String;intermediary method_31268Lnet/minecraft/class_3218;method_31268()Ljava/lang/String;named getDebugStringLnet/minecraft/server/world/ServerWorld;getDebugString()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 official aLadw;a(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;named getTopFiveLnet/minecraft/server/world/ServerWorld;getTopFive(Ljava/lang/Iterable;Ljava/util/function/Function;)Ljava/lang/String;
-
createEndSpawnPlatform
- Mappings:
Namespace Name Mixin selector official aLadw;a(Ladw;)Vintermediary method_29200Lnet/minecraft/class_3218;method_29200(Lnet/minecraft/class_3218;)Vnamed createEndSpawnPlatformLnet/minecraft/server/world/ServerWorld;createEndSpawnPlatform(Lnet/minecraft/server/world/ServerWorld;)V
-
getEntityLookup
- Specified by:
getEntityLookupin classWorld- Mappings:
Namespace Name Mixin selector official HLcav;H()Lcsp;intermediary method_31592Lnet/minecraft/class_1937;method_31592()Lnet/minecraft/class_5577;named getEntityLookupLnet/minecraft/world/World;getEntityLookup()Lnet/minecraft/world/entity/EntityLookup;
-
loadEntities
- Mappings:
Namespace Name Mixin selector official aLadw;a(Ljava/util/stream/Stream;)Vintermediary method_31423Lnet/minecraft/class_3218;method_31423(Ljava/util/stream/Stream;)Vnamed loadEntitiesLnet/minecraft/server/world/ServerWorld;loadEntities(Ljava/util/stream/Stream;)V
-
addEntities
- Mappings:
Namespace Name Mixin selector official bLadw;b(Ljava/util/stream/Stream;)Vintermediary method_31426Lnet/minecraft/class_3218;method_31426(Ljava/util/stream/Stream;)Vnamed addEntitiesLnet/minecraft/server/world/ServerWorld;addEntities(Ljava/util/stream/Stream;)V
-
disableTickSchedulers
- Mappings:
Namespace Name Mixin selector official bLadw;b(Lcra;)Vintermediary method_39223Lnet/minecraft/class_3218;method_39223(Lnet/minecraft/class_2818;)Vnamed disableTickSchedulersLnet/minecraft/server/world/ServerWorld;disableTickSchedulers(Lnet/minecraft/world/chunk/WorldChunk;)V
-
cacheStructures
- Mappings:
Namespace Name Mixin selector official aLadw;a(Lcqq;)Vintermediary method_39778Lnet/minecraft/class_3218;method_39778(Lnet/minecraft/class_2791;)Vnamed cacheStructuresLnet/minecraft/server/world/ServerWorld;cacheStructures(Lnet/minecraft/world/chunk/Chunk;)V
-
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 official cLadw;c(J)Zintermediary method_37116Lnet/minecraft/class_3218;method_37116(J)Znamed isChunkLoadedLnet/minecraft/server/world/ServerWorld;isChunkLoaded(J)Z
-
isTickingFutureReady
private boolean isTickingFutureReady(long chunkPos) - Mappings:
Namespace Name Mixin selector official dLadw;d(J)Zintermediary method_37117Lnet/minecraft/class_3218;method_37117(J)Znamed isTickingFutureReadyLnet/minecraft/server/world/ServerWorld;isTickingFutureReady(J)Z
-
shouldTickEntity
Returns whether to tick entities atpos.- Returns:
- whether to tick entities at
pos - Mappings:
Namespace Name Mixin selector official eLadw;e(Lgj;)Zintermediary method_37118Lnet/minecraft/class_3218;method_37118(Lnet/minecraft/class_2338;)Znamed shouldTickEntityLnet/minecraft/server/world/ServerWorld;shouldTickEntity(Lnet/minecraft/util/math/BlockPos;)Z
-
shouldTick
- Mappings:
Namespace Name Mixin selector official fLadw;f(Lgj;)Zintermediary method_39999Lnet/minecraft/class_3218;method_39999(Lnet/minecraft/class_2338;)Znamed shouldTickLnet/minecraft/server/world/ServerWorld;shouldTick(Lnet/minecraft/util/math/BlockPos;)Z
-
shouldTick
- Mappings:
Namespace Name Mixin selector official aLadw;a(Lcac;)Zintermediary method_39998Lnet/minecraft/class_3218;method_39998(Lnet/minecraft/class_1923;)Znamed shouldTickLnet/minecraft/server/world/ServerWorld;shouldTick(Lnet/minecraft/util/math/ChunkPos;)Z
-