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
,EntityView
,HeightLimitView
,LunarWorldView
,ModifiableTestableWorld
,ModifiableWorld
,RegistryWorldView
,ServerWorldAccess
,StructureWorldAccess
,TestableWorld
,WorldAccess
,WorldView
- Mappings:
Namespace Name official abr
intermediary net/minecraft/class_3218
named net/minecraft/server/world/ServerWorld
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ServerTickScheduler<Block>
(package private) final Int2ObjectMap<EnderDragonPart>
static final BlockPos
private final @Nullable EnderDragonFight
(package private) final EntityList
private final ServerEntityManager<Entity>
private final ServerTickScheduler<Fluid>
private int
private boolean
private static final Logger
(package private) final List<ServerPlayerEntity>
private final PortalForcer
protected final RaidManager
boolean
private final MinecraftServer
private static final int
The 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 ServerChunkManager
private final boolean
private final SleepManager
private final StructureAccessor
private final ObjectLinkedOpenHashSet<BlockEvent>
private final ServerWorldProperties
Fields 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
ConstructorDescriptionServerWorld
(MinecraftServer server, Executor workerExecutor, LevelStorage.Session session, ServerWorldProperties properties, RegistryKey<World> worldKey, DimensionType dimensionType, WorldGenerationProgressListener worldGenerationProgressListener, ChunkGenerator chunkGenerator, boolean debugWorld, long seed, List<Spawner> spawners, boolean shouldTickTime) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addEntities
(Stream<Entity> entities) private boolean
private void
addPlayer
(ServerPlayerEntity player) void
addSyncedBlockEvent
(BlockPos pos, Block block, int type, int data) asString()
boolean
canPlayerModifyAt
(PlayerEntity player, BlockPos pos) void
void
close()
static void
createExplosion
(@Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType) void
private void
dumpBlockEntities
(Writer writer) private static void
dumpEntities
(Writer writer, Iterable<Entity> entities) void
emitGameEvent
(@Nullable Entity entity, GameEvent event, BlockPos pos) List<? extends EnderDragonEntity>
float
getBrightness
(Direction direction, boolean shaded) getDragonPart
(int id) Deprecated.getEntitiesByType
(TypeFilter<Entity, T> typeFilter, Predicate<? super T> predicate) Computes a list of entities of the given type.getEntityById
(int id) protected EntityLookup<Entity>
getGeneratorStoredBiome
(int biomeX, int biomeY, int biomeZ) int
getMapState
(String id) int
int
getPlayers
(Predicate<? super ServerPlayerEntity> predicate) long
getSeed()
float
Stream<? extends StructureStart<?>>
getStructures
(ChunkSectionPos pos, StructureFeature<?> feature) protected BlockPos
getSurface
(BlockPos pos) private static <T> String
getTopFive
(Iterable<T> items, Function<T, String> classifier) Categoriesitems
with theclassifier
and reports a message indicating the top five biggest categories.void
handleInteraction
(EntityInteraction interaction, Entity entity, InteractionObserver observer) private void
boolean
boolean
isFlat()
boolean
boolean
boolean
isNearOccupiedPointOfInterest
(BlockPos pos, int maxDistance) boolean
isNearOccupiedPointOfInterest
(ChunkSectionPos sectionPos) boolean
boolean
void
loadEntities
(Stream<Entity> entities) locateBiome
(Biome biome, BlockPos pos, int radius, int int2) locateStructure
(StructureFeature<?> feature, BlockPos pos, int radius, boolean skipExistingChunks) boolean
method_37115
(ChunkPos chunkPos) boolean
method_37116
(long long2) boolean
method_37117
(BlockPos blockPos) boolean
method_37118
(BlockPos blockPos) void
onBlockChanged
(BlockPos pos, BlockState oldBlock, BlockState newBlock) void
onDimensionChanged
(Entity entity) void
void
onPlayerConnected
(ServerPlayerEntity player) void
onPlayerRespawned
(ServerPlayerEntity player) void
onPlayerTeleport
(ServerPlayerEntity player) void
playSound
(@Nullable PlayerEntity player, double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch) void
playSoundFromEntity
(@Nullable PlayerEntity player, Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch) private boolean
processBlockEvent
(BlockEvent event) private void
void
putMapState
(String id, MapState state) void
removePlayer
(ServerPlayerEntity player, Entity.RemovalReason reason) void
private void
void
save
(@Nullable ProgressListener progressListener, boolean flush, boolean bool) private void
void
sendEntityStatus
(Entity entity, byte status) private boolean
sendToPlayerIfNearby
(ServerPlayerEntity player, boolean force, double x, double y, double z, Packet<?> packet) void
sendVibrationPacket
(Vibration vibration) void
setBlockBreakingInfo
(int entityId, BlockPos pos, int progress) boolean
setChunkForced
(int x, int z, boolean forced) void
setSpawnPos
(BlockPos pos, float angle) void
setTimeOfDay
(long timeOfDay) void
setWeather
(int clearDuration, int rainDuration, boolean raining, boolean thundering) private boolean
shouldCancelSpawn
(Entity entity) boolean
boolean
spawnEntity
(Entity entity) <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) <T extends ParticleEffect>
intspawnParticles
(T particle, double x, double y, double z, int count, double deltaX, double deltaY, double deltaZ, double speed) void
syncGlobalEvent
(int eventId, BlockPos pos, int data) void
syncWorldEvent
(@Nullable PlayerEntity player, int eventId, BlockPos pos, int data) void
tick
(BooleanSupplier shouldKeepTicking) private void
tickBlock
(ScheduledTick<Block> tick) void
tickChunk
(WorldChunk chunk, int randomTickSpeed) void
tickEntity
(Entity entity) private void
tickFluid
(ScheduledTick<Fluid> tick) private void
tickPassenger
(Entity vehicle, Entity passenger) void
tickSpawners
(boolean spawnMonsters, boolean spawnAnimals) protected void
tickTime()
toString()
boolean
tryLoadEntity
(Entity entity) void
unloadEntities
(WorldChunk chunk) void
updateListeners
(BlockPos pos, BlockState oldState, BlockState newState, int flags) void
updateNeighbors
(BlockPos pos, Block block) void
private void
Methods 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, getTime, getTimeOfDay, getTopY, getWorldBorder, getWorldChunk, hasHighHumidity, hasRain, initWeatherGradients, isClient, isDay, isDebugWorld, isDirectionSolid, isEmittingRedstonePower, isInBuildLimit, isNight, isRaining, isReceivingRedstonePower, isThundering, isTopSolid, isValid, markDirty, playSound, playSound, removeBlock, removeBlockEntity, scheduleBlockRerenderIfNeeded, sendPacket, setBlockState, setBlockState, setBlockState, setLightningTicksLeft, setMobSpawnOptions, setRainGradient, setThunderGradient, testBlockState, testFluidState, tickBlockEntities, tickEntity, updateComparators, updateNeighbor, updateNeighborsAlways, updateNeighborsExcept
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.world.biome.source.BiomeAccess.Storage
getBiomeForNoiseGen
Methods inherited from interface net.minecraft.world.BlockRenderView
getBaseLightLevel, getLightingProvider, getLightLevel, isSkyVisible
Methods inherited from interface net.minecraft.world.BlockView
getBlockEntity, getBlockState, getDismountHeight, getDismountHeight, getFluidState, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlock
Methods inherited from interface net.minecraft.world.CollisionView
canPlace, findClosestCollision, getBlockCollisions, getBlockCollisions, getCollisions, getEntityCollisions, getWorldBorder, hasBlockCollision, intersectsEntities, intersectsEntities, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty
Methods inherited from interface net.minecraft.world.EntityView
getClosestEntity, getClosestEntity, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getEntitiesByClass, getEntitiesByType, getNonSpectatingEntities, getOtherEntities, getOtherEntities, getPlayerByUuid, getPlayers, getTargets, isPlayerInRange
Methods inherited from interface net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
Methods inherited from interface net.minecraft.world.LunarWorldView
getMoonPhase, getMoonSize, getSkyAngle
Methods inherited from interface net.minecraft.world.ModifiableWorld
breakBlock, breakBlock, breakBlock, removeBlock, setBlockState, setBlockState
Methods inherited from interface net.minecraft.world.RegistryWorldView
getBiomeKey, getBlockEntity, getEntityCollisions, getTopPosition, intersectsEntities
Methods inherited from interface net.minecraft.world.ServerWorldAccess
spawnEntityAndPassengers
Methods inherited from interface net.minecraft.world.StructureWorldAccess
method_37368
Methods inherited from interface net.minecraft.world.TestableWorld
testBlockState, testFluidState
Methods inherited from interface net.minecraft.world.WorldAccess
addParticle, emitGameEvent, emitGameEvent, emitGameEvent, getDifficulty, getLevelProperties, getLocalDifficulty, getLunarTime, getRandom, isChunkLoaded, playSound, syncWorldEvent
Methods 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 a
Labr;a:Lgg;
intermediary field_25144
Lnet/minecraft/class_3218;field_25144:Lnet/minecraft/class_2338;
named END_SPAWN_POS
Lnet/minecraft/server/world/ServerWorld;END_SPAWN_POS:Lnet/minecraft/util/math/BlockPos;
-
LOGGER
- Mappings:
Namespace Name Mixin selector official z
Labr;z:Lorg/apache/logging/log4j/Logger;
intermediary field_13952
Lnet/minecraft/class_3218;field_13952:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/server/world/ServerWorld;LOGGER:Lorg/apache/logging/log4j/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 A
Labr;A:I
intermediary field_29768
Lnet/minecraft/class_3218;field_29768:I
named SERVER_IDLE_COOLDOWN
Lnet/minecraft/server/world/ServerWorld;SERVER_IDLE_COOLDOWN:I
-
players
- Mappings:
Namespace Name Mixin selector official B
Labr;B:Ljava/util/List;
intermediary field_18261
Lnet/minecraft/class_3218;field_18261:Ljava/util/List;
named players
Lnet/minecraft/server/world/ServerWorld;players:Ljava/util/List;
-
serverChunkManager
- Mappings:
Namespace Name Mixin selector official C
Labr;C:Labp;
intermediary field_24624
Lnet/minecraft/class_3218;field_24624:Lnet/minecraft/class_3215;
named serverChunkManager
Lnet/minecraft/server/world/ServerWorld;serverChunkManager:Lnet/minecraft/server/world/ServerChunkManager;
-
server
- Mappings:
Namespace Name Mixin selector official D
Labr;D:Lnet/minecraft/server/MinecraftServer;
intermediary field_13959
Lnet/minecraft/class_3218;field_13959:Lnet/minecraft/server/MinecraftServer;
named server
Lnet/minecraft/server/world/ServerWorld;server:Lnet/minecraft/server/MinecraftServer;
-
worldProperties
- Mappings:
Namespace Name Mixin selector official E
Labr;E:Ldih;
intermediary field_24456
Lnet/minecraft/class_3218;field_24456:Lnet/minecraft/class_5268;
named worldProperties
Lnet/minecraft/server/world/ServerWorld;worldProperties:Lnet/minecraft/world/level/ServerWorldProperties;
-
entityList
- Mappings:
Namespace Name Mixin selector official F
Labr;F:Lcoi;
intermediary field_26934
Lnet/minecraft/class_3218;field_26934:Lnet/minecraft/class_5574;
named entityList
Lnet/minecraft/server/world/ServerWorld;entityList:Lnet/minecraft/world/EntityList;
-
entityManager
- Mappings:
Namespace Name Mixin selector official G
Labr;G:Lcoo;
intermediary field_26935
Lnet/minecraft/class_3218;field_26935:Lnet/minecraft/class_5579;
named entityManager
Lnet/minecraft/server/world/ServerWorld;entityManager:Lnet/minecraft/server/world/ServerEntityManager;
-
savingDisabled
public boolean savingDisabled- Mappings:
Namespace Name Mixin selector official b
Labr;b:Z
intermediary field_13957
Lnet/minecraft/class_3218;field_13957:Z
named savingDisabled
Lnet/minecraft/server/world/ServerWorld;savingDisabled:Z
-
sleepManager
- Mappings:
Namespace Name Mixin selector official H
Labr;H:Laek;
intermediary field_28859
Lnet/minecraft/class_3218;field_28859:Lnet/minecraft/class_5838;
named sleepManager
Lnet/minecraft/server/world/ServerWorld;sleepManager:Lnet/minecraft/server/world/SleepManager;
-
idleTimeout
private int idleTimeout- Mappings:
Namespace Name Mixin selector official I
Labr;I:I
intermediary field_13948
Lnet/minecraft/class_3218;field_13948:I
named idleTimeout
Lnet/minecraft/server/world/ServerWorld;idleTimeout:I
-
portalForcer
- Mappings:
Namespace Name Mixin selector official J
Labr;J:Ldhh;
intermediary field_13956
Lnet/minecraft/class_3218;field_13956:Lnet/minecraft/class_1946;
named portalForcer
Lnet/minecraft/server/world/ServerWorld;portalForcer:Lnet/minecraft/world/PortalForcer;
-
blockTickScheduler
- Mappings:
Namespace Name Mixin selector official K
Labr;K:Lbxe;
intermediary field_13949
Lnet/minecraft/class_3218;field_13949:Lnet/minecraft/class_1949;
named blockTickScheduler
Lnet/minecraft/server/world/ServerWorld;blockTickScheduler:Lnet/minecraft/server/world/ServerTickScheduler;
-
fluidTickScheduler
- Mappings:
Namespace Name Mixin selector official L
Labr;L:Lbxe;
intermediary field_13951
Lnet/minecraft/class_3218;field_13951:Lnet/minecraft/class_1949;
named fluidTickScheduler
Lnet/minecraft/server/world/ServerWorld;fluidTickScheduler:Lnet/minecraft/server/world/ServerTickScheduler;
-
loadedMobs
- Mappings:
Namespace Name Mixin selector official M
Labr;M:Ljava/util/Set;
intermediary field_26932
Lnet/minecraft/class_3218;field_26932:Ljava/util/Set;
named loadedMobs
Lnet/minecraft/server/world/ServerWorld;loadedMobs:Ljava/util/Set;
-
raidManager
- Mappings:
Namespace Name Mixin selector official c
Labr;c:Lblk;
intermediary field_18811
Lnet/minecraft/class_3218;field_18811:Lnet/minecraft/class_3767;
named raidManager
Lnet/minecraft/server/world/ServerWorld;raidManager:Lnet/minecraft/village/raid/RaidManager;
-
syncedBlockEventQueue
- Mappings:
Namespace Name Mixin selector official N
Labr;N:Lit/unimi/dsi/fastutil/objects/ObjectLinkedOpenHashSet;
intermediary field_13950
Lnet/minecraft/class_3218;field_13950:Lit/unimi/dsi/fastutil/objects/ObjectLinkedOpenHashSet;
named syncedBlockEventQueue
Lnet/minecraft/server/world/ServerWorld;syncedBlockEventQueue:Lit/unimi/dsi/fastutil/objects/ObjectLinkedOpenHashSet;
-
inBlockTick
private boolean inBlockTick- Mappings:
Namespace Name Mixin selector official O
Labr;O:Z
intermediary field_13953
Lnet/minecraft/class_3218;field_13953:Z
named inBlockTick
Lnet/minecraft/server/world/ServerWorld;inBlockTick:Z
-
spawners
- Mappings:
Namespace Name Mixin selector official P
Labr;P:Ljava/util/List;
intermediary field_25141
Lnet/minecraft/class_3218;field_25141:Ljava/util/List;
named spawners
Lnet/minecraft/server/world/ServerWorld;spawners:Ljava/util/List;
-
enderDragonFight
- Mappings:
Namespace Name Mixin selector official Q
Labr;Q:Lcnx;
intermediary field_25142
Lnet/minecraft/class_3218;field_25142:Lnet/minecraft/class_2881;
named enderDragonFight
Lnet/minecraft/server/world/ServerWorld;enderDragonFight:Lnet/minecraft/entity/boss/dragon/EnderDragonFight;
-
dragonParts
- Mappings:
Namespace Name Mixin selector official R
Labr;R:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
intermediary field_26933
Lnet/minecraft/class_3218;field_26933:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
named dragonParts
Lnet/minecraft/server/world/ServerWorld;dragonParts:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-
structureAccessor
- Mappings:
Namespace Name Mixin selector official S
Labr;S:Lbxg;
intermediary field_23787
Lnet/minecraft/class_3218;field_23787:Lnet/minecraft/class_5138;
named structureAccessor
Lnet/minecraft/server/world/ServerWorld;structureAccessor:Lnet/minecraft/world/gen/StructureAccessor;
-
shouldTickTime
private final boolean shouldTickTime- Mappings:
Namespace Name Mixin selector official T
Labr;T:Z
intermediary field_25143
Lnet/minecraft/class_3218;field_25143:Z
named shouldTickTime
Lnet/minecraft/server/world/ServerWorld;shouldTickTime:Z
-
-
Constructor Details
-
ServerWorld
public ServerWorld(MinecraftServer server, Executor workerExecutor, LevelStorage.Session session, ServerWorldProperties properties, RegistryKey<World> worldKey, DimensionType dimensionType, WorldGenerationProgressListener worldGenerationProgressListener, ChunkGenerator chunkGenerator, boolean debugWorld, long seed, List<Spawner> spawners, boolean shouldTickTime) - Mappings:
Namespace Name Mixin selector official <init>
Labr;<init>(Lnet/minecraft/server/MinecraftServer;Ljava/util/concurrent/Executor;Ldib$a;Ldih;Lwv;Lcnu;Laca;Lcmn;ZJLjava/util/List;Z)V
intermediary <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_2874;Lnet/minecraft/class_3949;Lnet/minecraft/class_2794;ZJLjava/util/List;Z)V
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/util/registry/RegistryKey;Lnet/minecraft/world/dimension/DimensionType;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) - Mappings:
Namespace Name Mixin selector official a
Labr;a(IIZZ)V
intermediary method_27910
Lnet/minecraft/class_3218;method_27910(IIZZ)V
named setWeather
Lnet/minecraft/server/world/ServerWorld;setWeather(IIZZ)V
-
getGeneratorStoredBiome
- Specified by:
getGeneratorStoredBiome
in interfaceWorldView
- Mappings:
Namespace Name Mixin selector official a
Lbws;a(III)Lbxo;
intermediary method_22387
Lnet/minecraft/class_4538;method_22387(III)Lnet/minecraft/class_1959;
named getGeneratorStoredBiome
Lnet/minecraft/world/WorldView;getGeneratorStoredBiome(III)Lnet/minecraft/world/biome/Biome;
-
getStructureAccessor
- Mappings:
Namespace Name Mixin selector official a
Labr;a()Lbxg;
intermediary method_27056
Lnet/minecraft/class_3218;method_27056()Lnet/minecraft/class_5138;
named getStructureAccessor
Lnet/minecraft/server/world/ServerWorld;getStructureAccessor()Lnet/minecraft/world/gen/StructureAccessor;
-
tick
- Mappings:
Namespace Name Mixin selector official a
Labr;a(Ljava/util/function/BooleanSupplier;)V
intermediary method_18765
Lnet/minecraft/class_3218;method_18765(Ljava/util/function/BooleanSupplier;)V
named tick
Lnet/minecraft/server/world/ServerWorld;tick(Ljava/util/function/BooleanSupplier;)V
-
tickTime
protected void tickTime()- Mappings:
Namespace Name Mixin selector official b
Labr;b()V
intermediary method_29203
Lnet/minecraft/class_3218;method_29203()V
named tickTime
Lnet/minecraft/server/world/ServerWorld;tickTime()V
-
setTimeOfDay
public void setTimeOfDay(long timeOfDay) - Mappings:
Namespace Name Mixin selector official a
Labr;a(J)V
intermediary method_29199
Lnet/minecraft/class_3218;method_29199(J)V
named setTimeOfDay
Lnet/minecraft/server/world/ServerWorld;setTimeOfDay(J)V
-
tickSpawners
public void tickSpawners(boolean spawnMonsters, boolean spawnAnimals) - Mappings:
Namespace Name Mixin selector official a
Labr;a(ZZ)V
intermediary method_29202
Lnet/minecraft/class_3218;method_29202(ZZ)V
named tickSpawners
Lnet/minecraft/server/world/ServerWorld;tickSpawners(ZZ)V
-
shouldCancelSpawn
- Mappings:
Namespace Name Mixin selector official i
Labr;i(Latf;)Z
intermediary method_31430
Lnet/minecraft/class_3218;method_31430(Lnet/minecraft/class_1297;)Z
named shouldCancelSpawn
Lnet/minecraft/server/world/ServerWorld;shouldCancelSpawn(Lnet/minecraft/entity/Entity;)Z
-
wakeSleepingPlayers
private void wakeSleepingPlayers()- Mappings:
Namespace Name Mixin selector official am
Labr;am()V
intermediary method_23660
Lnet/minecraft/class_3218;method_23660()V
named wakeSleepingPlayers
Lnet/minecraft/server/world/ServerWorld;wakeSleepingPlayers()V
-
tickChunk
- Mappings:
Namespace Name Mixin selector official a
Labr;a(Lcmw;I)V
intermediary method_18203
Lnet/minecraft/class_3218;method_18203(Lnet/minecraft/class_2818;I)V
named tickChunk
Lnet/minecraft/server/world/ServerWorld;tickChunk(Lnet/minecraft/world/chunk/WorldChunk;I)V
-
getLightningRodPos
- Mappings:
Namespace Name Mixin selector official E
Labr;E(Lgg;)Ljava/util/Optional;
intermediary method_31418
Lnet/minecraft/class_3218;method_31418(Lnet/minecraft/class_2338;)Ljava/util/Optional;
named getLightningRodPos
Lnet/minecraft/server/world/ServerWorld;getLightningRodPos(Lnet/minecraft/util/math/BlockPos;)Ljava/util/Optional;
-
getSurface
- Mappings:
Namespace Name Mixin selector official a
Labr;a(Lgg;)Lgg;
intermediary method_18210
Lnet/minecraft/class_3218;method_18210(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;
named getSurface
Lnet/minecraft/server/world/ServerWorld;getSurface(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;
-
isInBlockTick
public boolean isInBlockTick()- Mappings:
Namespace Name Mixin selector official c
Labr;c()Z
intermediary method_14177
Lnet/minecraft/class_3218;method_14177()Z
named isInBlockTick
Lnet/minecraft/server/world/ServerWorld;isInBlockTick()Z
-
isSleepingEnabled
public boolean isSleepingEnabled()- Mappings:
Namespace Name Mixin selector official d
Labr;d()Z
intermediary method_33144
Lnet/minecraft/class_3218;method_33144()Z
named isSleepingEnabled
Lnet/minecraft/server/world/ServerWorld;isSleepingEnabled()Z
-
handleSleeping
private void handleSleeping()- Mappings:
Namespace Name Mixin selector official an
Labr;an()V
intermediary method_33143
Lnet/minecraft/class_3218;method_33143()V
named handleSleeping
Lnet/minecraft/server/world/ServerWorld;handleSleeping()V
-
updateSleepingPlayers
public void updateSleepingPlayers()- Mappings:
Namespace Name Mixin selector official e
Labr;e()V
intermediary method_8448
Lnet/minecraft/class_3218;method_8448()V
named updateSleepingPlayers
Lnet/minecraft/server/world/ServerWorld;updateSleepingPlayers()V
-
getScoreboard
- Specified by:
getScoreboard
in classWorld
- Mappings:
Namespace Name Mixin selector official f
Labr;f()Lxl;
intermediary method_14170
Lnet/minecraft/class_3218;method_14170()Lnet/minecraft/class_2995;
named getScoreboard
Lnet/minecraft/server/world/ServerWorld;getScoreboard()Lnet/minecraft/scoreboard/ServerScoreboard;
-
resetWeather
private void resetWeather()- Mappings:
Namespace Name Mixin selector official ao
Labr;ao()V
intermediary method_14195
Lnet/minecraft/class_3218;method_14195()V
named resetWeather
Lnet/minecraft/server/world/ServerWorld;resetWeather()V
-
resetIdleTimeout
public void resetIdleTimeout()- Mappings:
Namespace Name Mixin selector official g
Labr;g()V
intermediary method_14197
Lnet/minecraft/class_3218;method_14197()V
named resetIdleTimeout
Lnet/minecraft/server/world/ServerWorld;resetIdleTimeout()V
-
tickFluid
- Mappings:
Namespace Name Mixin selector official a
Labr;a(Lbxi;)V
intermediary method_14171
Lnet/minecraft/class_3218;method_14171(Lnet/minecraft/class_1954;)V
named tickFluid
Lnet/minecraft/server/world/ServerWorld;tickFluid(Lnet/minecraft/world/ScheduledTick;)V
-
tickBlock
- Mappings:
Namespace Name Mixin selector official b
Labr;b(Lbxi;)V
intermediary method_14189
Lnet/minecraft/class_3218;method_14189(Lnet/minecraft/class_1954;)V
named tickBlock
Lnet/minecraft/server/world/ServerWorld;tickBlock(Lnet/minecraft/world/ScheduledTick;)V
-
tickEntity
- Mappings:
Namespace Name Mixin selector official a
Labr;a(Latf;)V
intermediary method_18762
Lnet/minecraft/class_3218;method_18762(Lnet/minecraft/class_1297;)V
named tickEntity
Lnet/minecraft/server/world/ServerWorld;tickEntity(Lnet/minecraft/entity/Entity;)V
-
tickPassenger
- Mappings:
Namespace Name Mixin selector official a
Labr;a(Latf;Latf;)V
intermediary method_18763
Lnet/minecraft/class_3218;method_18763(Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;)V
named tickPassenger
Lnet/minecraft/server/world/ServerWorld;tickPassenger(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;)V
-
canPlayerModifyAt
- Overrides:
canPlayerModifyAt
in classWorld
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Lbkd;Lgg;)Z
intermediary method_8505
Lnet/minecraft/class_1937;method_8505(Lnet/minecraft/class_1657;Lnet/minecraft/class_2338;)Z
named canPlayerModifyAt
Lnet/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 bool) - Mappings:
Namespace Name Mixin selector official a
Labr;a(Lahc;ZZ)V
intermediary method_14176
Lnet/minecraft/class_3218;method_14176(Lnet/minecraft/class_3536;ZZ)V
named save
Lnet/minecraft/server/world/ServerWorld;save(Lnet/minecraft/util/ProgressListener;ZZ)V
-
saveLevel
private void saveLevel()- Mappings:
Namespace Name Mixin selector official ap
Labr;ap()V
intermediary method_14188
Lnet/minecraft/class_3218;method_14188()V
named saveLevel
Lnet/minecraft/server/world/ServerWorld;saveLevel()V
-
getEntitiesByType
public <T extends Entity> List<? extends T> getEntitiesByType(TypeFilter<Entity, T> typeFilter, Predicate<? super T> predicate) Computes a list of entities of the given type. Warning: Ifnull
is passed as the entity type filter, care should be taken that the type argumentT
is set toEntity
, otherwise heap pollution in the returned list orClassCastException
can 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 a
Labr;a(Lcoj;Ljava/util/function/Predicate;)Ljava/util/List;
intermediary method_18198
Lnet/minecraft/class_3218;method_18198(Lnet/minecraft/class_5575;Ljava/util/function/Predicate;)Ljava/util/List;
named getEntitiesByType
Lnet/minecraft/server/world/ServerWorld;getEntitiesByType(Lnet/minecraft/util/TypeFilter;Ljava/util/function/Predicate;)Ljava/util/List;
-
getAliveEnderDragons
- Mappings:
Namespace Name Mixin selector official h
Labr;h()Ljava/util/List;
intermediary method_18776
Lnet/minecraft/class_3218;method_18776()Ljava/util/List;
named getAliveEnderDragons
Lnet/minecraft/server/world/ServerWorld;getAliveEnderDragons()Ljava/util/List;
-
getPlayers
- Mappings:
Namespace Name Mixin selector official a
Labr;a(Ljava/util/function/Predicate;)Ljava/util/List;
intermediary method_18766
Lnet/minecraft/class_3218;method_18766(Ljava/util/function/Predicate;)Ljava/util/List;
named getPlayers
Lnet/minecraft/server/world/ServerWorld;getPlayers(Ljava/util/function/Predicate;)Ljava/util/List;
-
getRandomAlivePlayer
- Mappings:
Namespace Name Mixin selector official i
Labr;i()Labs;
intermediary method_18779
Lnet/minecraft/class_3218;method_18779()Lnet/minecraft/class_3222;
named getRandomAlivePlayer
Lnet/minecraft/server/world/ServerWorld;getRandomAlivePlayer()Lnet/minecraft/server/network/ServerPlayerEntity;
-
spawnEntity
- Specified by:
spawnEntity
in interfaceModifiableWorld
- Mappings:
Namespace Name Mixin selector official b
Lbwx;b(Latf;)Z
intermediary method_8649
Lnet/minecraft/class_1945;method_8649(Lnet/minecraft/class_1297;)Z
named spawnEntity
Lnet/minecraft/world/ModifiableWorld;spawnEntity(Lnet/minecraft/entity/Entity;)Z
-
tryLoadEntity
- Mappings:
Namespace Name Mixin selector official c
Labr;c(Latf;)Z
intermediary method_18768
Lnet/minecraft/class_3218;method_18768(Lnet/minecraft/class_1297;)Z
named tryLoadEntity
Lnet/minecraft/server/world/ServerWorld;tryLoadEntity(Lnet/minecraft/entity/Entity;)Z
-
onDimensionChanged
- Mappings:
Namespace Name Mixin selector official d
Labr;d(Latf;)V
intermediary method_18769
Lnet/minecraft/class_3218;method_18769(Lnet/minecraft/class_1297;)V
named onDimensionChanged
Lnet/minecraft/server/world/ServerWorld;onDimensionChanged(Lnet/minecraft/entity/Entity;)V
-
onPlayerTeleport
- Mappings:
Namespace Name Mixin selector official a
Labr;a(Labs;)V
intermediary method_18207
Lnet/minecraft/class_3218;method_18207(Lnet/minecraft/class_3222;)V
named onPlayerTeleport
Lnet/minecraft/server/world/ServerWorld;onPlayerTeleport(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
onPlayerChangeDimension
- Mappings:
Namespace Name Mixin selector official b
Labr;b(Labs;)V
intermediary method_18211
Lnet/minecraft/class_3218;method_18211(Lnet/minecraft/class_3222;)V
named onPlayerChangeDimension
Lnet/minecraft/server/world/ServerWorld;onPlayerChangeDimension(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
onPlayerConnected
- Mappings:
Namespace Name Mixin selector official c
Labr;c(Labs;)V
intermediary method_18213
Lnet/minecraft/class_3218;method_18213(Lnet/minecraft/class_3222;)V
named onPlayerConnected
Lnet/minecraft/server/world/ServerWorld;onPlayerConnected(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
onPlayerRespawned
- Mappings:
Namespace Name Mixin selector official d
Labr;d(Labs;)V
intermediary method_18215
Lnet/minecraft/class_3218;method_18215(Lnet/minecraft/class_3222;)V
named onPlayerRespawned
Lnet/minecraft/server/world/ServerWorld;onPlayerRespawned(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
addPlayer
- Mappings:
Namespace Name Mixin selector official e
Labr;e(Labs;)V
intermediary method_18771
Lnet/minecraft/class_3218;method_18771(Lnet/minecraft/class_3222;)V
named addPlayer
Lnet/minecraft/server/world/ServerWorld;addPlayer(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
addEntity
- Mappings:
Namespace Name Mixin selector official j
Labr;j(Latf;)Z
intermediary method_14175
Lnet/minecraft/class_3218;method_14175(Lnet/minecraft/class_1297;)Z
named addEntity
Lnet/minecraft/server/world/ServerWorld;addEntity(Lnet/minecraft/entity/Entity;)Z
-
shouldCreateNewEntityWithPassenger
- Mappings:
Namespace Name Mixin selector official e
Labr;e(Latf;)Z
intermediary method_30736
Lnet/minecraft/class_3218;method_30736(Lnet/minecraft/class_1297;)Z
named shouldCreateNewEntityWithPassenger
Lnet/minecraft/server/world/ServerWorld;shouldCreateNewEntityWithPassenger(Lnet/minecraft/entity/Entity;)Z
-
unloadEntities
- Mappings:
Namespace Name Mixin selector official a
Labr;a(Lcmw;)V
intermediary method_18764
Lnet/minecraft/class_3218;method_18764(Lnet/minecraft/class_2818;)V
named unloadEntities
Lnet/minecraft/server/world/ServerWorld;unloadEntities(Lnet/minecraft/world/chunk/WorldChunk;)V
-
removePlayer
- Mappings:
Namespace Name Mixin selector official a
Labr;a(Labs;Latf$c;)V
intermediary method_18770
Lnet/minecraft/class_3218;method_18770(Lnet/minecraft/class_3222;Lnet/minecraft/class_1297$class_5529;)V
named removePlayer
Lnet/minecraft/server/world/ServerWorld;removePlayer(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/entity/Entity$RemovalReason;)V
-
setBlockBreakingInfo
- Specified by:
setBlockBreakingInfo
in classWorld
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(ILgg;I)V
intermediary method_8517
Lnet/minecraft/class_1937;method_8517(ILnet/minecraft/class_2338;I)V
named setBlockBreakingInfo
Lnet/minecraft/world/World;setBlockBreakingInfo(ILnet/minecraft/util/math/BlockPos;I)V
-
playSound
public void playSound(@Nullable @Nullable PlayerEntity player, double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch) - Specified by:
playSound
in classWorld
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Lbkd;DDDLafd;Laff;FF)V
intermediary method_8465
Lnet/minecraft/class_1937;method_8465(Lnet/minecraft/class_1657;DDDLnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)V
named playSound
Lnet/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 player, Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch) - Specified by:
playSoundFromEntity
in classWorld
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Lbkd;Latf;Lafd;Laff;FF)V
intermediary method_8449
Lnet/minecraft/class_1937;method_8449(Lnet/minecraft/class_1657;Lnet/minecraft/class_1297;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)V
named playSoundFromEntity
Lnet/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:
syncGlobalEvent
in classWorld
- Mappings:
Namespace Name Mixin selector official b
Lbwp;b(ILgg;I)V
intermediary method_8474
Lnet/minecraft/class_1937;method_8474(ILnet/minecraft/class_2338;I)V
named syncGlobalEvent
Lnet/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:
syncWorldEvent
in interfaceWorldAccess
- Mappings:
Namespace Name Mixin selector official a
Lbwq;a(Lbkd;ILgg;I)V
intermediary method_8444
Lnet/minecraft/class_1936;method_8444(Lnet/minecraft/class_1657;ILnet/minecraft/class_2338;I)V
named syncWorldEvent
Lnet/minecraft/world/WorldAccess;syncWorldEvent(Lnet/minecraft/entity/player/PlayerEntity;ILnet/minecraft/util/math/BlockPos;I)V
-
getLogicalHeight
public int getLogicalHeight()- Specified by:
getLogicalHeight
in interfaceWorldAccess
- Mappings:
Namespace Name Mixin selector official j
Lbwq;j()I
intermediary method_32819
Lnet/minecraft/class_1936;method_32819()I
named getLogicalHeight
Lnet/minecraft/world/WorldAccess;getLogicalHeight()I
-
emitGameEvent
- Specified by:
emitGameEvent
in interfaceWorldAccess
- Mappings:
Namespace Name Mixin selector official a
Lbwq;a(Latf;Lcov;Lgg;)V
intermediary method_32888
Lnet/minecraft/class_1936;method_32888(Lnet/minecraft/class_1297;Lnet/minecraft/class_5712;Lnet/minecraft/class_2338;)V
named emitGameEvent
Lnet/minecraft/world/WorldAccess;emitGameEvent(Lnet/minecraft/entity/Entity;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/util/math/BlockPos;)V
-
updateListeners
- Specified by:
updateListeners
in classWorld
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Lgg;Lcks;Lcks;I)V
intermediary method_8413
Lnet/minecraft/class_1937;method_8413(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;I)V
named updateListeners
Lnet/minecraft/world/World;updateListeners(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;I)V
-
sendEntityStatus
- Overrides:
sendEntityStatus
in classWorld
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Latf;B)V
intermediary method_8421
Lnet/minecraft/class_1937;method_8421(Lnet/minecraft/class_1297;B)V
named sendEntityStatus
Lnet/minecraft/world/World;sendEntityStatus(Lnet/minecraft/entity/Entity;B)V
-
getChunkManager
- Specified by:
getChunkManager
in interfaceWorldAccess
- Mappings:
Namespace Name Mixin selector official k
Labr;k()Labp;
intermediary method_14178
Lnet/minecraft/class_3218;method_14178()Lnet/minecraft/class_3215;
named getChunkManager
Lnet/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) - Overrides:
createExplosion
in classWorld
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Latf;Lasp;Lbwi;DDDFZLbwh$a;)Lbwh;
intermediary method_8454
Lnet/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 createExplosion
Lnet/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:
addSyncedBlockEvent
in classWorld
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Lgg;Lbzo;II)V
intermediary method_8427
Lnet/minecraft/class_1937;method_8427(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;II)V
named addSyncedBlockEvent
Lnet/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 aq
Labr;aq()V
intermediary method_14192
Lnet/minecraft/class_3218;method_14192()V
named processSyncedBlockEvents
Lnet/minecraft/server/world/ServerWorld;processSyncedBlockEvents()V
-
processBlockEvent
- Mappings:
Namespace Name Mixin selector official a
Labr;a(Lbvs;)Z
intermediary method_14174
Lnet/minecraft/class_3218;method_14174(Lnet/minecraft/class_1919;)Z
named processBlockEvent
Lnet/minecraft/server/world/ServerWorld;processBlockEvent(Lnet/minecraft/server/world/BlockEvent;)Z
-
getBlockTickScheduler
- Specified by:
getBlockTickScheduler
in interfaceWorldAccess
- Mappings:
Namespace Name Mixin selector official l
Labr;l()Lbxe;
intermediary method_14196
Lnet/minecraft/class_3218;method_14196()Lnet/minecraft/class_1949;
named getBlockTickScheduler
Lnet/minecraft/server/world/ServerWorld;getBlockTickScheduler()Lnet/minecraft/server/world/ServerTickScheduler;
-
getFluidTickScheduler
- Specified by:
getFluidTickScheduler
in interfaceWorldAccess
- Mappings:
Namespace Name Mixin selector official m
Labr;m()Lbxe;
intermediary method_14179
Lnet/minecraft/class_3218;method_14179()Lnet/minecraft/class_1949;
named getFluidTickScheduler
Lnet/minecraft/server/world/ServerWorld;getFluidTickScheduler()Lnet/minecraft/server/world/ServerTickScheduler;
-
getServer
- Specified by:
getServer
in interfaceWorldAccess
- Overrides:
getServer
in classWorld
- Mappings:
Namespace Name Mixin selector official n
Lbwq;n()Lnet/minecraft/server/MinecraftServer;
intermediary method_8503
Lnet/minecraft/class_1936;method_8503()Lnet/minecraft/server/MinecraftServer;
named getServer
Lnet/minecraft/world/WorldAccess;getServer()Lnet/minecraft/server/MinecraftServer;
-
getPortalForcer
- Mappings:
Namespace Name Mixin selector official o
Labr;o()Ldhh;
intermediary method_14173
Lnet/minecraft/class_3218;method_14173()Lnet/minecraft/class_1946;
named getPortalForcer
Lnet/minecraft/server/world/ServerWorld;getPortalForcer()Lnet/minecraft/world/PortalForcer;
-
getStructureManager
- Mappings:
Namespace Name Mixin selector official p
Labr;p()Ldcp;
intermediary method_14183
Lnet/minecraft/class_3218;method_14183()Lnet/minecraft/class_3485;
named getStructureManager
Lnet/minecraft/server/world/ServerWorld;getStructureManager()Lnet/minecraft/structure/StructureManager;
-
sendVibrationPacket
- Mappings:
Namespace Name Mixin selector official a
Labr;a(Lcpd;)V
intermediary method_32817
Lnet/minecraft/class_3218;method_32817(Lnet/minecraft/class_5720;)V
named sendVibrationPacket
Lnet/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) - Mappings:
Namespace Name Mixin selector official a
Labr;a(Lht;DDDIDDDD)I
intermediary method_14199
Lnet/minecraft/class_3218;method_14199(Lnet/minecraft/class_2394;DDDIDDDD)I
named spawnParticles
Lnet/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) - Mappings:
Namespace Name Mixin selector official a
Labr;a(Labs;Lht;ZDDDIDDDD)Z
intermediary method_14166
Lnet/minecraft/class_3218;method_14166(Lnet/minecraft/class_3222;Lnet/minecraft/class_2394;ZDDDIDDDD)Z
named spawnParticles
Lnet/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) - Mappings:
Namespace Name Mixin selector official a
Labr;a(Labs;ZDDDLpk;)Z
intermediary method_14191
Lnet/minecraft/class_3218;method_14191(Lnet/minecraft/class_3222;ZDDDLnet/minecraft/class_2596;)Z
named sendToPlayerIfNearby
Lnet/minecraft/server/world/ServerWorld;sendToPlayerIfNearby(Lnet/minecraft/server/network/ServerPlayerEntity;ZDDDLnet/minecraft/network/Packet;)Z
-
getEntityById
- Specified by:
getEntityById
in classWorld
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(I)Latf;
intermediary method_8469
Lnet/minecraft/class_1937;method_8469(I)Lnet/minecraft/class_1297;
named getEntityById
Lnet/minecraft/world/World;getEntityById(I)Lnet/minecraft/entity/Entity;
-
getDragonPart
Deprecated.- Mappings:
Namespace Name Mixin selector official b
Labr;b(I)Latf;
intermediary method_31424
Lnet/minecraft/class_3218;method_31424(I)Lnet/minecraft/class_1297;
named getDragonPart
Lnet/minecraft/server/world/ServerWorld;getDragonPart(I)Lnet/minecraft/entity/Entity;
-
getEntity
- Mappings:
Namespace Name Mixin selector official a
Labr;a(Ljava/util/UUID;)Latf;
intermediary method_14190
Lnet/minecraft/class_3218;method_14190(Ljava/util/UUID;)Lnet/minecraft/class_1297;
named getEntity
Lnet/minecraft/server/world/ServerWorld;getEntity(Ljava/util/UUID;)Lnet/minecraft/entity/Entity;
-
locateStructure
@Nullable public @Nullable BlockPos locateStructure(StructureFeature<?> feature, BlockPos pos, int radius, boolean skipExistingChunks) - Mappings:
Namespace Name Mixin selector official a
Labr;a(Lcuc;Lgg;IZ)Lgg;
intermediary method_8487
Lnet/minecraft/class_3218;method_8487(Lnet/minecraft/class_3195;Lnet/minecraft/class_2338;IZ)Lnet/minecraft/class_2338;
named locateStructure
Lnet/minecraft/server/world/ServerWorld;locateStructure(Lnet/minecraft/world/gen/feature/StructureFeature;Lnet/minecraft/util/math/BlockPos;IZ)Lnet/minecraft/util/math/BlockPos;
-
locateBiome
- Mappings:
Namespace Name Mixin selector official a
Labr;a(Lbxo;Lgg;II)Lgg;
intermediary method_24500
Lnet/minecraft/class_3218;method_24500(Lnet/minecraft/class_1959;Lnet/minecraft/class_2338;II)Lnet/minecraft/class_2338;
named locateBiome
Lnet/minecraft/server/world/ServerWorld;locateBiome(Lnet/minecraft/world/biome/Biome;Lnet/minecraft/util/math/BlockPos;II)Lnet/minecraft/util/math/BlockPos;
-
getRecipeManager
- Specified by:
getRecipeManager
in classWorld
- Mappings:
Namespace Name Mixin selector official q
Lbwp;q()Lbti;
intermediary method_8433
Lnet/minecraft/class_1937;method_8433()Lnet/minecraft/class_1863;
named getRecipeManager
Lnet/minecraft/world/World;getRecipeManager()Lnet/minecraft/recipe/RecipeManager;
-
getTagManager
- Specified by:
getTagManager
in classWorld
- Mappings:
Namespace Name Mixin selector official r
Lbwp;r()Lagc;
intermediary method_8514
Lnet/minecraft/class_1937;method_8514()Lnet/minecraft/class_5415;
named getTagManager
Lnet/minecraft/world/World;getTagManager()Lnet/minecraft/tag/TagManager;
-
isSavingDisabled
public boolean isSavingDisabled()- Overrides:
isSavingDisabled
in classWorld
- Mappings:
Namespace Name Mixin selector official s
Lbwp;s()Z
intermediary method_8458
Lnet/minecraft/class_1937;method_8458()Z
named isSavingDisabled
Lnet/minecraft/world/World;isSavingDisabled()Z
-
getRegistryManager
- Specified by:
getRegistryManager
in interfaceRegistryWorldView
- Mappings:
Namespace Name Mixin selector official t
Lbwa;t()Lgx;
intermediary method_30349
Lnet/minecraft/class_5423;method_30349()Lnet/minecraft/class_5455;
named getRegistryManager
Lnet/minecraft/world/RegistryWorldView;getRegistryManager()Lnet/minecraft/util/registry/DynamicRegistryManager;
-
getPersistentStateManager
- Mappings:
Namespace Name Mixin selector official u
Labr;u()Ldhx;
intermediary method_17983
Lnet/minecraft/class_3218;method_17983()Lnet/minecraft/class_26;
named getPersistentStateManager
Lnet/minecraft/server/world/ServerWorld;getPersistentStateManager()Lnet/minecraft/world/PersistentStateManager;
-
getMapState
- Specified by:
getMapState
in classWorld
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Ljava/lang/String;)Ldhs;
intermediary method_17891
Lnet/minecraft/class_1937;method_17891(Ljava/lang/String;)Lnet/minecraft/class_22;
named getMapState
Lnet/minecraft/world/World;getMapState(Ljava/lang/String;)Lnet/minecraft/item/map/MapState;
-
putMapState
- Specified by:
putMapState
in classWorld
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Ljava/lang/String;Ldhs;)V
intermediary method_17890
Lnet/minecraft/class_1937;method_17890(Ljava/lang/String;Lnet/minecraft/class_22;)V
named putMapState
Lnet/minecraft/world/World;putMapState(Ljava/lang/String;Lnet/minecraft/item/map/MapState;)V
-
getNextMapId
public int getNextMapId()- Specified by:
getNextMapId
in classWorld
- Mappings:
Namespace Name Mixin selector official v
Lbwp;v()I
intermediary method_17889
Lnet/minecraft/class_1937;method_17889()I
named getNextMapId
Lnet/minecraft/world/World;getNextMapId()I
-
setSpawnPos
- Mappings:
Namespace Name Mixin selector official a
Labr;a(Lgg;F)V
intermediary method_8554
Lnet/minecraft/class_3218;method_8554(Lnet/minecraft/class_2338;F)V
named setSpawnPos
Lnet/minecraft/server/world/ServerWorld;setSpawnPos(Lnet/minecraft/util/math/BlockPos;F)V
-
getSpawnPos
- Mappings:
Namespace Name Mixin selector official w
Labr;w()Lgg;
intermediary method_27911
Lnet/minecraft/class_3218;method_27911()Lnet/minecraft/class_2338;
named getSpawnPos
Lnet/minecraft/server/world/ServerWorld;getSpawnPos()Lnet/minecraft/util/math/BlockPos;
-
getSpawnAngle
public float getSpawnAngle()- Mappings:
Namespace Name Mixin selector official x
Labr;x()F
intermediary method_30630
Lnet/minecraft/class_3218;method_30630()F
named getSpawnAngle
Lnet/minecraft/server/world/ServerWorld;getSpawnAngle()F
-
getForcedChunks
- Mappings:
Namespace Name Mixin selector official y
Labr;y()Lit/unimi/dsi/fastutil/longs/LongSet;
intermediary method_17984
Lnet/minecraft/class_3218;method_17984()Lit/unimi/dsi/fastutil/longs/LongSet;
named getForcedChunks
Lnet/minecraft/server/world/ServerWorld;getForcedChunks()Lit/unimi/dsi/fastutil/longs/LongSet;
-
setChunkForced
public boolean setChunkForced(int x, int z, boolean forced) - Mappings:
Namespace Name Mixin selector official a
Labr;a(IIZ)Z
intermediary method_17988
Lnet/minecraft/class_3218;method_17988(IIZ)Z
named setChunkForced
Lnet/minecraft/server/world/ServerWorld;setChunkForced(IIZ)Z
-
getPlayers
- Specified by:
getPlayers
in interfaceEntityView
- Mappings:
Namespace Name Mixin selector official z
Lbwg;z()Ljava/util/List;
intermediary method_18456
Lnet/minecraft/class_1924;method_18456()Ljava/util/List;
named getPlayers
Lnet/minecraft/world/EntityView;getPlayers()Ljava/util/List;
-
onBlockChanged
- Overrides:
onBlockChanged
in classWorld
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Lgg;Lcks;Lcks;)V
intermediary method_19282
Lnet/minecraft/class_1937;method_19282(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;)V
named onBlockChanged
Lnet/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 A
Labr;A()Lbdm;
intermediary method_19494
Lnet/minecraft/class_3218;method_19494()Lnet/minecraft/class_4153;
named getPointOfInterestStorage
Lnet/minecraft/server/world/ServerWorld;getPointOfInterestStorage()Lnet/minecraft/world/poi/PointOfInterestStorage;
-
isNearOccupiedPointOfInterest
- Mappings:
Namespace Name Mixin selector official b
Labr;b(Lgg;)Z
intermediary method_19500
Lnet/minecraft/class_3218;method_19500(Lnet/minecraft/class_2338;)Z
named isNearOccupiedPointOfInterest
Lnet/minecraft/server/world/ServerWorld;isNearOccupiedPointOfInterest(Lnet/minecraft/util/math/BlockPos;)Z
-
isNearOccupiedPointOfInterest
- Mappings:
Namespace Name Mixin selector official a
Labr;a(Lgz;)Z
intermediary method_20588
Lnet/minecraft/class_3218;method_20588(Lnet/minecraft/class_4076;)Z
named isNearOccupiedPointOfInterest
Lnet/minecraft/server/world/ServerWorld;isNearOccupiedPointOfInterest(Lnet/minecraft/util/math/ChunkSectionPos;)Z
-
isNearOccupiedPointOfInterest
- Mappings:
Namespace Name Mixin selector official a
Labr;a(Lgg;I)Z
intermediary method_19497
Lnet/minecraft/class_3218;method_19497(Lnet/minecraft/class_2338;I)Z
named isNearOccupiedPointOfInterest
Lnet/minecraft/server/world/ServerWorld;isNearOccupiedPointOfInterest(Lnet/minecraft/util/math/BlockPos;I)Z
-
getOccupiedPointOfInterestDistance
- Mappings:
Namespace Name Mixin selector official b
Labr;b(Lgz;)I
intermediary method_19498
Lnet/minecraft/class_3218;method_19498(Lnet/minecraft/class_4076;)I
named getOccupiedPointOfInterestDistance
Lnet/minecraft/server/world/ServerWorld;getOccupiedPointOfInterestDistance(Lnet/minecraft/util/math/ChunkSectionPos;)I
-
getRaidManager
- Mappings:
Namespace Name Mixin selector official B
Labr;B()Lblk;
intermediary method_19495
Lnet/minecraft/class_3218;method_19495()Lnet/minecraft/class_3767;
named getRaidManager
Lnet/minecraft/server/world/ServerWorld;getRaidManager()Lnet/minecraft/village/raid/RaidManager;
-
getRaidAt
- Mappings:
Namespace Name Mixin selector official c
Labr;c(Lgg;)Lbli;
intermediary method_19502
Lnet/minecraft/class_3218;method_19502(Lnet/minecraft/class_2338;)Lnet/minecraft/class_3765;
named getRaidAt
Lnet/minecraft/server/world/ServerWorld;getRaidAt(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/village/raid/Raid;
-
hasRaidAt
- Mappings:
Namespace Name Mixin selector official d
Labr;d(Lgg;)Z
intermediary method_19503
Lnet/minecraft/class_3218;method_19503(Lnet/minecraft/class_2338;)Z
named hasRaidAt
Lnet/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 a
Labr;a(Lbdj;Latf;Lauh;)V
intermediary method_19496
Lnet/minecraft/class_3218;method_19496(Lnet/minecraft/class_4151;Lnet/minecraft/class_1297;Lnet/minecraft/class_4094;)V
named handleInteraction
Lnet/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 a
Labr;a(Ljava/nio/file/Path;)V
intermediary method_21625
Lnet/minecraft/class_3218;method_21625(Ljava/nio/file/Path;)V
named dump
Lnet/minecraft/server/world/ServerWorld;dump(Ljava/nio/file/Path;)V
-
dumpEntities
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Labr;a(Ljava/io/Writer;Ljava/lang/Iterable;)V
intermediary method_21624
Lnet/minecraft/class_3218;method_21624(Ljava/io/Writer;Ljava/lang/Iterable;)V
named dumpEntities
Lnet/minecraft/server/world/ServerWorld;dumpEntities(Ljava/io/Writer;Ljava/lang/Iterable;)V
-
dumpBlockEntities
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Labr;a(Ljava/io/Writer;)V
intermediary method_21626
Lnet/minecraft/class_3218;method_21626(Ljava/io/Writer;)V
named dumpBlockEntities
Lnet/minecraft/server/world/ServerWorld;dumpBlockEntities(Ljava/io/Writer;)V
-
clearUpdatesInArea
- Mappings:
Namespace Name Mixin selector official a
Labr;a(Ldaq;)V
intermediary method_23658
Lnet/minecraft/class_3218;method_23658(Lnet/minecraft/class_3341;)V
named clearUpdatesInArea
Lnet/minecraft/server/world/ServerWorld;clearUpdatesInArea(Lnet/minecraft/util/math/BlockBox;)V
-
updateNeighbors
- Specified by:
updateNeighbors
in interfaceWorldAccess
- Mappings:
Namespace Name Mixin selector official a
Lbwq;a(Lgg;Lbzo;)V
intermediary method_8408
Lnet/minecraft/class_1936;method_8408(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;)V
named updateNeighbors
Lnet/minecraft/world/WorldAccess;updateNeighbors(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)V
-
getBrightness
- Specified by:
getBrightness
in interfaceBlockRenderView
- Mappings:
Namespace Name Mixin selector official a
Lbvr;a(Lgl;Z)F
intermediary method_24852
Lnet/minecraft/class_1920;method_24852(Lnet/minecraft/class_2350;Z)F
named getBrightness
Lnet/minecraft/world/BlockRenderView;getBrightness(Lnet/minecraft/util/math/Direction;Z)F
-
iterateEntities
- Mappings:
Namespace Name Mixin selector official C
Labr;C()Ljava/lang/Iterable;
intermediary method_27909
Lnet/minecraft/class_3218;method_27909()Ljava/lang/Iterable;
named iterateEntities
Lnet/minecraft/server/world/ServerWorld;iterateEntities()Ljava/lang/Iterable;
-
toString
-
isFlat
public boolean isFlat()- Mappings:
Namespace Name Mixin selector official D
Labr;D()Z
intermediary method_28125
Lnet/minecraft/class_3218;method_28125()Z
named isFlat
Lnet/minecraft/server/world/ServerWorld;isFlat()Z
-
getSeed
public long getSeed()- Specified by:
getSeed
in interfaceStructureWorldAccess
- Mappings:
Namespace Name Mixin selector official E
Lbxk;E()J
intermediary method_8412
Lnet/minecraft/class_5281;method_8412()J
named getSeed
Lnet/minecraft/world/StructureWorldAccess;getSeed()J
-
getEnderDragonFight
- Mappings:
Namespace Name Mixin selector official F
Labr;F()Lcnx;
intermediary method_29198
Lnet/minecraft/class_3218;method_29198()Lnet/minecraft/class_2881;
named getEnderDragonFight
Lnet/minecraft/server/world/ServerWorld;getEnderDragonFight()Lnet/minecraft/entity/boss/dragon/EnderDragonFight;
-
getStructures
public Stream<? extends StructureStart<?>> getStructures(ChunkSectionPos pos, StructureFeature<?> feature) - Specified by:
getStructures
in interfaceStructureWorldAccess
- Mappings:
Namespace Name Mixin selector official a
Lbxk;a(Lgz;Lcuc;)Ljava/util/stream/Stream;
intermediary method_30275
Lnet/minecraft/class_5281;method_30275(Lnet/minecraft/class_4076;Lnet/minecraft/class_3195;)Ljava/util/stream/Stream;
named getStructures
Lnet/minecraft/world/StructureWorldAccess;getStructures(Lnet/minecraft/util/math/ChunkSectionPos;Lnet/minecraft/world/gen/feature/StructureFeature;)Ljava/util/stream/Stream;
-
toServerWorld
- Specified by:
toServerWorld
in interfaceServerWorldAccess
- Mappings:
Namespace Name Mixin selector official G
Lbxd;G()Labr;
intermediary method_8410
Lnet/minecraft/class_5425;method_8410()Lnet/minecraft/class_3218;
named toServerWorld
Lnet/minecraft/world/ServerWorldAccess;toServerWorld()Lnet/minecraft/server/world/ServerWorld;
-
getDebugString
- Mappings:
Namespace Name Mixin selector official H
Labr;H()Ljava/lang/String;
intermediary method_31268
Lnet/minecraft/class_3218;method_31268()Ljava/lang/String;
named getDebugString
Lnet/minecraft/server/world/ServerWorld;getDebugString()Ljava/lang/String;
-
getTopFive
Categoriesitems
with theclassifier
and 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 a
Labr;a(Ljava/lang/Iterable;Ljava/util/function/Function;)Ljava/lang/String;
intermediary method_31270
Lnet/minecraft/class_3218;method_31270(Ljava/lang/Iterable;Ljava/util/function/Function;)Ljava/lang/String;
named getTopFive
Lnet/minecraft/server/world/ServerWorld;getTopFive(Ljava/lang/Iterable;Ljava/util/function/Function;)Ljava/lang/String;
-
createEndSpawnPlatform
- Mappings:
Namespace Name Mixin selector official a
Labr;a(Labr;)V
intermediary method_29200
Lnet/minecraft/class_3218;method_29200(Lnet/minecraft/class_3218;)V
named createEndSpawnPlatform
Lnet/minecraft/server/world/ServerWorld;createEndSpawnPlatform(Lnet/minecraft/server/world/ServerWorld;)V
-
getEntityLookup
- Specified by:
getEntityLookup
in classWorld
- Mappings:
Namespace Name Mixin selector official I
Lbwp;I()Lcol;
intermediary method_31592
Lnet/minecraft/class_1937;method_31592()Lnet/minecraft/class_5577;
named getEntityLookup
Lnet/minecraft/world/World;getEntityLookup()Lnet/minecraft/world/entity/EntityLookup;
-
loadEntities
- Mappings:
Namespace Name Mixin selector official a
Labr;a(Ljava/util/stream/Stream;)V
intermediary method_31423
Lnet/minecraft/class_3218;method_31423(Ljava/util/stream/Stream;)V
named loadEntities
Lnet/minecraft/server/world/ServerWorld;loadEntities(Ljava/util/stream/Stream;)V
-
addEntities
- Mappings:
Namespace Name Mixin selector official b
Labr;b(Ljava/util/stream/Stream;)V
intermediary method_31426
Lnet/minecraft/class_3218;method_31426(Ljava/util/stream/Stream;)V
named addEntities
Lnet/minecraft/server/world/ServerWorld;addEntities(Ljava/util/stream/Stream;)V
-
close
- Specified by:
close
in interfaceAutoCloseable
- Overrides:
close
in classWorld
- Throws:
IOException
-
asString
-
method_37116
public boolean method_37116(long long2) - Mappings:
Namespace Name Mixin selector official b
Labr;b(J)Z
intermediary method_37116
Lnet/minecraft/class_3218;method_37116(J)Z
named method_37116
Lnet/minecraft/server/world/ServerWorld;method_37116(J)Z
-
method_37117
- Mappings:
Namespace Name Mixin selector official e
Labr;e(Lgg;)Z
intermediary method_37117
Lnet/minecraft/class_3218;method_37117(Lnet/minecraft/class_2338;)Z
named method_37117
Lnet/minecraft/server/world/ServerWorld;method_37117(Lnet/minecraft/util/math/BlockPos;)Z
-
method_37118
- Mappings:
Namespace Name Mixin selector official f
Labr;f(Lgg;)Z
intermediary method_37118
Lnet/minecraft/class_3218;method_37118(Lnet/minecraft/class_2338;)Z
named method_37118
Lnet/minecraft/server/world/ServerWorld;method_37118(Lnet/minecraft/util/math/BlockPos;)Z
-
method_37115
- Mappings:
Namespace Name Mixin selector official a
Labr;a(Lbvu;)Z
intermediary method_37115
Lnet/minecraft/class_3218;method_37115(Lnet/minecraft/class_1923;)Z
named method_37115
Lnet/minecraft/server/world/ServerWorld;method_37115(Lnet/minecraft/util/math/ChunkPos;)Z
-