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_31081
getClosestEntity, getClosestEntity, getClosestEntityIncludingUngeneratedChunks, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getEntitiesByClass, getEntitiesIncludingUngeneratedChunks, getEntitiesIncludingUngeneratedChunks, getNonSpectatingEntities, getOtherEntities, getOtherEntities, getPlayerByUuid, getPlayers, getPlayers, getTargets, isPlayerInRange
testBlockState
breakBlock, breakBlock, breakBlock, removeBlock, setBlockState, setBlockState, spawnEntity
getMoonPhase, getMoonSize, getSkyAngle
containsFluid, 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_29556
getBaseLightLevel, getBrightness, getLightingProvider, getLightLevel, isSkyVisible
canPlace, getBlockCollisions, getBlockCollisions, getCollisions, getWorldBorder, intersectsEntities, isBlockSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty
getBlockEntity, getBlockState, getDismountHeight, getDismountHeight, getFluidState, getHeight, getLuminance, getMaxLightLevel, method_29546, raycast, raycast, raycastBlock
default long getLunarTime()
getLunarTime
in interface LunarWorldView
TickScheduler<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 WorldView
Random 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)