Package net.minecraft.world
Class ServerWorld
java.lang.Object
net.minecraft.world.World
net.minecraft.world.ServerWorld
- All Implemented Interfaces:
BlockView
- Direct Known Subclasses:
ReadOnlyServerWorld
- Mappings:
Namespace Name intermediary net/minecraft/class_73glue class_137server dpclient net/minecraft/class_73named net/minecraft/world/ServerWorld
-
Field Summary
FieldsFields inherited from class net.minecraft.world.World
ambientDarkness, blockEntities, chunkSource, difficulty, dimension, entities, eventListeners, eventProcessingEnabled, globalEntities, instantBlockUpdateEnabled, isRemote, lcgBlockSeed, lcgBlockSeedIncrement, lightingQueueCount, lightningTicksLeft, newWorld, pauseTicking, persistentStateManager, players, properties, rainGradient, rainGradientPrev, random, saveInterval, storage, thunderGradient, thunderGradientPrev, ticksSinceLightning -
Constructor Summary
ConstructorsConstructorDescriptionServerWorld(MinecraftServer server, WorldStorage storage, String name, int dimensionId, long seed) -
Method Summary
Modifier and TypeMethodDescriptionvoidbroadcastEntityEvent(Entity entity, byte event) booleancanInteract(PlayerEntity player, int x, int y, int z) protected ChunkSourcecreateExplosion(Entity source, double x, double y, double z, float power, boolean fire) voidgetBlockEntities(int minX, int minY, int minZ, int maxX, int maxY, int maxZ) getEntity(int id) protected voidnotifyEntityAdded(Entity entity) protected voidnotifyEntityRemoved(Entity entity) voidplayNoteBlockActionAt(int x, int y, int z, int soundType, int pitch) booleanspawnGlobalEntity(Entity entity) voidtickVehicle(Entity vehicle, boolean requireLoaded) voidupdateEntity(Entity entity, boolean requireLoaded) protected voidMethods inherited from class net.minecraft.world.World
addEntities, addEventListener, addParticle, addPlayer, afterSkipNight, allowSpawning, attemptSaving, blockUpdate, blockUpdateEvent, calculateSkyLightIntensity, canMonsterSpawn, canPlace, canSkipNight, canSpawnEntity, canTransferPower, canTransferPowerInDirection, checkSessionLock, collectEntitiesByClass, countEntities, createExplosion, disconnect, displayTick, doLightingUpdates, extinguishFire, findPath, findPath, getAmbientDarkness, getBlockEntity, getBlockId, getBlockMeta, getBrightness, getBrightness, getChunk, getChunkData, getChunkFromPos, getChunkSource, getClosestPlayer, getClosestPlayer, getCloudColor, getDebugInfo, getEntities, getEntities, getEntityCollisions, getEntityCount, getFogColor, getIdCount, getLightLevel, getLightLevel, getMaterial, getNaturalBrightness, getOrCreateState, getPlayer, getPlayerForProxy, getProperties, getRainGradient, getSeed, getSkyColor, getSpawnBlockId, getSpawnPos, getSpawnPositionValidityY, getThunderGradient, getTime, getTime, getTopSolidBlockY, getTopY, getVisibilityRatio, getWorldStorage, handleChunkDataUpdate, hasSkyLight, initializeSpawnPoint, isAir, isAnyBlockInBox, isBoxSubmergedInFluid, isEmittingRedstonePower, isEmittingRedstonePowerInDirection, isFireOrLavaInBox, isFluidInBox, isMaterialInBox, isPosLoaded, isRaining, isRaining, isRegionLoaded, isRegionLoaded, isThundering, isTopY, loadChunksNearEntity, manageChunkUpdatesAndEvents, method_1781, method_1782, method_1783, notifyNeighbors, playSound, playSound, playStreaming, processBlockUpdates, processScheduledTicks, queueLightUpdate, queueLightUpdate, raycast, raycast, raycast, remove, removeBlockEntity, removeEventListener, saveWithLoadingDisplay, saveWorldData, savingProgress, scheduleBlockUpdate, serverRemove, setBlock, setBlock, setBlockDirty, setBlockEntity, setBlockMeta, setBlockMetaWithoutNotifyingNeighbors, setBlocksDirty, setBlocksDirty, setBlockWithoutNotifyingNeighbors, setBlockWithoutNotifyingNeighbors, setLight, setRainGradient, setSpawnPos, setState, setTime, shouldSuffocate, spawnEntity, synchronizeTimeAndUpdates, tick, tickChunks, tickEntities, unloadEntities, updateBlockEntity, updateEntity, updateEntityLists, updateLight, updateMovementInFluid, updateSkyBrightness, updateSleepingPlayers, updateSpawnPosition, worldEvent, worldEvent
-
Field Details
-
chunkCache
- Mappings:
Namespace Name Mixin selector intermediary field_273Lnet/minecraft/class_73;field_273:Lnet/minecraft/class_79;glue field_506Lclass_137;field_506:Lclass_273;server CLdp;C:Lhe;client field_273Lnet/minecraft/class_73;field_273:Lnet/minecraft/class_79;named chunkCacheLnet/minecraft/world/ServerWorld;chunkCache:Lnet/minecraft/server/world/chunk/ServerChunkCache;
-
bypassSpawnProtection
public boolean bypassSpawnProtection- Mappings:
Namespace Name Mixin selector intermediary field_274Lnet/minecraft/class_73;field_274:Zglue field_507Lclass_137;field_507:Zserver DLdp;D:Zclient field_274Lnet/minecraft/class_73;field_274:Znamed bypassSpawnProtectionLnet/minecraft/world/ServerWorld;bypassSpawnProtection:Z
-
savingDisabled
public boolean savingDisabled- Mappings:
Namespace Name Mixin selector intermediary field_275Lnet/minecraft/class_73;field_275:Zglue field_508Lclass_137;field_508:Zserver ELdp;E:Zclient field_275Lnet/minecraft/class_73;field_275:Znamed savingDisabledLnet/minecraft/world/ServerWorld;savingDisabled:Z
-
server
- Mappings:
Namespace Name Mixin selector intermediary field_276Lnet/minecraft/class_73;field_276:Lnet/minecraft/server/MinecraftServer;glue field_509Lclass_137;field_509:Lnet/minecraft/server/MinecraftServer;server FLdp;F:Lnet/minecraft/server/MinecraftServer;client field_276Lnet/minecraft/class_73;field_276:Lnet/minecraft/server/MinecraftServer;named serverLnet/minecraft/world/ServerWorld;server:Lnet/minecraft/server/MinecraftServer;
-
entitiesById
- Mappings:
Namespace Name Mixin selector intermediary field_277Lnet/minecraft/class_73;field_277:Lnet/minecraft/class_80;glue field_510Lclass_137;field_510:Lclass_250;server GLdp;G:Lgo;client field_277Lnet/minecraft/class_73;field_277:Ljx;named entitiesByIdLnet/minecraft/world/ServerWorld;entitiesById:Lnet/minecraft/util/IntHashMap;
-
-
Constructor Details
-
ServerWorld
public ServerWorld(MinecraftServer server, WorldStorage storage, String name, int dimensionId, long seed) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_73;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_52;Ljava/lang/String;IJ)Vglue <init>Lclass_137;<init>(Lnet/minecraft/server/MinecraftServer;Lclass_561;Ljava/lang/String;IJ)Vserver <init>Ldp;<init>(Lnet/minecraft/server/MinecraftServer;Lom;Ljava/lang/String;IJ)Vclient <init>Lnet/minecraft/class_73;<init>(Lnet/minecraft/server/MinecraftServer;Lwt;Ljava/lang/String;IJ)Vnamed <init>Lnet/minecraft/world/ServerWorld;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/world/storage/WorldStorage;Ljava/lang/String;IJ)V
-
-
Method Details
-
updateEntity
- Overrides:
updateEntityin classWorld- Mappings:
Namespace Name Mixin selector intermediary method_193Lnet/minecraft/class_18;method_193(Lnet/minecraft/class_57;Z)Vglue method_510Lclass_129;method_510(Lclass_450;Z)Vserver aLdj;a(Llq;Z)Vclient aLfd;a(Lsn;Z)Vnamed updateEntityLnet/minecraft/world/World;updateEntity(Lnet/minecraft/entity/Entity;Z)V
-
tickVehicle
- Mappings:
Namespace Name Mixin selector intermediary method_329Lnet/minecraft/class_73;method_329(Lnet/minecraft/class_57;Z)Vglue method_649Lclass_137;method_649(Lclass_450;Z)Vserver bLdp;b(Llq;Z)Vclient method_329Lnet/minecraft/class_73;method_329(Lsn;Z)Vnamed tickVehicleLnet/minecraft/world/ServerWorld;tickVehicle(Lnet/minecraft/entity/Entity;Z)V
-
createChunkCache
- Overrides:
createChunkCachein classWorld- Mappings:
Namespace Name Mixin selector intermediary method_197Lnet/minecraft/class_18;method_197()Lnet/minecraft/class_51;glue method_514Lclass_129;method_514()Lclass_60;server bLdj;b()Lbl;client bLfd;b()Lcl;named createChunkCacheLnet/minecraft/world/World;createChunkCache()Lnet/minecraft/world/chunk/ChunkSource;
-
getBlockEntities
- Mappings:
Namespace Name Mixin selector intermediary method_330Lnet/minecraft/class_73;method_330(IIIIII)Ljava/util/List;glue method_650Lclass_137;method_650(IIIIII)Ljava/util/List;server dLdp;d(IIIIII)Ljava/util/List;client method_330Lnet/minecraft/class_73;method_330(IIIIII)Ljava/util/List;named getBlockEntitiesLnet/minecraft/world/ServerWorld;getBlockEntities(IIIIII)Ljava/util/List;
-
canInteract
- Overrides:
canInteractin classWorld- Mappings:
Namespace Name Mixin selector intermediary method_171Lnet/minecraft/class_18;method_171(Lnet/minecraft/class_54;III)Zglue method_488Lclass_129;method_488(Lclass_172;III)Zserver aLdj;a(Lem;III)Zclient aLfd;a(Lgs;III)Znamed canInteractLnet/minecraft/world/World;canInteract(Lnet/minecraft/entity/player/PlayerEntity;III)Z
-
notifyEntityAdded
- Overrides:
notifyEntityAddedin classWorld- Mappings:
Namespace Name Mixin selector intermediary method_219Lnet/minecraft/class_18;method_219(Lnet/minecraft/class_57;)Vglue method_536Lclass_129;method_536(Lclass_450;)Vserver cLdj;c(Llq;)Vclient cLfd;c(Lsn;)Vnamed notifyEntityAddedLnet/minecraft/world/World;notifyEntityAdded(Lnet/minecraft/entity/Entity;)V
-
notifyEntityRemoved
- Overrides:
notifyEntityRemovedin classWorld- Mappings:
Namespace Name Mixin selector intermediary method_226Lnet/minecraft/class_18;method_226(Lnet/minecraft/class_57;)Vglue method_543Lclass_129;method_543(Lclass_450;)Vserver dLdj;d(Llq;)Vclient dLfd;d(Lsn;)Vnamed notifyEntityRemovedLnet/minecraft/world/World;notifyEntityRemoved(Lnet/minecraft/entity/Entity;)V
-
getEntity
- Mappings:
Namespace Name Mixin selector intermediary method_328Lnet/minecraft/class_73;method_328(I)Lnet/minecraft/class_57;glue method_648Lclass_137;method_648(I)Lclass_450;server aLdp;a(I)Llq;client method_328Lnet/minecraft/class_73;method_328(I)Lsn;named getEntityLnet/minecraft/world/ServerWorld;getEntity(I)Lnet/minecraft/entity/Entity;
-
spawnGlobalEntity
- Overrides:
spawnGlobalEntityin classWorld- Mappings:
Namespace Name Mixin selector intermediary method_184Lnet/minecraft/class_18;method_184(Lnet/minecraft/class_57;)Zglue method_501Lclass_129;method_501(Lclass_450;)Zserver aLdj;a(Llq;)Zclient aLfd;a(Lsn;)Znamed spawnGlobalEntityLnet/minecraft/world/World;spawnGlobalEntity(Lnet/minecraft/entity/Entity;)Z
-
broadcastEntityEvent
- Overrides:
broadcastEntityEventin classWorld- Mappings:
Namespace Name Mixin selector intermediary method_185Lnet/minecraft/class_18;method_185(Lnet/minecraft/class_57;B)Vglue method_502Lclass_129;method_502(Lclass_450;B)Vserver aLdj;a(Llq;B)Vclient aLfd;a(Lsn;B)Vnamed broadcastEntityEventLnet/minecraft/world/World;broadcastEntityEvent(Lnet/minecraft/entity/Entity;B)V
-
createExplosion
public Explosion createExplosion(Entity source, double x, double y, double z, float power, boolean fire) - Overrides:
createExplosionin classWorld- Mappings:
Namespace Name Mixin selector intermediary method_188Lnet/minecraft/class_18;method_188(Lnet/minecraft/class_57;DDDFZ)Lnet/minecraft/class_60;glue method_505Lclass_129;method_505(Lclass_450;DDDFZ)Lclass_394;server aLdj;a(Llq;DDDFZ)Lkh;client aLfd;a(Lsn;DDDFZ)Lqx;named createExplosionLnet/minecraft/world/World;createExplosion(Lnet/minecraft/entity/Entity;DDDFZ)Lnet/minecraft/world/explosion/Explosion;
-
playNoteBlockActionAt
public void playNoteBlockActionAt(int x, int y, int z, int soundType, int pitch) - Overrides:
playNoteBlockActionAtin classWorld- Mappings:
Namespace Name Mixin selector intermediary method_224Lnet/minecraft/class_18;method_224(IIIII)Vglue method_541Lclass_129;method_541(IIIII)Vserver dLdj;d(IIIII)Vclient dLfd;d(IIIII)Vnamed playNoteBlockActionAtLnet/minecraft/world/World;playNoteBlockActionAt(IIIII)V
-
forceSave
public void forceSave()- Mappings:
Namespace Name Mixin selector intermediary method_331Lnet/minecraft/class_73;method_331()Vglue method_651Lclass_137;method_651()Vserver wLdp;w()Vclient method_331Lnet/minecraft/class_73;method_331()Vnamed forceSaveLnet/minecraft/world/ServerWorld;forceSave()V
-
updateWeatherCycles
protected void updateWeatherCycles()- Overrides:
updateWeatherCyclesin classWorld- Mappings:
Namespace Name Mixin selector intermediary method_245Lnet/minecraft/class_18;method_245()Vglue method_562Lclass_129;method_562()Vserver iLdj;i()Vclient mLfd;m()Vnamed updateWeatherCyclesLnet/minecraft/world/World;updateWeatherCycles()V
-