Package net.minecraft.world
Interface WorldAccess
- All Superinterfaces:
- BiomeAccess.Storage,- BlockRenderView,- BlockView,- CollisionView,- EntityView,- HeightLimitView,- LunarWorldView,- ModifiableTestableWorld,- ModifiableWorld,- RedstoneView,- RegistryWorldView,- TestableWorld,- WorldView
- All Known Subinterfaces:
- ServerWorldAccess,- StructureWorldAccess
- All Known Implementing Classes:
- ChunkRegion,- ClientWorld,- ServerWorld,- World
- Mappings:
- Namespace - Name - official - cmn- intermediary - net/minecraft/class_1936- named - net/minecraft/world/WorldAccess
- 
Field SummaryFields inherited from interface net.minecraft.world.RedstoneViewDIRECTIONS
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddParticle(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ) private <T> OrderedTick<T>createOrderedTick(BlockPos pos, T type, int delay) private <T> OrderedTick<T>createOrderedTick(BlockPos pos, T type, int delay, TickPriority priority) default voidemitGameEvent(@Nullable Entity entity, GameEvent event, BlockPos pos) default voidemitGameEvent(@Nullable Entity entity, GameEvent event, Vec3d pos) default voidemitGameEvent(GameEvent event, BlockPos pos, GameEvent.Emitter emitter) voidemitGameEvent(GameEvent event, Vec3d emitterPos, GameEvent.Emitter emitter) Emits a game event.default Difficultydefault longlongdefault booleanisChunkLoaded(int chunkX, int chunkZ) default voidplaySound(@Nullable PlayerEntity except, BlockPos pos, SoundEvent sound, SoundCategory category) voidplaySound(@Nullable PlayerEntity except, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch) default voidreplaceWithStateForNeighborUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth) default voidscheduleBlockTick(BlockPos pos, Block block, int delay) default voidscheduleBlockTick(BlockPos pos, Block block, int delay, TickPriority priority) default voidscheduleFluidTick(BlockPos pos, Fluid fluid, int delay) default voidscheduleFluidTick(BlockPos pos, Fluid fluid, int delay, TickPriority priority) default voidsyncWorldEvent(int eventId, BlockPos pos, int data) voidsyncWorldEvent(@Nullable PlayerEntity player, int eventId, BlockPos pos, int data) default voidupdateNeighbors(BlockPos pos, Block block) Methods inherited from interface net.minecraft.world.BlockRenderViewgetBaseLightLevel, getBrightness, getLightingProvider, getLightLevel, isSkyVisibleMethods inherited from interface net.minecraft.world.BlockViewgetBlockEntity, getBlockState, getDismountHeight, getDismountHeight, getFluidState, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlockMethods inherited from interface net.minecraft.world.CollisionViewcanCollide, canPlace, doesNotIntersectEntities, doesNotIntersectEntities, findClosestCollision, findSupportingBlockPos, getBlockCollisions, getCollisions, getEntityCollisions, getWorldBorder, isSpaceEmpty, isSpaceEmpty, isSpaceEmptyMethods inherited from interface net.minecraft.world.EntityViewgetClosestEntity, getClosestEntity, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getEntitiesByClass, getEntitiesByType, getNonSpectatingEntities, getOtherEntities, getOtherEntities, getPlayerByUuid, getPlayers, getPlayers, getTargets, isPlayerInRangeMethods inherited from interface net.minecraft.world.HeightLimitViewcountVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoordMethods inherited from interface net.minecraft.world.LunarWorldViewgetMoonPhase, getMoonSize, getSkyAngleMethods inherited from interface net.minecraft.world.ModifiableWorldbreakBlock, breakBlock, breakBlock, removeBlock, setBlockState, setBlockState, spawnEntityMethods inherited from interface net.minecraft.world.RedstoneViewgetEmittedRedstonePower, getEmittedRedstonePower, getReceivedRedstonePower, getReceivedStrongRedstonePower, getStrongRedstonePower, isEmittingRedstonePower, isReceivingRedstonePowerMethods inherited from interface net.minecraft.world.RegistryWorldViewdoesNotIntersectEntities, getBlockEntity, getEntityCollisions, getTopPositionMethods inherited from interface net.minecraft.world.TestableWorldtestBlockState, testFluidStateMethods inherited from interface net.minecraft.world.WorldViewcontainsFluid, createCommandRegistryWrapper, getAmbientDarkness, getBiome, getBiomeAccess, getBiomeForNoiseGen, getBottomY, getBrightness, getChunk, getChunk, getChunk, getChunk, getChunkAsView, getColor, getDimension, getEnabledFeatures, getGeneratorStoredBiome, getHeight, getLightLevel, getLightLevel, getPhototaxisFavor, getRegistryManager, getSeaLevel, getStatesInBoxIfLoaded, getTopY, isAir, isChunkLoaded, isClient, isPosLoaded, isRegionLoaded, isRegionLoaded, isRegionLoaded, isSkyVisibleAllowingSea, isWater
- 
Method Details- 
getLunarTimedefault long getLunarTime()- Specified by:
- getLunarTimein interface- LunarWorldView
- Mappings:
- Namespace - Name - Mixin selector - official - ah- Lcmt;ah()J- intermediary - method_30271- Lnet/minecraft/class_5424;method_30271()J- named - getLunarTime- Lnet/minecraft/world/LunarWorldView;getLunarTime()J
 
