public abstract class World extends CapabilityProvider<World> implements IWorld, java.lang.AutoCloseable, IForgeWorld
修飾子とタイプ | フィールドと説明 |
---|---|
protected java.util.List<TileEntity> |
addedTileEntityList
Tile Entity additions that were deferred because the World was still iterating existing Tile Entities; will be
added to the world at the end of the tick.
|
boolean |
captureBlockSnapshots |
java.util.ArrayList<BlockSnapshot> |
capturedBlockSnapshots |
protected AbstractChunkProvider |
chunkProvider |
Dimension |
dimension |
protected int |
DIST_HASH_MAGIC |
boolean |
isRemote |
java.util.List<TileEntity> |
loadedTileEntityList
A list of the loaded tile entities in the world
|
protected static org.apache.logging.log4j.Logger |
LOGGER |
float |
prevRainingStrength |
float |
prevThunderingStrength |
protected boolean |
processingLoadedTiles
True while the World is ticking , to prevent CME's if any of those ticks create more tile entities.
|
float |
rainingStrength |
java.util.Random |
rand |
boolean |
restoringBlockSnapshots |
float |
thunderingStrength |
java.util.List<TileEntity> |
tickableTileEntities |
protected java.util.Set<TileEntity> |
tileEntitiesToBeRemoved
Tile Entity removals that were deferred because the World was still iterating existing Tile Entities; will be
removed from the world at the end of the tick.
|
protected int |
updateLCG
Contains the current Linear Congruential Generator seed for block updates.
|
protected WorldInfo |
worldInfo |
修飾子 | コンストラクタと説明 |
---|---|
protected |
World(WorldInfo info,
DimensionType dimType,
java.util.function.BiFunction<World,Dimension,AbstractChunkProvider> provider,
IProfiler profilerIn,
boolean remote) |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
addBlockEvent(BlockPos pos,
Block blockIn,
int eventID,
int eventParam) |
void |
addOptionalParticle(IParticleData particleData,
boolean ignoreRange,
double x,
double y,
double z,
double xSpeed,
double ySpeed,
double zSpeed) |
void |
addOptionalParticle(IParticleData particleData,
double x,
double y,
double z,
double xSpeed,
double ySpeed,
double zSpeed) |
void |
addParticle(IParticleData particleData,
boolean forceAlwaysRender,
double x,
double y,
double z,
double xSpeed,
double ySpeed,
double zSpeed) |
void |
addParticle(IParticleData particleData,
double x,
double y,
double z,
double xSpeed,
double ySpeed,
double zSpeed) |
void |
addTileEntities(java.util.Collection<TileEntity> tileEntityCollection) |
boolean |
addTileEntity(TileEntity tile) |
protected void |
advanceTime() |
void |
calculateInitialSkylight()
Called on construction of the World class to setup the initial skylight values
|
protected void |
calculateInitialWeather()
Called from World constructor to set rainingStrength and thunderingStrength
|
void |
calculateInitialWeatherBody() |
boolean |
canMineBlockBody(PlayerEntity player,
BlockPos pos) |
boolean |
checkBlockCollision(AxisAlignedBB bb)
Returns true if there are any blocks in the region constrained by an AxisAlignedBB
|
void |
close() |
Explosion |
createExplosion(Entity entityIn,
DamageSource damageSourceIn,
double xIn,
double yIn,
double zIn,
float explosionRadius,
boolean causesFire,
Explosion.Mode modeIn) |
Explosion |
createExplosion(Entity entityIn,
double xIn,
double yIn,
double zIn,
float explosionRadius,
boolean causesFire,
Explosion.Mode modeIn) |
Explosion |
createExplosion(Entity entityIn,
double xIn,
double yIn,
double zIn,
float explosionRadius,
Explosion.Mode modeIn) |
boolean |
destroyBlock(BlockPos p_225521_1_,
boolean p_225521_2_,
Entity p_225521_3_) |
boolean |
extinguishFire(PlayerEntity player,
BlockPos pos,
Direction side)
Attempts to extinguish a fire
|
CrashReportCategory |
fillCrashReport(CrashReport report)
Adds some basic stats of the world to the given crash report.
|
BlockState |
findBlockstateInArea(AxisAlignedBB area,
Block blockIn) |
int |
getActualHeight()
Returns current world height.
|
BiomeManager |
getBiomeManager() |
BlockPos |
getBlockRandomPos(int p_217383_1_,
int p_217383_2_,
int p_217383_3_,
int p_217383_4_) |
IBlockReader |
getBlockReader(int chunkX,
int chunkZ) |
BlockState |
getBlockState(BlockPos pos) |
float |
getCelestialAngleRadians(float partialTicks)
Return getCelestialAngle()*2*PI
|
Chunk |
getChunk(int chunkX,
int chunkZ) |
IChunk |
getChunk(int x,
int z,
ChunkStatus requiredStatus,
boolean nonnull) |
Chunk |
getChunkAt(BlockPos pos) |
AbstractChunkProvider |
getChunkProvider()
Gets the world's chunk provider
|
long |
getDayTime() |
DifficultyInstance |
getDifficultyForLocation(BlockPos pos) |
Dimension |
getDimension() |
java.util.List<Entity> |
getEntitiesInAABBexcluding(Entity entityIn,
AxisAlignedBB boundingBox,
java.util.function.Predicate<? super Entity> predicate)
Gets all entities within the specified AABB excluding the one passed into it.
|
<T extends Entity> |
getEntitiesWithinAABB(java.lang.Class<? extends T> clazz,
AxisAlignedBB aabb,
java.util.function.Predicate<? super T> filter) |
<T extends Entity> |
getEntitiesWithinAABB(EntityType<T> type,
AxisAlignedBB boundingBox,
java.util.function.Predicate<? super T> predicate) |
abstract Entity |
getEntityByID(int id)
Returns the Entity with the given ID, or null if it doesn't exist in this World.
|
IFluidState |
getFluidState(BlockPos pos) |
GameRules |
getGameRules()
Gets the GameRules instance.
|
long |
getGameTime() |
BlockState |
getGroundAboveSeaLevel(BlockPos pos) |
int |
getHeight(Heightmap.Type heightmapType,
int x,
int z) |
WorldLightManager |
getLightManager() |
<T extends Entity> |
getLoadedEntitiesWithinAABB(java.lang.Class<? extends T> p_225316_1_,
AxisAlignedBB p_225316_2_,
java.util.function.Predicate<? super T> p_225316_3_) |
abstract MapData |
getMapData(java.lang.String mapName) |
double |
getMaxEntityRadius()
The maximum radius to scan for entities when trying to check bounding boxes.
|
abstract int |
getNextMapId() |
IProfiler |
getProfiler() |
java.lang.String |
getProviderName()
Returns the name of the current chunk provider, by calling chunkprovider.makeString()
|
float |
getRainStrength(float delta)
Returns rain strength.
|
java.util.Random |
getRandom() |
abstract RecipeManager |
getRecipeManager() |
int |
getRedstonePower(BlockPos pos,
Direction facing) |
int |
getRedstonePowerFromNeighbors(BlockPos pos)
Checks if the specified block or its neighbors are powered by a neighboring block.
|
abstract Scoreboard |
getScoreboard() |
int |
getSeaLevel() |
long |
getSeed()
gets the random world seed
|
MinecraftServer |
getServer() |
int |
getSkylightSubtracted() |
BlockPos |
getSpawnPoint()
Gets the spawn point in the world
|
int |
getStrongPower(BlockPos pos)
Returns the single highest strong power out of all directions using getStrongPower(BlockPos, EnumFacing)
|
abstract NetworkTagManager |
getTags() |
float |
getThunderStrength(float delta) |
TileEntity |
getTileEntity(BlockPos pos) |
World |
getWorld() |
WorldBorder |
getWorldBorder() |
WorldInfo |
getWorldInfo()
Returns the world's WorldInfo object
|
WorldType |
getWorldType() |
void |
guardEntityTick(java.util.function.Consumer<Entity> consumerEntity,
Entity entityIn) |
boolean |
hasBlockState(BlockPos p_217375_1_,
java.util.function.Predicate<BlockState> p_217375_2_) |
double |
increaseMaxEntityRadius(double value)
Increases the max entity radius, this is safe to call with any value.
|
boolean |
isBlockinHighHumidity(BlockPos pos) |
boolean |
isBlockModifiable(PlayerEntity player,
BlockPos pos) |
boolean |
isBlockPowered(BlockPos pos) |
boolean |
isBlockPresent(BlockPos pos) |
boolean |
isDaytime()
Checks whether its daytime by seeing if the light subtracted from the skylight is less than 4.
|
boolean |
isFlammableWithin(AxisAlignedBB bb) |
boolean |
isMaterialInBB(AxisAlignedBB bb,
Material materialIn)
Returns true if the given bounding box contains the given material
|
boolean |
isNightTime() |
static boolean |
isOutsideBuildHeight(BlockPos pos) |
boolean |
isRaining()
Returns true if the current rain strength is greater than 0.2
|
boolean |
isRainingAt(BlockPos position)
Check if precipitation is currently happening at a position
|
boolean |
isRemote() |
boolean |
isSaveDisabled() |
boolean |
isSidePowered(BlockPos pos,
Direction side) |
boolean |
isThundering()
Returns true if the current thunder strength (weighted with the rain strength) is greater than 0.9
|
boolean |
isTopSolid(BlockPos pos,
Entity entityIn) |
static boolean |
isValid(BlockPos pos)
Check if the given BlockPos has valid coordinates
|
static boolean |
isYOutOfBounds(int y) |
void |
makeFireworks(double x,
double y,
double z,
double motionX,
double motionY,
double motionZ,
CompoundNBT compound) |
void |
markAndNotifyBlock(BlockPos pos,
Chunk chunk,
BlockState blockstate,
BlockState newState,
int flags) |
void |
markBlockRangeForRenderUpdate(BlockPos blockPosIn,
BlockState oldState,
BlockState newState) |
void |
markChunkDirty(BlockPos pos,
TileEntity unusedTileEntity) |
void |
neighborChanged(BlockPos pos,
Block blockIn,
BlockPos fromPos) |
abstract void |
notifyBlockUpdate(BlockPos pos,
BlockState oldState,
BlockState newState,
int flags)
Flags are as in setBlockState
|
void |
notifyNeighbors(BlockPos pos,
Block blockIn) |
void |
notifyNeighborsOfStateChange(BlockPos pos,
Block blockIn) |
void |
notifyNeighborsOfStateExcept(BlockPos pos,
Block blockType,
Direction skipSide) |
void |
onBlockStateChange(BlockPos pos,
BlockState blockStateIn,
BlockState newState) |
void |
playBroadcastSound(int id,
BlockPos pos,
int data) |
abstract void |
playMovingSound(PlayerEntity playerIn,
Entity entityIn,
SoundEvent eventIn,
SoundCategory categoryIn,
float volume,
float pitch) |
void |
playSound(double x,
double y,
double z,
SoundEvent soundIn,
SoundCategory category,
float volume,
float pitch,
boolean distanceDelay) |
void |
playSound(PlayerEntity player,
BlockPos pos,
SoundEvent soundIn,
SoundCategory category,
float volume,
float pitch)
Plays a sound.
|
abstract void |
playSound(PlayerEntity player,
double x,
double y,
double z,
SoundEvent soundIn,
SoundCategory category,
float volume,
float pitch) |
abstract void |
registerMapData(MapData mapDataIn) |
boolean |
removeBlock(BlockPos pos,
boolean isMoving) |
void |
removeTileEntity(BlockPos pos) |
abstract void |
sendBlockBreakProgress(int breakerId,
BlockPos pos,
int progress) |
void |
sendPacketToServer(IPacket<?> packetIn) |
void |
sendQuittingDisconnectingPacket()
If on MP, sends a quitting packet.
|
void |
setAllowedSpawnTypes(boolean hostile,
boolean peaceful)
first boolean for hostile mobs and second for peaceful mobs
|
boolean |
setBlockState(BlockPos pos,
BlockState state)
Convenience method to update the block on both the client and server
|
boolean |
setBlockState(BlockPos pos,
BlockState newState,
int flags)
Sets a block state into this world.Flags are as follows:
1 will cause a block update.
2 will send the change to clients.
4 will prevent the block from being re-rendered.
8 will force any re-renders to run on the main thread instead
16 will prevent neighbor reactions (e.g. fences connecting, observers pulsing).
32 will prevent neighbor reactions from spawning drops.
64 will signify the block is being moved.
|
void |
setDayTime(long time)
Sets the world time.
|
void |
setEntityState(Entity entityIn,
byte state)
sends a Packet 38 (Entity Status) to all tracked players of that entity
|
void |
setGameTime(long worldTime) |
void |
setInitialSpawnLocation()
Sets a new spawn location by finding an uncovered block at a random (x,z) location in the chunk.
|
void |
setRainStrength(float strength)
Sets the strength of the rain.
|
void |
setSpawnPoint(BlockPos pos) |
void |
setThunderStrength(float strength)
Sets the strength of the thunder.
|
void |
setTileEntity(BlockPos pos,
TileEntity tileEntityIn) |
void |
setTimeLightningFlash(int timeFlashIn) |
void |
tickBlockEntities() |
void |
updateComparatorOutputLevel(BlockPos pos,
Block blockIn) |
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkNoEntityCollision, chunkExists, getCelestialAngle, getCurrentMoonPhaseFactor, getDifficulty, getEmptyCollisionShapes, getHeight, getMoonPhase, getPendingBlockTicks, getPendingFluidTicks, playEvent, playEvent
func_225317_b, func_225318_b, getClosestEntity, getClosestEntityWithinAABB, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getEntitiesWithinAABB, getEntitiesWithinAABBExcludingEntity, getPlayerByUuid, getPlayers, getTargettableEntitiesWithinAABB, getTargettablePlayersWithinAABB, isPlayerWithin
canBlockSeeSky, containsAnyLiquid, getBiome, getBlockColor, getBrightness, getChunk, getChunk, getLight, getNeighborAwareLightSubtracted, getNoiseBiome, getNoiseBiomeRaw, getStrongPower, hasWater, isAirBlock, isAreaLoaded, isAreaLoaded, isAreaLoaded, isBlockLoaded
canSeeSky, getLightFor, getLightSubtracted
checkNoEntityCollision, func_226663_a_, getCollisionShapes, getCollisionShapes, hasNoCollisions, hasNoCollisions, hasNoCollisions, hasNoCollisions
func_217300_a, getHeight, getLightValue, getMaxLightLevel, rayTraceBlocks, rayTraceBlocks
getMaxHeight
addEntity, destroyBlock
getCapability, getCapability
protected static final org.apache.logging.log4j.Logger LOGGER
public final java.util.List<TileEntity> loadedTileEntityList
public final java.util.List<TileEntity> tickableTileEntities
protected final java.util.List<TileEntity> addedTileEntityList
protected final java.util.Set<TileEntity> tileEntitiesToBeRemoved
protected int updateLCG
protected final int DIST_HASH_MAGIC
public float prevRainingStrength
public float rainingStrength
public float prevThunderingStrength
public float thunderingStrength
public final java.util.Random rand
public final Dimension dimension
protected final AbstractChunkProvider chunkProvider
protected final WorldInfo worldInfo
public final boolean isRemote
protected boolean processingLoadedTiles
public boolean restoringBlockSnapshots
public boolean captureBlockSnapshots
public java.util.ArrayList<BlockSnapshot> capturedBlockSnapshots
protected World(WorldInfo info, DimensionType dimType, java.util.function.BiFunction<World,Dimension,AbstractChunkProvider> provider, IProfiler profilerIn, boolean remote)
public boolean isRemote()
isRemote
インタフェース内 IWorldReader
@Nullable public MinecraftServer getServer()
public void setInitialSpawnLocation()
public BlockState getGroundAboveSeaLevel(BlockPos pos)
public static boolean isValid(BlockPos pos)
public static boolean isOutsideBuildHeight(BlockPos pos)
public static boolean isYOutOfBounds(int y)
public Chunk getChunk(int chunkX, int chunkZ)
getChunk
インタフェース内 IWorldReader
public IChunk getChunk(int x, int z, ChunkStatus requiredStatus, boolean nonnull)
getChunk
インタフェース内 IWorldReader
public boolean setBlockState(BlockPos pos, BlockState newState, int flags)
setBlockState
インタフェース内 IWorldWriter
public void markAndNotifyBlock(BlockPos pos, @Nullable Chunk chunk, BlockState blockstate, BlockState newState, int flags)
public void onBlockStateChange(BlockPos pos, BlockState blockStateIn, BlockState newState)
public boolean removeBlock(BlockPos pos, boolean isMoving)
removeBlock
インタフェース内 IWorldWriter
public boolean destroyBlock(BlockPos p_225521_1_, boolean p_225521_2_, @Nullable Entity p_225521_3_)
destroyBlock
インタフェース内 IWorldWriter
public boolean setBlockState(BlockPos pos, BlockState state)
public abstract void notifyBlockUpdate(BlockPos pos, BlockState oldState, BlockState newState, int flags)
public void notifyNeighbors(BlockPos pos, Block blockIn)
notifyNeighbors
インタフェース内 IWorld
public void markBlockRangeForRenderUpdate(BlockPos blockPosIn, BlockState oldState, BlockState newState)
public void notifyNeighborsOfStateExcept(BlockPos pos, Block blockType, Direction skipSide)
public int getHeight(Heightmap.Type heightmapType, int x, int z)
getHeight
インタフェース内 IWorldReader
public WorldLightManager getLightManager()
getLightManager
インタフェース内 ILightReader
public BlockState getBlockState(BlockPos pos)
getBlockState
インタフェース内 IBlockReader
public IFluidState getFluidState(BlockPos pos)
getFluidState
インタフェース内 IBlockReader
public boolean isDaytime()
public boolean isNightTime()
public void playSound(@Nullable PlayerEntity player, BlockPos pos, SoundEvent soundIn, SoundCategory category, float volume, float pitch)
public abstract void playSound(@Nullable PlayerEntity player, double x, double y, double z, SoundEvent soundIn, SoundCategory category, float volume, float pitch)
public abstract void playMovingSound(@Nullable PlayerEntity playerIn, Entity entityIn, SoundEvent eventIn, SoundCategory categoryIn, float volume, float pitch)
public void playSound(double x, double y, double z, SoundEvent soundIn, SoundCategory category, float volume, float pitch, boolean distanceDelay)
public void addParticle(IParticleData particleData, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed)
addParticle
インタフェース内 IWorld
public void addParticle(IParticleData particleData, boolean forceAlwaysRender, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed)
public void addOptionalParticle(IParticleData particleData, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed)
public void addOptionalParticle(IParticleData particleData, boolean ignoreRange, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed)
public float getCelestialAngleRadians(float partialTicks)
public boolean addTileEntity(TileEntity tile)
public void addTileEntities(java.util.Collection<TileEntity> tileEntityCollection)
public void tickBlockEntities()
public void guardEntityTick(java.util.function.Consumer<Entity> consumerEntity, Entity entityIn)
public boolean checkBlockCollision(AxisAlignedBB bb)
public boolean isFlammableWithin(AxisAlignedBB bb)
@Nullable public BlockState findBlockstateInArea(AxisAlignedBB area, Block blockIn)
public boolean isMaterialInBB(AxisAlignedBB bb, Material materialIn)
public Explosion createExplosion(@Nullable Entity entityIn, double xIn, double yIn, double zIn, float explosionRadius, Explosion.Mode modeIn)
public Explosion createExplosion(@Nullable Entity entityIn, double xIn, double yIn, double zIn, float explosionRadius, boolean causesFire, Explosion.Mode modeIn)
public Explosion createExplosion(@Nullable Entity entityIn, @Nullable DamageSource damageSourceIn, double xIn, double yIn, double zIn, float explosionRadius, boolean causesFire, Explosion.Mode modeIn)
public boolean extinguishFire(@Nullable PlayerEntity player, BlockPos pos, Direction side)
public java.lang.String getProviderName()
@Nullable public TileEntity getTileEntity(BlockPos pos)
getTileEntity
インタフェース内 IBlockReader
public void setTileEntity(BlockPos pos, @Nullable TileEntity tileEntityIn)
public void removeTileEntity(BlockPos pos)
public boolean isBlockPresent(BlockPos pos)
public void calculateInitialSkylight()
public void setAllowedSpawnTypes(boolean hostile, boolean peaceful)
protected void calculateInitialWeather()
public void calculateInitialWeatherBody()
public void close() throws java.io.IOException
close
インタフェース内 java.lang.AutoCloseable
java.io.IOException
@Nullable public IBlockReader getBlockReader(int chunkX, int chunkZ)
getBlockReader
インタフェース内 ICollisionReader
getBlockReader
インタフェース内 IWorldReader
public java.util.List<Entity> getEntitiesInAABBexcluding(@Nullable Entity entityIn, AxisAlignedBB boundingBox, @Nullable java.util.function.Predicate<? super Entity> predicate)
getEntitiesInAABBexcluding
インタフェース内 IEntityReader
public <T extends Entity> java.util.List<T> getEntitiesWithinAABB(@Nullable EntityType<T> type, AxisAlignedBB boundingBox, java.util.function.Predicate<? super T> predicate)
public <T extends Entity> java.util.List<T> getEntitiesWithinAABB(java.lang.Class<? extends T> clazz, AxisAlignedBB aabb, @Nullable java.util.function.Predicate<? super T> filter)
getEntitiesWithinAABB
インタフェース内 IEntityReader
public <T extends Entity> java.util.List<T> getLoadedEntitiesWithinAABB(java.lang.Class<? extends T> p_225316_1_, AxisAlignedBB p_225316_2_, @Nullable java.util.function.Predicate<? super T> p_225316_3_)
getLoadedEntitiesWithinAABB
インタフェース内 IEntityReader
@Nullable public abstract Entity getEntityByID(int id)
public void markChunkDirty(BlockPos pos, TileEntity unusedTileEntity)
public int getSeaLevel()
getSeaLevel
インタフェース内 IWorldReader
public WorldType getWorldType()
public int getStrongPower(BlockPos pos)
public boolean isBlockPowered(BlockPos pos)
public int getRedstonePowerFromNeighbors(BlockPos pos)
public void sendQuittingDisconnectingPacket()
public void setGameTime(long worldTime)
public long getGameTime()
public long getDayTime()
public void setDayTime(long time)
protected void advanceTime()
public BlockPos getSpawnPoint()
getSpawnPoint
インタフェース内 IWorld
public void setSpawnPoint(BlockPos pos)
public boolean isBlockModifiable(PlayerEntity player, BlockPos pos)
public boolean canMineBlockBody(PlayerEntity player, BlockPos pos)
public void setEntityState(Entity entityIn, byte state)
public AbstractChunkProvider getChunkProvider()
getChunkProvider
インタフェース内 IWorld
public WorldInfo getWorldInfo()
getWorldInfo
インタフェース内 IWorld
public GameRules getGameRules()
public float getThunderStrength(float delta)
public void setThunderStrength(float strength)
public float getRainStrength(float delta)
public void setRainStrength(float strength)
public boolean isThundering()
public boolean isRaining()
public boolean isRainingAt(BlockPos position)
public boolean isBlockinHighHumidity(BlockPos pos)
@Nullable public abstract MapData getMapData(java.lang.String mapName)
public abstract void registerMapData(MapData mapDataIn)
public abstract int getNextMapId()
public void playBroadcastSound(int id, BlockPos pos, int data)
public int getActualHeight()
public CrashReportCategory fillCrashReport(CrashReport report)
public abstract void sendBlockBreakProgress(int breakerId, BlockPos pos, int progress)
public void makeFireworks(double x, double y, double z, double motionX, double motionY, double motionZ, @Nullable CompoundNBT compound)
public abstract Scoreboard getScoreboard()
public DifficultyInstance getDifficultyForLocation(BlockPos pos)
getDifficultyForLocation
インタフェース内 IWorld
public int getSkylightSubtracted()
getSkylightSubtracted
インタフェース内 IWorldReader
public void setTimeLightningFlash(int timeFlashIn)
public WorldBorder getWorldBorder()
getWorldBorder
インタフェース内 ICollisionReader
public void sendPacketToServer(IPacket<?> packetIn)
public Dimension getDimension()
getDimension
インタフェース内 IWorldReader
public boolean hasBlockState(BlockPos p_217375_1_, java.util.function.Predicate<BlockState> p_217375_2_)
hasBlockState
インタフェース内 IWorldGenerationBaseReader
public abstract RecipeManager getRecipeManager()
public abstract NetworkTagManager getTags()
public BlockPos getBlockRandomPos(int p_217383_1_, int p_217383_2_, int p_217383_3_, int p_217383_4_)
public boolean isSaveDisabled()
public IProfiler getProfiler()
public BiomeManager getBiomeManager()
getBiomeManager
インタフェース内 IWorldReader
public double getMaxEntityRadius()
IForgeWorld
getMaxEntityRadius
インタフェース内 IForgeWorld
public double increaseMaxEntityRadius(double value)
IForgeWorld
increaseMaxEntityRadius
インタフェース内 IForgeWorld
value
- New max radius to set.