public interface WorldAccess extends class_5423, LunarWorldView
| Modifier and Type | Method and Description |
|---|---|
void |
addParticle(ParticleEffect parameters,
double x,
double y,
double z,
double velocityX,
double velocityY,
double velocityZ) |
TickScheduler<Block> |
getBlockTickScheduler() |
ChunkManager |
getChunkManager() |
default Difficulty |
getDifficulty() |
default int |
getDimensionHeight() |
TickScheduler<Fluid> |
getFluidTickScheduler() |
WorldProperties |
getLevelProperties() |
LocalDifficulty |
getLocalDifficulty(BlockPos pos) |
default long |
getLunarTime() |
Random |
getRandom() |
default boolean |
isChunkLoaded(int chunkX,
int chunkZ) |
void |
playSound(PlayerEntity player,
BlockPos pos,
SoundEvent sound,
SoundCategory category,
float volume,
float pitch) |
default void |
syncWorldEvent(int eventId,
BlockPos pos,
int data) |
void |
syncWorldEvent(PlayerEntity player,
int eventId,
BlockPos pos,
int data) |
default void |
updateNeighbors(BlockPos pos,
Block block) |
getEntityCollisions, getRegistryManager, getTopPosition, intersectsEntities, method_31081getClosestEntity, getClosestEntity, getClosestEntityIncludingUngeneratedChunks, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getEntitiesByClass, getEntitiesIncludingUngeneratedChunks, getEntitiesIncludingUngeneratedChunks, getNonSpectatingEntities, getOtherEntities, getOtherEntities, getPlayerByUuid, getPlayers, getPlayers, getTargets, isPlayerInRangetestBlockStatebreakBlock, breakBlock, breakBlock, removeBlock, setBlockState, setBlockState, spawnEntitygetMoonPhase, getMoonSize, getSkyAnglecontainsFluid, getAmbientDarkness, getBiome, getBiomeAccess, getBiomeForNoiseGen, getBrightness, getChunk, getChunk, getChunk, getChunk, getColor, getDimension, getExistingChunk, getGeneratorStoredBiome, getLightLevel, getLightLevel, getSeaLevel, getStrongRedstonePower, getTopY, isAir, isChunkLoaded, isClient, isRegionLoaded, isRegionLoaded, isSkyVisibleAllowingSea, isWater, method_29556getBaseLightLevel, getBrightness, getLightingProvider, getLightLevel, isSkyVisiblecanPlace, getBlockCollisions, getBlockCollisions, getCollisions, getWorldBorder, intersectsEntities, isBlockSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmptygetBlockEntity, getBlockState, getDismountHeight, getDismountHeight, getFluidState, getHeight, getLuminance, getMaxLightLevel, method_29546, raycast, raycast, raycastBlockdefault long getLunarTime()
getLunarTime in interface LunarWorldViewTickScheduler<Block> getBlockTickScheduler()
TickScheduler<Fluid> getFluidTickScheduler()
WorldProperties getLevelProperties()
LocalDifficulty getLocalDifficulty(BlockPos pos)
default Difficulty getDifficulty()
ChunkManager getChunkManager()
default boolean isChunkLoaded(int chunkX,
int chunkZ)
isChunkLoaded in interface WorldViewRandom getRandom()
void playSound(@Nullable PlayerEntity player, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch)
void addParticle(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ)
void syncWorldEvent(@Nullable PlayerEntity player, int eventId, BlockPos pos, int data)
default int getDimensionHeight()
default void syncWorldEvent(int eventId,
BlockPos pos,
int data)