net.minecraft.world.level

public interface LevelAccessor

extends CommonLevelAccessor, LevelTimeAccess

cae
net.minecraft.world.level.LevelAccessor
net.minecraft.class_1936
net.minecraft.world.WorldAccess
net.minecraft.src.C_1598_
net.minecraft.world.level.GeneratorAccess

Method summary

Modifier and TypeMethod
default long
ae()
dayTime()
method_30271()
getLunarTime()
m_8044_()
long
t_()
nextSubTickCount()
method_39224()
getTickOrder()
m_183596_()
LevelTickAccess<Block>
N()
getBlockTicks()
method_8397()
getBlockTickScheduler()
m_183326_()
private <T> ScheduledTick<T>
a(gh arg0, T arg1, int arg2, dqa arg3)
createTick(BlockPos arg0, T arg1, int arg2, TickPriority arg3)
method_39284(class_2338 arg0, T arg1, int arg2, class_1953 arg3)
createOrderedTick(BlockPos pos, T type, int delay, TickPriority priority)
m_186482_(C_4675_ p_186484_, T p_186485_, int p_186486_, C_183052_ arg3)
private <T> ScheduledTick<T>
a(gh arg0, T arg1, int arg2)
createTick(BlockPos arg0, T arg1, int arg2)
method_39283(class_2338 arg0, T arg1, int arg2)
createOrderedTick(BlockPos pos, T type, int delay)
m_186478_(C_4675_ p_186480_, T p_186481_, int arg2)
default void
a(gh arg0, ccy arg1, int arg2, dqa arg3)
scheduleTick(BlockPos arg0, Block arg1, int arg2, TickPriority arg3)
method_39280(class_2338 arg0, class_2248 arg1, int arg2, class_1953 arg3)
createAndScheduleBlockTick(BlockPos pos, Block block, int delay, TickPriority priority)
m_186464_(C_4675_ p_186466_, C_1706_ p_186467_, int p_186468_, C_183052_ arg3)
default void
a(gh arg0, ccy arg1, int arg2)
scheduleTick(BlockPos arg0, Block arg1, int arg2)
method_39279(class_2338 arg0, class_2248 arg1, int arg2)
createAndScheduleBlockTick(BlockPos pos, Block block, int delay)
m_186460_(C_4675_ p_186462_, C_1706_ p_186463_, int arg2)
LevelTickAccess<Fluid>
M()
getFluidTicks()
method_8405()
getFluidTickScheduler()
m_183324_()
default void
a(gh arg0, dhu arg1, int arg2, dqa arg3)
scheduleTick(BlockPos arg0, Fluid arg1, int arg2, TickPriority arg3)
method_39282(class_2338 arg0, class_3611 arg1, int arg2, class_1953 arg3)
createAndScheduleFluidTick(BlockPos pos, Fluid fluid, int delay, TickPriority priority)
m_186473_(C_4675_ p_186475_, C_2690_ p_186476_, int p_186477_, C_183052_ arg3)
default void
a(gh arg0, dhu arg1, int arg2)
scheduleTick(BlockPos arg0, Fluid arg1, int arg2)
method_39281(class_2338 arg0, class_3611 arg1, int arg2)
createAndScheduleFluidTick(BlockPos pos, Fluid fluid, int delay)
m_186469_(C_4675_ p_186471_, C_2690_ p_186472_, int arg2)
LevelData
n_()
getLevelData()
method_8401()
getLevelProperties()
m_6106_()
DifficultyInstance
d_(gh arg0)
getCurrentDifficultyAt(BlockPos arg0)
method_8404(class_2338 arg0)
getLocalDifficulty(BlockPos pos)
m_6436_(C_4675_ arg0)
MinecraftServer
n()
getServer()
method_8503()
getServer()
m_142572_()
default Difficulty
af()
getDifficulty()
method_8407()
getDifficulty()
m_46791_()
ChunkSource
L()
getChunkSource()
method_8398()
getChunkManager()
m_7726_()
default boolean
b(int arg0, int arg1)
hasChunk(int arg0, int arg1)
method_8393(int arg0, int arg1)
isChunkLoaded(int arg0, int arg1)
m_7232_(int p_46795_, int arg1)
Random
r_()
getRandom()
method_8409()
getRandom()
m_5822_()
default void
a(gh arg0, ccy arg1)
blockUpdated(BlockPos arg0, Block arg1)
method_8408(class_2338 arg0, class_2248 arg1)
updateNeighbors(BlockPos pos, Block block)
m_6289_(C_4675_ p_46782_, C_1706_ arg1)
void
a(bnr arg0, gh arg1, agu arg2, agw arg3, float arg4, float arg5)
playSound(Player arg0, BlockPos arg1, SoundEvent arg2, SoundSource arg3, float arg4, float arg5)
method_8396(class_1657 arg0, class_2338 arg1, class_3414 arg2, class_3419 arg3, float arg4, float arg5)
playSound(PlayerEntity player, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch)
m_5594_(C_1141_ p_46776_, C_4675_ p_46777_, C_123_ p_46778_, C_125_ p_46779_, float p_46780_, float arg5)
void
a(hv arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6)
addParticle(ParticleOptions arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6)
method_8406(class_2394 arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6)
addParticle(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ)
m_7106_(C_4756_ p_46784_, double p_46785_, double p_46787_, double p_46789_, double arg4, double arg5, double arg6)
void
a(bnr arg0, int arg1, gh arg2, int arg3)
levelEvent(Player arg0, int arg1, BlockPos arg2, int arg3)
method_8444(class_1657 arg0, int arg1, class_2338 arg2, int arg3)
syncWorldEvent(PlayerEntity player, int eventId, BlockPos pos, int data)
m_5898_(C_1141_ p_46772_, int p_46773_, C_4675_ p_46774_, int arg3)
default void
c(int arg0, gh arg1, int arg2)
levelEvent(int arg0, BlockPos arg1, int arg2)
method_20290(int arg0, class_2338 arg1, int arg2)
syncWorldEvent(int eventId, BlockPos pos, int data)
m_46796_(int p_46798_, C_4675_ p_46799_, int arg2)
void
a(awt arg0, csg arg1, gh arg2)
gameEvent(Entity arg0, GameEvent arg1, BlockPos arg2)
method_32888(class_1297 arg0, class_5712 arg1, class_2338 arg2)
emitGameEvent(Entity entity, GameEvent event, BlockPos pos)
m_142346_(C_507_ p_151550_, C_141307_ p_151551_, C_4675_ arg2)
default void
a(csg arg0, gh arg1)
gameEvent(GameEvent arg0, BlockPos arg1)
method_32889(class_5712 arg0, class_2338 arg1)
emitGameEvent(GameEvent event, BlockPos pos)
m_151555_(C_141307_ p_151557_, C_4675_ arg1)
default void
a(csg arg0, awt arg1)
gameEvent(GameEvent arg0, Entity arg1)
method_33596(class_5712 arg0, class_1297 arg1)
emitGameEvent(GameEvent event, Entity emitter)
m_151552_(C_141307_ p_151554_, C_507_ arg1)
default void
a(awt arg0, csg arg1, awt arg2)
gameEvent(Entity arg0, GameEvent arg1, Entity arg2)
method_32887(class_1297 arg0, class_5712 arg1, class_1297 arg2)
emitGameEvent(Entity entity, GameEvent event, Entity emitter)
m_151545_(C_507_ p_151547_, C_141307_ p_151548_, C_507_ arg2)