- 
getTickOrderlong getTickOrder()- Mappings:
- Namespace - Name - Mixin selector - official - A_- Lcmn;A_()J- intermediary - method_39224- Lnet/minecraft/class_1936;method_39224()J- named - getTickOrder- Lnet/minecraft/world/WorldAccess;getTickOrder()J
 
- 
getBlockTickSchedulerQueryableTickScheduler<Block> getBlockTickScheduler()- Mappings:
- Namespace - Name - Mixin selector - official - L- Lcmn;L()Lefp;- intermediary - method_8397- Lnet/minecraft/class_1936;method_8397()Lnet/minecraft/class_6756;- named - getBlockTickScheduler- Lnet/minecraft/world/WorldAccess;getBlockTickScheduler()Lnet/minecraft/world/tick/QueryableTickScheduler;
 
- 
createOrderedTickprivate <T> OrderedTick<T> createOrderedTick(BlockPos pos, T type, int delay, TickPriority priority) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lcmn;a(Lgu;Ljava/lang/Object;ILefx;)Left;- intermediary - method_39284- Lnet/minecraft/class_1936;method_39284(Lnet/minecraft/class_2338;Ljava/lang/Object;ILnet/minecraft/class_1953;)Lnet/minecraft/class_6760;- named - createOrderedTick- Lnet/minecraft/world/WorldAccess;createOrderedTick(Lnet/minecraft/util/math/BlockPos;Ljava/lang/Object;ILnet/minecraft/world/tick/TickPriority;)Lnet/minecraft/world/tick/OrderedTick;
 
- 
createOrderedTick- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcmn;a(Lgu;Ljava/lang/Object;I)Left;- intermediary - method_39283- Lnet/minecraft/class_1936;method_39283(Lnet/minecraft/class_2338;Ljava/lang/Object;I)Lnet/minecraft/class_6760;- named - createOrderedTick- Lnet/minecraft/world/WorldAccess;createOrderedTick(Lnet/minecraft/util/math/BlockPos;Ljava/lang/Object;I)Lnet/minecraft/world/tick/OrderedTick;
 
- 
scheduleBlockTick- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcmn;a(Lgu;Lcpn;ILefx;)V- intermediary - method_39280- Lnet/minecraft/class_1936;method_39280(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;ILnet/minecraft/class_1953;)V- named - scheduleBlockTick- Lnet/minecraft/world/WorldAccess;scheduleBlockTick(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;ILnet/minecraft/world/tick/TickPriority;)V
 
- 
scheduleBlockTick- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcmn;a(Lgu;Lcpn;I)V- intermediary - method_39279- Lnet/minecraft/class_1936;method_39279(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;I)V- named - scheduleBlockTick- Lnet/minecraft/world/WorldAccess;scheduleBlockTick(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;I)V
 
