Package net.minecraft.world
Interface IWorld
- All Superinterfaces:
BiomeManager.IBiomeReader,IBiomeReader,IBlockDisplayReader,IBlockReader,ICollisionReader,IDayTimeReader,IEntityReader,IWorldGenerationBaseReader,IWorldGenerationReader,IWorldReader,IWorldWriter
- All Known Subinterfaces:
ISeedReader,IServerWorld
- All Known Implementing Classes:
ClientWorld,ServerWorld,World,WorldGenRegion
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddParticle(IParticleData p_195594_1_, double p_195594_2_, double p_195594_4_, double p_195594_6_, double p_195594_8_, double p_195594_10_, double p_195594_12_) default voidblockUpdated(BlockPos p_230547_1_, Block p_230547_2_) default longdayTime()getCurrentDifficultyAt(BlockPos p_175649_1_) default Difficultydefault intdefault booleanhasChunk(int p_217354_1_, int p_217354_2_) default voidlevelEvent(int p_217379_1_, BlockPos p_217379_2_, int p_217379_3_) voidlevelEvent(PlayerEntity p_217378_1_, int p_217378_2_, BlockPos p_217378_3_, int p_217378_4_) voidplaySound(PlayerEntity p_184133_1_, BlockPos p_184133_2_, SoundEvent p_184133_3_, SoundCategory p_184133_4_, float p_184133_5_, float p_184133_6_) Methods inherited from interface net.minecraft.world.IBiomeReader
getBiomeName, getEntityCollisions, getHeightmapPos, isUnobstructed, registryAccessMethods inherited from interface net.minecraft.world.IBlockDisplayReader
canSeeSky, getBrightness, getLightEngine, getRawBrightness, getShadeMethods inherited from interface net.minecraft.world.IBlockReader
clip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockState, getBlockStates, getFluidState, getLightEmission, getMaxBuildHeight, getMaxLightLevelMethods inherited from interface net.minecraft.world.ICollisionReader
getBlockCollisions, getBlockCollisions, getCollisions, getEntityCollisions, getWorldBorder, isUnobstructed, isUnobstructed, isUnobstructed, noBlockCollision, noCollision, noCollision, noCollision, noCollisionMethods inherited from interface net.minecraft.world.IDayTimeReader
getMoonBrightness, getMoonPhase, getTimeOfDayMethods inherited from interface net.minecraft.world.IEntityReader
getEntities, getEntities, getEntitiesOfClass, getEntitiesOfClass, getLoadedEntitiesOfClass, getLoadedEntitiesOfClass, getNearbyEntities, getNearbyPlayers, getNearestEntity, getNearestEntity, getNearestLoadedEntity, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getPlayerByUUID, hasNearbyAlivePlayer, playersMethods inherited from interface net.minecraft.world.gen.IWorldGenerationBaseReader
isStateAtPositionMethods inherited from interface net.minecraft.world.IWorldReader
canSeeSkyFromBelowWater, containsAnyLiquid, dimensionType, getBiome, getBiomeManager, getBlockStatesIfLoaded, getBlockTint, getBrightness, getChunk, getChunk, getChunk, getChunk, getChunkForCollisions, getDirectSignal, getHeight, getMaxLocalRawBrightness, getMaxLocalRawBrightness, getNoiseBiome, getSeaLevel, getSkyDarken, getUncachedNoiseBiome, hasChunkAt, hasChunksAt, hasChunksAt, isAreaLoaded, isClientSide, isEmptyBlock, isWaterAtMethods inherited from interface net.minecraft.world.IWorldWriter
addFreshEntity, destroyBlock, destroyBlock, destroyBlock, removeBlock, setBlock, setBlock
-
Method Details
-
dayTime
default long dayTime()- Specified by:
dayTimein interfaceIDayTimeReader
-
getBlockTicks
-
getLiquidTicks
-
getLevelData
IWorldInfo getLevelData() -
getCurrentDifficultyAt
-
getDifficulty
-
getChunkSource
AbstractChunkProvider getChunkSource() -
hasChunk
default boolean hasChunk(int p_217354_1_, int p_217354_2_) - Specified by:
hasChunkin interfaceIWorldReader
-
getRandom
Random getRandom() -
blockUpdated
-
playSound
void playSound(@Nullable PlayerEntity p_184133_1_, BlockPos p_184133_2_, SoundEvent p_184133_3_, SoundCategory p_184133_4_, float p_184133_5_, float p_184133_6_) -
addParticle
void addParticle(IParticleData p_195594_1_, double p_195594_2_, double p_195594_4_, double p_195594_6_, double p_195594_8_, double p_195594_10_, double p_195594_12_) -
levelEvent
void levelEvent(@Nullable PlayerEntity p_217378_1_, int p_217378_2_, BlockPos p_217378_3_, int p_217378_4_) -
getHeight
default int getHeight() -
levelEvent
-