public interface IWorld extends IEntityReader, IWorldReader, IWorldGenerationReader
Modifier and Type | Method and Description |
---|---|
void |
addParticle(IParticleData particleData,
double x,
double y,
double z,
double xSpeed,
double ySpeed,
double zSpeed) |
default boolean |
checkNoEntityCollision(Entity entityIn,
VoxelShape shape) |
default boolean |
chunkExists(int chunkX,
int chunkZ) |
default float |
getCelestialAngle(float partialTicks) |
AbstractChunkProvider |
getChunkProvider() |
default float |
getCurrentMoonPhaseFactor() |
default Difficulty |
getDifficulty() |
DifficultyInstance |
getDifficultyForLocation(BlockPos pos) |
default java.util.stream.Stream<VoxelShape> |
getEmptyCollisionShapes(Entity entityIn,
AxisAlignedBB aabb,
java.util.Set<Entity> entitiesToIgnore) |
default BlockPos |
getHeight(Heightmap.Type heightmapType,
BlockPos pos) |
default int |
getMoonPhase() |
ITickList<Block> |
getPendingBlockTicks() |
ITickList<Fluid> |
getPendingFluidTicks() |
java.util.Random |
getRandom() |
long |
getSeed() |
BlockPos |
getSpawnPoint() |
World |
getWorld() |
WorldInfo |
getWorldInfo() |
void |
notifyNeighbors(BlockPos pos,
Block blockIn) |
default void |
playEvent(int type,
BlockPos pos,
int data) |
void |
playEvent(PlayerEntity player,
int type,
BlockPos pos,
int data) |
void |
playSound(PlayerEntity player,
BlockPos pos,
SoundEvent soundIn,
SoundCategory category,
float volume,
float pitch) |
func_225318_b, getClosestEntity, getClosestEntityWithinAABB, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getEntitiesInAABBexcluding, getEntitiesWithinAABB, getEntitiesWithinAABB, getEntitiesWithinAABBExcludingEntity, getLoadedEntitiesWithinAABB, getLoadedEntitiesWithinAABB, getPlayerByUuid, getPlayers, getTargettableEntitiesWithinAABB, getTargettablePlayersWithinAABB, isPlayerWithin
canBlockSeeSky, containsAnyLiquid, getBiome, getBiomeManager, getBlockColor, getBlockReader, getBrightness, getChunk, getChunk, getChunk, getChunk, getDimension, getHeight, getLight, getNeighborAwareLightSubtracted, getNoiseBiome, getNoiseBiomeRaw, getSeaLevel, getSkylightSubtracted, getStrongPower, hasWater, isAirBlock, isAreaLoaded, isAreaLoaded, isAreaLoaded, isBlockLoaded, isRemote
canSeeSky, getLightFor, getLightManager, getLightSubtracted
checkNoEntityCollision, func_226663_a_, getCollisionShapes, getCollisionShapes, getWorldBorder, hasNoCollisions, hasNoCollisions, hasNoCollisions, hasNoCollisions
func_217300_a, getBlockState, getFluidState, getHeight, getLightValue, getMaxLightLevel, getTileEntity, rayTraceBlocks, rayTraceBlocks
getMaxHeight, hasBlockState
addEntity, destroyBlock, destroyBlock, removeBlock, setBlockState
long getSeed()
default float getCurrentMoonPhaseFactor()
default float getCelestialAngle(float partialTicks)
default int getMoonPhase()
World getWorld()
WorldInfo getWorldInfo()
DifficultyInstance getDifficultyForLocation(BlockPos pos)
default Difficulty getDifficulty()
AbstractChunkProvider getChunkProvider()
default boolean chunkExists(int chunkX, int chunkZ)
chunkExists
in interface IWorldReader
java.util.Random getRandom()
BlockPos getSpawnPoint()
void playSound(@Nullable PlayerEntity player, BlockPos pos, SoundEvent soundIn, SoundCategory category, float volume, float pitch)
void addParticle(IParticleData particleData, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed)
void playEvent(@Nullable PlayerEntity player, int type, BlockPos pos, int data)
default void playEvent(int type, BlockPos pos, int data)
default java.util.stream.Stream<VoxelShape> getEmptyCollisionShapes(@Nullable Entity entityIn, AxisAlignedBB aabb, java.util.Set<Entity> entitiesToIgnore)
getEmptyCollisionShapes
in interface ICollisionReader
getEmptyCollisionShapes
in interface IEntityReader
default boolean checkNoEntityCollision(@Nullable Entity entityIn, VoxelShape shape)
checkNoEntityCollision
in interface ICollisionReader
checkNoEntityCollision
in interface IEntityReader
default BlockPos getHeight(Heightmap.Type heightmapType, BlockPos pos)
getHeight
in interface IWorldGenerationBaseReader
getHeight
in interface IWorldReader