net.minecraft.world

public interface WorldAccess

extends RegistryWorldView, WorldView, ScheduledTickView

net.minecraft.world.level.LevelAccessor
net.minecraft.class_1936
net.minecraft.world.WorldAccess

Method summary

Modifier and TypeMethod
long
nextSubTickCount()
method_39224()
getTickOrder()
default <T> OrderedTick<T>
createTick(BlockPos pos, T type, int tickDelay, TickPriority priority)
method_39284(class_2338 arg0, T arg1, int arg2, class_1953 arg3)
createOrderedTick(BlockPos arg0, T arg1, int arg2, TickPriority arg3)
default <T> OrderedTick<T>
createTick(BlockPos pos, T type, int tickDelay)
method_39283(class_2338 arg0, T arg1, int arg2)
createOrderedTick(BlockPos arg0, T arg1, int arg2)
WorldProperties
getLevelData()
method_8401()
getLevelProperties()
default long
getGameTime()
method_75260()
getTime()
MinecraftServer
getServer()
method_8503()
getServer()
default Difficulty
getDifficulty()
method_8407()
getDifficulty()
ChunkManager
getChunkSource()
method_8398()
getChunkManager()
default boolean
hasChunk(int chunkX, int chunkZ)
method_8393(int arg0, int arg1)
isChunkLoaded(int arg0, int arg1)
Random
getRandom()
method_8409()
getRandom()
default void
updateNeighborsAt(BlockPos pos, Block sourceBlock)
method_8408(class_2338 arg0, class_2248 arg1)
updateNeighbors(BlockPos pos, Block block)
default void
neighborShapeChanged(Direction direction, BlockPos pos, BlockPos neighborPos, BlockState neighborState, int updateFlags, int updateLimit)
method_42308(class_2350 arg0, class_2338 arg1, class_2338 arg2, class_2680 arg3, int arg4, int arg5)
replaceWithStateForNeighborUpdate(Direction direction, BlockPos pos, BlockPos neighborPos, BlockState neighborState, int flags, int maxUpdateDepth)
default void
playSound(Entity except, BlockPos pos, SoundEvent soundEvent, SoundSource source)
method_45447(class_1297 arg0, class_2338 arg1, class_3414 arg2, class_3419 arg3)
playSound(Entity source, BlockPos pos, SoundEvent sound, SoundCategory category)
void
playSound(Entity except, BlockPos pos, SoundEvent sound, SoundSource source, float volume, float pitch)
method_8396(class_1297 arg0, class_2338 arg1, class_3414 arg2, class_3419 arg3, float arg4, float arg5)
playSound(Entity source, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch)
void
addParticle(ParticleOptions particle, double x, double y, double z, double xd, double yd, double zd)
method_8406(class_2394 arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6)
addParticleClient(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ)
void
levelEvent(Entity source, int type, BlockPos pos, int data)
method_8444(class_1297 arg0, int arg1, class_2338 arg2, int arg3)
syncWorldEvent(Entity source, int eventId, BlockPos pos, int data)
default void
levelEvent(int type, BlockPos pos, int data)
method_20290(int arg0, class_2338 arg1, int arg2)
syncWorldEvent(int eventId, BlockPos pos, int data)
void
gameEvent(Holder<GameEvent> gameEvent, Vec3 position, GameEvent$Context context)
method_32888(class_6880<class_5712> arg0, class_243 arg1, class_5712$class_7397 arg2)
emitGameEvent(RegistryEntry<GameEvent> event, Vec3d emitterPos, GameEvent$Emitter emitter)
default void
gameEvent(Entity sourceEntity, Holder<GameEvent> gameEvent, Vec3 pos)
method_43275(class_1297 arg0, class_6880<class_5712> arg1, class_243 arg2)
emitGameEvent(Entity entity, RegistryEntry<GameEvent> event, Vec3d pos)
default void
gameEvent(Entity sourceEntity, Holder<GameEvent> gameEvent, BlockPos pos)
method_33596(class_1297 arg0, class_6880<class_5712> arg1, class_2338 arg2)
emitGameEvent(Entity entity, RegistryEntry<GameEvent> event, BlockPos pos)
default void
gameEvent(Holder<GameEvent> gameEvent, BlockPos pos, GameEvent$Context context)
method_43276(class_6880<class_5712> arg0, class_2338 arg1, class_5712$class_7397 arg2)
emitGameEvent(RegistryEntry<GameEvent> event, BlockPos pos, GameEvent$Emitter emitter)
default void
gameEvent(ResourceKey<GameEvent> gameEvent, BlockPos pos, GameEvent$Context context)
method_55764(class_5321<class_5712> arg0, class_2338 arg1, class_5712$class_7397 arg2)
emitGameEvent(RegistryKey<GameEvent> event, BlockPos pos, GameEvent$Emitter emitter)