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, isPlayerWithincanBlockSeeSky, 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, isRemotecanSeeSky, getLightFor, getLightManager, getLightSubtractedcheckNoEntityCollision, func_226663_a_, getCollisionShapes, getCollisionShapes, getWorldBorder, hasNoCollisions, hasNoCollisions, hasNoCollisions, hasNoCollisionsfunc_217300_a, getBlockState, getFluidState, getHeight, getLightValue, getMaxLightLevel, getTileEntity, rayTraceBlocks, rayTraceBlocksgetMaxHeight, hasBlockStateaddEntity, destroyBlock, destroyBlock, removeBlock, setBlockStatelong 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 IWorldReaderjava.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 ICollisionReadergetEmptyCollisionShapes in interface IEntityReaderdefault boolean checkNoEntityCollision(@Nullable
Entity entityIn,
VoxelShape shape)
checkNoEntityCollision in interface ICollisionReadercheckNoEntityCollision in interface IEntityReaderdefault BlockPos getHeight(Heightmap.Type heightmapType, BlockPos pos)
getHeight in interface IWorldGenerationBaseReadergetHeight in interface IWorldReader