- 
getFluidTickSchedulerQueryableTickScheduler<Fluid> getFluidTickScheduler()- Mappings:
- Namespace - Name - Mixin selector - official - K- Lcmn;K()Lefp;- intermediary - method_8405- Lnet/minecraft/class_1936;method_8405()Lnet/minecraft/class_6756;- named - getFluidTickScheduler- Lnet/minecraft/world/WorldAccess;getFluidTickScheduler()Lnet/minecraft/world/tick/QueryableTickScheduler;
 
- 
scheduleFluidTick- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcmn;a(Lgu;Ldxd;ILefx;)V- intermediary - method_39282- Lnet/minecraft/class_1936;method_39282(Lnet/minecraft/class_2338;Lnet/minecraft/class_3611;ILnet/minecraft/class_1953;)V- named - scheduleFluidTick- Lnet/minecraft/world/WorldAccess;scheduleFluidTick(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/Fluid;ILnet/minecraft/world/tick/TickPriority;)V
 
- 
scheduleFluidTick- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcmn;a(Lgu;Ldxd;I)V- intermediary - method_39281- Lnet/minecraft/class_1936;method_39281(Lnet/minecraft/class_2338;Lnet/minecraft/class_3611;I)V- named - scheduleFluidTick- Lnet/minecraft/world/WorldAccess;scheduleFluidTick(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/Fluid;I)V
 
- 
getLevelPropertiesWorldProperties getLevelProperties()- Mappings:
- Namespace - Name - Mixin selector - official - u_- Lcmn;u_()Ldyv;- intermediary - method_8401- Lnet/minecraft/class_1936;method_8401()Lnet/minecraft/class_5217;- named - getLevelProperties- Lnet/minecraft/world/WorldAccess;getLevelProperties()Lnet/minecraft/world/WorldProperties;
 
