public interface IWorld extends IEntityReader, IWorldReader, IWorldGenerationReader
修飾子とタイプ | メソッドと説明 |
---|---|
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)
calls calculateCelestialAngle
|
AbstractChunkProvider |
getChunkProvider()
Gets the world's chunk provider
|
default float |
getCurrentMoonPhaseFactor()
gets the current fullness of the moon expressed as a float between 1.0 and 0.0, in steps of .25
|
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()
gets the random world seed
|
BlockPos |
getSpawnPoint()
Gets the spawn point in the world
|
World |
getWorld() |
WorldInfo |
getWorldInfo()
Returns the world's WorldInfo object
|
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)
Plays a sound.
|
func_225317_b, func_225318_b, getClosestEntity, getClosestEntityWithinAABB, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getEntitiesInAABBexcluding, getEntitiesWithinAABB, getEntitiesWithinAABB, getEntitiesWithinAABBExcludingEntity, 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
インタフェース内 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
インタフェース内 ICollisionReader
getEmptyCollisionShapes
インタフェース内 IEntityReader
default boolean checkNoEntityCollision(@Nullable Entity entityIn, VoxelShape shape)
checkNoEntityCollision
インタフェース内 ICollisionReader
checkNoEntityCollision
インタフェース内 IEntityReader
default BlockPos getHeight(Heightmap.Type heightmapType, BlockPos pos)
getHeight
インタフェース内 IWorldGenerationBaseReader
getHeight
インタフェース内 IWorldReader