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 cxcintermediary net/minecraft/class_1936named net/minecraft/world/WorldAccess
-
Field Summary
Fields inherited from interface net.minecraft.world.RedstoneView
DIRECTIONS -
Method Summary
Modifier 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, RegistryEntry<GameEvent> event, BlockPos pos) default voidemitGameEvent(@Nullable Entity entity, RegistryEntry<GameEvent> event, Vec3d pos) default voidemitGameEvent(RegistryEntry<GameEvent> event, BlockPos pos, GameEvent.Emitter emitter) voidemitGameEvent(RegistryEntry<GameEvent> event, Vec3d emitterPos, GameEvent.Emitter emitter) Emits a game event.default voidemitGameEvent(RegistryKey<GameEvent> event, BlockPos pos, GameEvent.Emitter emitter) default Difficultydefault longlongdefault booleanisChunkLoaded(int chunkX, int chunkZ) default voidplaySound(@Nullable PlayerEntity except, BlockPos pos, SoundEvent sound, SoundCategory category) voidplaySound(@Nullable PlayerEntity source, 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.BlockRenderView
getBaseLightLevel, getBrightness, 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, findSupportingBlockPos, getBlockCollisions, getCollisions, getEntityCollisions, getWorldBorder, isBlockSpaceEmpty, 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, 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, setBlockState, spawnEntityMethods inherited from interface net.minecraft.world.RedstoneView
getEmittedRedstonePower, getEmittedRedstonePower, getReceivedRedstonePower, getReceivedStrongRedstonePower, getStrongRedstonePower, isEmittingRedstonePower, isReceivingRedstonePowerMethods inherited from interface net.minecraft.world.RegistryWorldView
doesNotIntersectEntities, getBlockEntity, getEntityCollisions, getTopPositionMethods inherited from interface net.minecraft.world.TestableWorld
testBlockState, testFluidStateMethods inherited from interface net.minecraft.world.WorldView
containsFluid, 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
-
getLunarTime
default long getLunarTime()- Specified by:
getLunarTimein interfaceLunarWorldView- Mappings:
Namespace Name Mixin selector official aiLcxi;ai()Jintermediary method_30271Lnet/minecraft/class_5424;method_30271()Jnamed getLunarTimeLnet/minecraft/world/LunarWorldView;getLunarTime()J
-
getTickOrder
long getTickOrder()- Mappings:
Namespace Name Mixin selector official G_Lcxc;G_()Jintermediary method_39224Lnet/minecraft/class_1936;method_39224()Jnamed getTickOrderLnet/minecraft/world/WorldAccess;getTickOrder()J
-
getBlockTickScheduler
QueryableTickScheduler<Block> getBlockTickScheduler()- Mappings:
Namespace Name Mixin selector official NLcxc;N()Lerg;intermediary method_8397Lnet/minecraft/class_1936;method_8397()Lnet/minecraft/class_6756;named getBlockTickSchedulerLnet/minecraft/world/WorldAccess;getBlockTickScheduler()Lnet/minecraft/world/tick/QueryableTickScheduler;
-
createOrderedTick
private <T> OrderedTick<T> createOrderedTick(BlockPos pos, T type, int delay, TickPriority priority) - Mappings:
Namespace Name Mixin selector official aLcxc;a(Lib;Ljava/lang/Object;ILero;)Lerk;intermediary method_39284Lnet/minecraft/class_1936;method_39284(Lnet/minecraft/class_2338;Ljava/lang/Object;ILnet/minecraft/class_1953;)Lnet/minecraft/class_6760;named createOrderedTickLnet/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 aLcxc;a(Lib;Ljava/lang/Object;I)Lerk;intermediary method_39283Lnet/minecraft/class_1936;method_39283(Lnet/minecraft/class_2338;Ljava/lang/Object;I)Lnet/minecraft/class_6760;named createOrderedTickLnet/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 aLcxc;a(Lib;Ldac;ILero;)Vintermediary method_39280Lnet/minecraft/class_1936;method_39280(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;ILnet/minecraft/class_1953;)Vnamed scheduleBlockTickLnet/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 aLcxc;a(Lib;Ldac;I)Vintermediary method_39279Lnet/minecraft/class_1936;method_39279(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;I)Vnamed scheduleBlockTickLnet/minecraft/world/WorldAccess;scheduleBlockTick(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;I)V
-
getFluidTickScheduler
QueryableTickScheduler<Fluid> getFluidTickScheduler()- Mappings:
Namespace Name Mixin selector official MLcxc;M()Lerg;intermediary method_8405Lnet/minecraft/class_1936;method_8405()Lnet/minecraft/class_6756;named getFluidTickSchedulerLnet/minecraft/world/WorldAccess;getFluidTickScheduler()Lnet/minecraft/world/tick/QueryableTickScheduler;
-
scheduleFluidTick
- Mappings:
Namespace Name Mixin selector official aLcxc;a(Lib;Leio;ILero;)Vintermediary method_39282Lnet/minecraft/class_1936;method_39282(Lnet/minecraft/class_2338;Lnet/minecraft/class_3611;ILnet/minecraft/class_1953;)Vnamed scheduleFluidTickLnet/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 aLcxc;a(Lib;Leio;I)Vintermediary method_39281Lnet/minecraft/class_1936;method_39281(Lnet/minecraft/class_2338;Lnet/minecraft/class_3611;I)Vnamed scheduleFluidTickLnet/minecraft/world/WorldAccess;scheduleFluidTick(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/Fluid;I)V
-
getLevelProperties
WorldProperties getLevelProperties()- Mappings:
Namespace Name Mixin selector official A_Lcxc;A_()Leki;intermediary method_8401Lnet/minecraft/class_1936;method_8401()Lnet/minecraft/class_5217;named getLevelPropertiesLnet/minecraft/world/WorldAccess;getLevelProperties()Lnet/minecraft/world/WorldProperties;
-
getLocalDifficulty
- Mappings:
Namespace Name Mixin selector official d_Lcxc;d_(Lib;)Lbnb;intermediary method_8404Lnet/minecraft/class_1936;method_8404(Lnet/minecraft/class_2338;)Lnet/minecraft/class_1266;named getLocalDifficultyLnet/minecraft/world/WorldAccess;getLocalDifficulty(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/LocalDifficulty;
-
getServer
- Mappings:
Namespace Name Mixin selector official oLcxc;o()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;
-
getDifficulty
- Mappings:
Namespace Name Mixin selector official ajLcxc;aj()Lbna;intermediary method_8407Lnet/minecraft/class_1936;method_8407()Lnet/minecraft/class_1267;named getDifficultyLnet/minecraft/world/WorldAccess;getDifficulty()Lnet/minecraft/world/Difficulty;
-
getChunkManager
ChunkManager getChunkManager()- Mappings:
Namespace Name Mixin selector official LLcxc;L()Ldpb;intermediary method_8398Lnet/minecraft/class_1936;method_8398()Lnet/minecraft/class_2802;named getChunkManagerLnet/minecraft/world/WorldAccess;getChunkManager()Lnet/minecraft/world/chunk/ChunkManager;
-
isChunkLoaded
default boolean isChunkLoaded(int chunkX, int chunkZ) - Specified by:
isChunkLoadedin interfaceWorldView- Mappings:
Namespace Name Mixin selector official bLcxe;b(II)Zintermediary method_8393Lnet/minecraft/class_4538;method_8393(II)Znamed isChunkLoadedLnet/minecraft/world/WorldView;isChunkLoaded(II)Z
-
getRandom
Random getRandom()- Mappings:
Namespace Name Mixin selector official E_Lcxc;E_()Laxd;intermediary method_8409Lnet/minecraft/class_1936;method_8409()Lnet/minecraft/class_5819;named getRandomLnet/minecraft/world/WorldAccess;getRandom()Lnet/minecraft/util/math/random/Random;
-
updateNeighbors
- Mappings:
Namespace Name Mixin selector official bLcxc;b(Lib;Ldac;)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
-
replaceWithStateForNeighborUpdate
default void replaceWithStateForNeighborUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth) - Mappings:
Namespace Name Mixin selector official aLcxc;a(Lih;Ldnb;Lib;Lib;II)Vintermediary method_42308Lnet/minecraft/class_1936;method_42308(Lnet/minecraft/class_2350;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;II)Vnamed replaceWithStateForNeighborUpdateLnet/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
-
playSound
default void playSound(@Nullable @Nullable PlayerEntity except, BlockPos pos, SoundEvent sound, SoundCategory category) - Mappings:
Namespace Name Mixin selector official aLcxc;a(Lciu;Lib;Latx;Latz;)Vintermediary method_45447Lnet/minecraft/class_1936;method_45447(Lnet/minecraft/class_1657;Lnet/minecraft/class_2338;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;)Vnamed playSoundLnet/minecraft/world/WorldAccess;playSound(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;)V
-
playSound
void playSound(@Nullable @Nullable PlayerEntity source, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch) - Mappings:
Namespace Name Mixin selector official aLcxc;a(Lciu;Lib;Latx;Latz;FF)Vintermediary method_8396Lnet/minecraft/class_1936;method_8396(Lnet/minecraft/class_1657;Lnet/minecraft/class_2338;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)Vnamed playSoundLnet/minecraft/world/WorldAccess;playSound(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FF)V
-
addParticle
void addParticle(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ) - Mappings:
Namespace Name Mixin selector official aLcxc;a(Lka;DDDDDD)Vintermediary method_8406Lnet/minecraft/class_1936;method_8406(Lnet/minecraft/class_2394;DDDDDD)Vnamed addParticleLnet/minecraft/world/WorldAccess;addParticle(Lnet/minecraft/particle/ParticleEffect;DDDDDD)V
-
syncWorldEvent
- Mappings:
Namespace Name Mixin selector official aLcxc;a(Lciu;ILib;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
-
syncWorldEvent
- Mappings:
Namespace Name Mixin selector official cLcxc;c(ILib;I)Vintermediary method_20290Lnet/minecraft/class_1936;method_20290(ILnet/minecraft/class_2338;I)Vnamed syncWorldEventLnet/minecraft/world/WorldAccess;syncWorldEvent(ILnet/minecraft/util/math/BlockPos;I)V
-
emitGameEvent
Emits a game event.- Mappings:
Namespace Name Mixin selector official aLcxc;a(Lil;Lept;Ldrp$a;)Vintermediary method_32888Lnet/minecraft/class_1936;method_32888(Lnet/minecraft/class_6880;Lnet/minecraft/class_243;Lnet/minecraft/class_5712$class_7397;)Vnamed emitGameEventLnet/minecraft/world/WorldAccess;emitGameEvent(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/world/event/GameEvent$Emitter;)V
-
emitGameEvent
default void emitGameEvent(@Nullable @Nullable Entity entity, RegistryEntry<GameEvent> event, Vec3d pos) - Mappings:
Namespace Name Mixin selector official aLcxc;a(Lbox;Lil;Lept;)Vintermediary method_43275Lnet/minecraft/class_1936;method_43275(Lnet/minecraft/class_1297;Lnet/minecraft/class_6880;Lnet/minecraft/class_243;)Vnamed emitGameEventLnet/minecraft/world/WorldAccess;emitGameEvent(Lnet/minecraft/entity/Entity;Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/util/math/Vec3d;)V
-
emitGameEvent
default void emitGameEvent(@Nullable @Nullable Entity entity, RegistryEntry<GameEvent> event, BlockPos pos) - Mappings:
Namespace Name Mixin selector official aLcxc;a(Lbox;Lil;Lib;)Vintermediary method_33596Lnet/minecraft/class_1936;method_33596(Lnet/minecraft/class_1297;Lnet/minecraft/class_6880;Lnet/minecraft/class_2338;)Vnamed emitGameEventLnet/minecraft/world/WorldAccess;emitGameEvent(Lnet/minecraft/entity/Entity;Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/util/math/BlockPos;)V
-
emitGameEvent
- Mappings:
Namespace Name Mixin selector official aLcxc;a(Lil;Lib;Ldrp$a;)Vintermediary method_43276Lnet/minecraft/class_1936;method_43276(Lnet/minecraft/class_6880;Lnet/minecraft/class_2338;Lnet/minecraft/class_5712$class_7397;)Vnamed emitGameEventLnet/minecraft/world/WorldAccess;emitGameEvent(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/event/GameEvent$Emitter;)V
-
emitGameEvent
- Mappings:
Namespace Name Mixin selector official aLcxc;a(Lajg;Lib;Ldrp$a;)Vintermediary method_55764Lnet/minecraft/class_1936;method_55764(Lnet/minecraft/class_5321;Lnet/minecraft/class_2338;Lnet/minecraft/class_5712$class_7397;)Vnamed emitGameEventLnet/minecraft/world/WorldAccess;emitGameEvent(Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/event/GameEvent$Emitter;)V
-