- 
getLocalDifficulty- Mappings:
- Namespace - Name - Mixin selector - official - d_- Lcmn;d_(Lgu;)Lbdv;- intermediary - method_8404- Lnet/minecraft/class_1936;method_8404(Lnet/minecraft/class_2338;)Lnet/minecraft/class_1266;- named - getLocalDifficulty- Lnet/minecraft/world/WorldAccess;getLocalDifficulty(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/LocalDifficulty;
 
- 
getServer- Mappings:
- Namespace - Name - Mixin selector - official - n- Lcmn;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;
 
- 
getDifficulty- Mappings:
- Namespace - Name - Mixin selector - official - ai- Lcmn;ai()Lbdu;- intermediary - method_8407- Lnet/minecraft/class_1936;method_8407()Lnet/minecraft/class_1267;- named - getDifficulty- Lnet/minecraft/world/WorldAccess;getDifficulty()Lnet/minecraft/world/Difficulty;
 
- 
getChunkManagerChunkManager getChunkManager()- Mappings:
- Namespace - Name - Mixin selector - official - J- Lcmn;J()Ldeb;- intermediary - method_8398- Lnet/minecraft/class_1936;method_8398()Lnet/minecraft/class_2802;- named - getChunkManager- Lnet/minecraft/world/WorldAccess;getChunkManager()Lnet/minecraft/world/chunk/ChunkManager;
 
- 
isChunkLoadeddefault boolean isChunkLoaded(int chunkX, int chunkZ) - Specified by:
- isChunkLoadedin interface- WorldView
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lcmp;b(II)Z- intermediary - method_8393- Lnet/minecraft/class_4538;method_8393(II)Z- named - isChunkLoaded- Lnet/minecraft/world/WorldView;isChunkLoaded(II)Z
 
- 
getRandomRandom getRandom()- Mappings:
- Namespace - Name - Mixin selector - official - y_- Lcmn;y_()Lapf;- intermediary - method_8409- Lnet/minecraft/class_1936;method_8409()Lnet/minecraft/class_5819;- named - getRandom- Lnet/minecraft/world/WorldAccess;getRandom()Lnet/minecraft/util/math/random/Random;
 
- 
updateNeighbors- Mappings:
- Namespace - Name - Mixin selector - official - b- Lcmn;b(Lgu;Lcpn;)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
 
- 
replaceWithStateForNeighborUpdatedefault void replaceWithStateForNeighborUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lcmn;a(Lha;Ldcb;Lgu;Lgu;II)V- intermediary - method_42308- Lnet/minecraft/class_1936;method_42308(Lnet/minecraft/class_2350;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;II)V- named - replaceWithStateForNeighborUpdate- Lnet/minecraft/world/WorldAccess;replaceWithStateForNeighborUpdate(Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;II)V
 
- 
playSounddefault void playSound(@Nullable @Nullable PlayerEntity except, BlockPos pos, SoundEvent sound, SoundCategory category) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lcmn;a(Lbyo;Lgu;Lamg;Lami;)V- intermediary - method_45447- Lnet/minecraft/class_1936;method_45447(Lnet/minecraft/class_1657;Lnet/minecraft/class_2338;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;)V- named - playSound- Lnet/minecraft/world/WorldAccess;playSound(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;)V
 
- 
playSoundvoid playSound(@Nullable @Nullable PlayerEntity except, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lcmn;a(Lbyo;Lgu;Lamg;Lami;FF)V- intermediary - method_8396- Lnet/minecraft/class_1936;method_8396(Lnet/minecraft/class_1657;Lnet/minecraft/class_2338;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)V- named - playSound- Lnet/minecraft/world/WorldAccess;playSound(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FF)V
 
- 
addParticlevoid addParticle(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lcmn;a(Lit;DDDDDD)V- intermediary - method_8406- Lnet/minecraft/class_1936;method_8406(Lnet/minecraft/class_2394;DDDDDD)V- named - addParticle- Lnet/minecraft/world/WorldAccess;addParticle(Lnet/minecraft/particle/ParticleEffect;DDDDDD)V
 
- 
syncWorldEvent- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcmn;a(Lbyo;ILgu;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
 
- 
syncWorldEvent- Mappings:
- Namespace - Name - Mixin selector - official - c- Lcmn;c(ILgu;I)V- intermediary - method_20290- Lnet/minecraft/class_1936;method_20290(ILnet/minecraft/class_2338;I)V- named - syncWorldEvent- Lnet/minecraft/world/WorldAccess;syncWorldEvent(ILnet/minecraft/util/math/BlockPos;I)V
 
- 
emitGameEventEmits a game event.- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcmn;a(Ldgl;Leei;Ldgl$a;)V- intermediary - method_32888- Lnet/minecraft/class_1936;method_32888(Lnet/minecraft/class_5712;Lnet/minecraft/class_243;Lnet/minecraft/class_5712$class_7397;)V- named - emitGameEvent- Lnet/minecraft/world/WorldAccess;emitGameEvent(Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/world/event/GameEvent$Emitter;)V
 
- 
emitGameEvent- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcmn;a(Lbfj;Ldgl;Leei;)V- intermediary - method_43275- Lnet/minecraft/class_1936;method_43275(Lnet/minecraft/class_1297;Lnet/minecraft/class_5712;Lnet/minecraft/class_243;)V- named - emitGameEvent- Lnet/minecraft/world/WorldAccess;emitGameEvent(Lnet/minecraft/entity/Entity;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/util/math/Vec3d;)V
 
- 
emitGameEvent- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcmn;a(Lbfj;Ldgl;Lgu;)V- intermediary - method_33596- Lnet/minecraft/class_1936;method_33596(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
 
- 
emitGameEvent- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcmn;a(Ldgl;Lgu;Ldgl$a;)V- intermediary - method_43276- Lnet/minecraft/class_1936;method_43276(Lnet/minecraft/class_5712;Lnet/minecraft/class_2338;Lnet/minecraft/class_5712$class_7397;)V- named - emitGameEvent- Lnet/minecraft/world/WorldAccess;emitGameEvent(Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/event/GameEvent$Emitter;)V
 
 
-