public interface IWorld extends EntityView, WorldView, ModifiableTestableWorld
getClosestEntity, getClosestEntity, getClosestEntityIncludingUngeneratedChunks, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getEntities, getEntities, getEntities, getEntitiesIncludingUngeneratedChunks, getEntitiesIncludingUngeneratedChunks, getNonSpectatingEntities, getPlayerByUuid, getPlayers, getPlayers, getTargets, isPlayerInRange
containsFluid, getAmbientDarkness, getBiome, getBiomeAccess, getBiomeForNoiseGen, getBrightness, getChunk, getChunk, getChunk, getChunk, getColor, getDimension, getExistingChunk, getGeneratorStoredBiome, getLightLevel, getLightLevel, getSeaLevel, getStrongRedstonePower, getTopY, isAir, isChunkLoaded, isClient, isRegionLoaded, isRegionLoaded, isSkyVisibleAllowingSea, isWater
getBaseLightLevel, getBrightness, getLightingProvider, getLightLevel, isSkyVisible
canPlace, doesNotCollide, doesNotCollide, doesNotCollide, doesNotCollide, getBlockCollisions, getCollisions, getWorldBorder, intersectsEntities, method_27087
getBlockEntity, getBlockState, getFluidState, getHeight, getLuminance, getMaxLightLevel, rayTrace, rayTrace, rayTraceBlock
testBlockState
breakBlock, breakBlock, removeBlock, setBlockState, spawnEntity
long getSeed()
default float getMoonSize()
default float getSkyAngle(float tickDelta)
@Environment(value=CLIENT) default int getMoonPhase()
TickScheduler<Block> getBlockTickScheduler()
TickScheduler<Fluid> getFluidTickScheduler()
World getWorld()
LevelProperties getLevelProperties()
LocalDifficulty getLocalDifficulty(BlockPos pos)
default Difficulty getDifficulty()
ChunkManager getChunkManager()
default boolean isChunkLoaded(int chunkX, int chunkZ)
isChunkLoaded
in interface WorldView
Random getRandom()
void playSound(@Nullable PlayerEntity player, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch)
void addParticle(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ)
void playLevelEvent(@Nullable PlayerEntity player, int eventId, BlockPos pos, int data)
default int getDimensionHeight()
default void playLevelEvent(int eventId, BlockPos pos, int data)
default Stream<VoxelShape> getEntityCollisions(@Nullable Entity entity, Box box, Predicate<Entity> predicate)
getEntityCollisions
in interface CollisionView
getEntityCollisions
in interface EntityView
default boolean intersectsEntities(@Nullable Entity entity, VoxelShape voxelShape)
intersectsEntities
in interface CollisionView
intersectsEntities
in interface EntityView
default BlockPos getTopPosition(Heightmap.Type heightmap, BlockPos pos)
getTopPosition
in interface TestableWorld
getTopPosition
in interface WorldView