public interface IWorldReader extends ILightReader, ICollisionReader, BiomeManager.IBiomeReader
修飾子とタイプ | メソッドと説明 |
---|---|
default boolean |
canBlockSeeSky(BlockPos pos) |
boolean |
chunkExists(int chunkX,
int chunkZ)
非推奨です。
|
default boolean |
containsAnyLiquid(AxisAlignedBB bb)
Checks if any of the blocks within the aabb are liquids.
|
default Biome |
getBiome(BlockPos p_226691_1_) |
BiomeManager |
getBiomeManager() |
default int |
getBlockColor(BlockPos blockPosIn,
ColorResolver colorResolverIn) |
default IBlockReader |
getBlockReader(int chunkX,
int chunkZ) |
default float |
getBrightness(BlockPos pos)
非推奨です。
|
default IChunk |
getChunk(BlockPos pos) |
default IChunk |
getChunk(int chunkX,
int chunkZ) |
default IChunk |
getChunk(int chunkX,
int chunkZ,
ChunkStatus requiredStatus) |
IChunk |
getChunk(int x,
int z,
ChunkStatus requiredStatus,
boolean nonnull) |
Dimension |
getDimension() |
default BlockPos |
getHeight(Heightmap.Type heightmapType,
BlockPos pos) |
int |
getHeight(Heightmap.Type heightmapType,
int x,
int z) |
default int |
getLight(BlockPos pos) |
default int |
getNeighborAwareLightSubtracted(BlockPos pos,
int amount) |
default Biome |
getNoiseBiome(int x,
int y,
int z) |
Biome |
getNoiseBiomeRaw(int x,
int y,
int z) |
int |
getSeaLevel() |
int |
getSkylightSubtracted() |
default int |
getStrongPower(BlockPos pos,
Direction direction) |
default boolean |
hasWater(BlockPos pos) |
default boolean |
isAirBlock(BlockPos pos)
Checks to see if an air block exists at the provided location.
|
default boolean |
isAreaLoaded(BlockPos from,
BlockPos to)
非推奨です。
|
default boolean |
isAreaLoaded(BlockPos center,
int range) |
default boolean |
isAreaLoaded(int fromX,
int fromY,
int fromZ,
int toX,
int toY,
int toZ)
非推奨です。
|
default boolean |
isBlockLoaded(BlockPos pos)
非推奨です。
|
boolean |
isRemote() |
canSeeSky, getLightFor, getLightManager, getLightSubtracted
checkNoEntityCollision, checkNoEntityCollision, func_226663_a_, getCollisionShapes, getCollisionShapes, getEmptyCollisionShapes, getWorldBorder, hasNoCollisions, hasNoCollisions, hasNoCollisions, hasNoCollisions
func_217300_a, getBlockState, getFluidState, getHeight, getLightValue, getMaxLightLevel, getTileEntity, rayTraceBlocks, rayTraceBlocks
@Nullable IChunk getChunk(int x, int z, ChunkStatus requiredStatus, boolean nonnull)
@Deprecated boolean chunkExists(int chunkX, int chunkZ)
int getHeight(Heightmap.Type heightmapType, int x, int z)
int getSkylightSubtracted()
BiomeManager getBiomeManager()
default int getBlockColor(BlockPos blockPosIn, ColorResolver colorResolverIn)
getBlockColor
インタフェース内 ILightReader
default Biome getNoiseBiome(int x, int y, int z)
getNoiseBiome
インタフェース内 BiomeManager.IBiomeReader
Biome getNoiseBiomeRaw(int x, int y, int z)
boolean isRemote()
int getSeaLevel()
Dimension getDimension()
default BlockPos getHeight(Heightmap.Type heightmapType, BlockPos pos)
default boolean isAirBlock(BlockPos pos)
default boolean canBlockSeeSky(BlockPos pos)
@Deprecated default float getBrightness(BlockPos pos)
default IChunk getChunk(int chunkX, int chunkZ)
default IChunk getChunk(int chunkX, int chunkZ, ChunkStatus requiredStatus)
@Nullable default IBlockReader getBlockReader(int chunkX, int chunkZ)
getBlockReader
インタフェース内 ICollisionReader
default boolean hasWater(BlockPos pos)
default boolean containsAnyLiquid(AxisAlignedBB bb)
default int getLight(BlockPos pos)
default int getNeighborAwareLightSubtracted(BlockPos pos, int amount)
@Deprecated default boolean isBlockLoaded(BlockPos pos)
default boolean isAreaLoaded(BlockPos center, int range)
@Deprecated default boolean isAreaLoaded(int fromX, int fromY, int fromZ, int toX, int toY, int toZ)