net.minecraft.world.level

public interface LevelAccessor

extends CommonLevelAccessor, LevelTimeAccess, ScheduledTickAccess

dkk
net.minecraft.world.level.LevelAccessor
net.minecraft.class_1936
net.minecraft.world.WorldAccess
net.minecraft.src.C_1598_

Method summary

Modifier and TypeMethod
default long
am()
dayTime()
method_30271()
getLunarTime()
m_8044_()
long
I_()
nextSubTickCount()
method_39224()
getTickOrder()
m_183596_()
default <T> ScheduledTick<T>
a(iw arg0, T arg1, int arg2, fhy arg3)
createTick(BlockPos arg0, T arg1, int arg2, TickPriority arg3)
method_39284(class_2338 arg0, T arg1, int arg2, class_1953 arg3)
createOrderedTick(BlockPos arg0, T arg1, int arg2, TickPriority arg3)
m_186482_(C_4675_ p_186484_, T p_186485_, int p_186486_, C_183052_ arg3)
default <T> ScheduledTick<T>
a(iw arg0, T arg1, int arg2)
createTick(BlockPos arg0, T arg1, int arg2)
method_39283(class_2338 arg0, T arg1, int arg2)
createOrderedTick(BlockPos arg0, T arg1, int arg2)
m_186478_(C_4675_ p_186480_, T p_186481_, int arg2)
LevelData
C_()
getLevelData()
method_8401()
getLevelProperties()
m_6106_()
DifficultyInstance
d_(iw arg0)
getCurrentDifficultyAt(BlockPos arg0)
method_8404(class_2338 arg0)
getLocalDifficulty(BlockPos pos)
m_6436_(C_4675_ arg0)
MinecraftServer
p()
getServer()
method_8503()
getServer()
m_7654_()
default Difficulty
an()
getDifficulty()
method_8407()
getDifficulty()
m_46791_()
ChunkSource
S()
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)
RandomSource
G_()
getRandom()
method_8409()
getRandom()
m_213780_()
default void
a(iw arg0, dno arg1)
updateNeighborsAt(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)
default void
a(jc arg0, iw arg1, iw arg2, ebq arg3, int arg4, int arg5)
neighborShapeChanged(Direction arg0, BlockPos arg1, BlockPos arg2, BlockState arg3, int arg4, int arg5)
method_42308(class_2350 arg0, class_2338 arg1, class_2338 arg2, class_2680 arg3, int arg4, int arg5)
replaceWithStateForNeighborUpdate(Direction direction, BlockPos pos, BlockPos neighborPos, BlockState neighborState, int flags, int maxUpdateDepth)
m_213683_(C_4687_ p_220413_, C_4675_ p_220414_, C_4675_ p_220412_, C_2064_ p_220415_, int p_220416_, int arg5)
default void
a(bxe arg0, iw arg1, awx arg2, awz arg3)
playSound(Entity arg0, BlockPos arg1, SoundEvent arg2, SoundSource arg3)
method_45447(class_1297 arg0, class_2338 arg1, class_3414 arg2, class_3419 arg3)
playSound(Entity source, BlockPos pos, SoundEvent sound, SoundCategory category)
m_247517_(C_507_ p_250192_, C_4675_ p_249887_, C_123_ p_250593_, C_125_ arg3)
void
a(bxe arg0, iw arg1, awx arg2, awz arg3, float arg4, float arg5)
playSound(Entity arg0, BlockPos arg1, SoundEvent arg2, SoundSource arg3, float arg4, float arg5)
method_8396(class_1297 arg0, class_2338 arg1, class_3414 arg2, class_3419 arg3, float arg4, float arg5)
playSound(Entity source, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch)
m_5594_(C_507_ p_46776_, C_4675_ p_46777_, C_123_ p_46778_, C_125_ p_46779_, float p_46780_, float arg5)
void
a(lx 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)
addParticleClient(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(bxe arg0, int arg1, iw arg2, int arg3)
levelEvent(Entity arg0, int arg1, BlockPos arg2, int arg3)
method_8444(class_1297 arg0, int arg1, class_2338 arg2, int arg3)
syncWorldEvent(Entity source, int eventId, BlockPos pos, int data)
m_5898_(C_507_ p_46772_, int p_46773_, C_4675_ p_46774_, int arg3)
default void
c(int arg0, iw 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(jg<egq> arg0, fgc arg1, egq$a arg2)
gameEvent(Holder<GameEvent> arg0, Vec3 arg1, GameEvent$Context arg2)
method_32888(class_6880<class_5712> arg0, class_243 arg1, class_5712$class_7397 arg2)
emitGameEvent(RegistryEntry<GameEvent> event, Vec3d emitterPos, GameEvent$Emitter emitter)
m_214171_(C_203228_<C_141307_> p_220405_, C_3046_ p_220406_, C_141307_$C_213130_ arg2)
default void
a(bxe arg0, jg<egq> arg1, fgc arg2)
gameEvent(Entity arg0, Holder<GameEvent> arg1, Vec3 arg2)
method_43275(class_1297 arg0, class_6880<class_5712> arg1, class_243 arg2)
emitGameEvent(Entity entity, RegistryEntry<GameEvent> event, Vec3d pos)
m_220400_(C_507_ p_334728_, C_203228_<C_141307_> p_220403_, C_3046_ arg2)
default void
a(bxe arg0, jg<egq> arg1, iw arg2)
gameEvent(Entity arg0, Holder<GameEvent> arg1, BlockPos arg2)
method_33596(class_1297 arg0, class_6880<class_5712> arg1, class_2338 arg2)
emitGameEvent(Entity entity, RegistryEntry<GameEvent> event, BlockPos pos)
m_142346_(C_507_ p_331725_, C_203228_<C_141307_> p_151551_, C_4675_ arg2)
default void
a(jg<egq> arg0, iw arg1, egq$a arg2)
gameEvent(Holder<GameEvent> arg0, BlockPos arg1, GameEvent$Context arg2)
method_43276(class_6880<class_5712> arg0, class_2338 arg1, class_5712$class_7397 arg2)
emitGameEvent(RegistryEntry<GameEvent> event, BlockPos pos, GameEvent$Emitter emitter)
m_322719_(C_203228_<C_141307_> p_334961_, C_4675_ p_335744_, C_141307_$C_213130_ arg2)
default void
a(alq<egq> arg0, iw arg1, egq$a arg2)
gameEvent(ResourceKey<GameEvent> arg0, BlockPos arg1, GameEvent$Context arg2)
method_55764(class_5321<class_5712> arg0, class_2338 arg1, class_5712$class_7397 arg2)
emitGameEvent(RegistryKey<GameEvent> event, BlockPos pos, GameEvent$Emitter emitter)
m_220407_(C_5264_<C_141307_> p_220409_, C_4675_ p_220410_, C_141307_$C_213130_ arg2)