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, isPlayerInRangecontainsFluid, getAmbientDarkness, getBiome, getBiomeAccess, getBiomeForNoiseGen, getBrightness, getChunk, getChunk, getChunk, getChunk, getColor, getDimension, getExistingChunk, getGeneratorStoredBiome, getLightLevel, getLightLevel, getSeaLevel, getStrongRedstonePower, getTopY, isAir, isChunkLoaded, isClient, isRegionLoaded, isRegionLoaded, isSkyVisibleAllowingSea, isWatergetBaseLightLevel, getBrightness, getLightingProvider, getLightLevel, isSkyVisiblecanPlace, doesNotCollide, doesNotCollide, doesNotCollide, doesNotCollide, getBlockCollisions, getCollisions, getWorldBorder, intersectsEntities, method_27087getBlockEntity, getBlockState, getFluidState, getHeight, getLuminance, getMaxLightLevel, rayTrace, rayTrace, rayTraceBlocktestBlockStatebreakBlock, breakBlock, removeBlock, setBlockState, spawnEntitylong 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 WorldViewRandom 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 CollisionViewgetEntityCollisions in interface EntityViewdefault boolean intersectsEntities(@Nullable Entity entity, VoxelShape voxelShape)
intersectsEntities in interface CollisionViewintersectsEntities in interface EntityViewdefault BlockPos getTopPosition(Heightmap.Type heightmap, BlockPos pos)
getTopPosition in interface TestableWorldgetTopPosition in interface WorldView