Uses of Interface
net.minecraft.world.level.LevelAccessor
Package
Description
-
Uses of LevelAccessor in net.minecraft.client.multiplayer
-
Uses of LevelAccessor in net.minecraft.server.level
-
Uses of LevelAccessor in net.minecraft.world
Modifier and TypeMethodDescriptionWorldlyContainerHolder.getContainer(BlockState p_19242_, LevelAccessor p_19243_, BlockPos p_19244_)
-
Uses of LevelAccessor in net.minecraft.world.entity
Modifier and TypeMethodDescriptionstatic boolean
Mob.checkMobSpawnRules(EntityType<? extends Mob> p_21401_, LevelAccessor p_21402_, MobSpawnType p_21403_, BlockPos p_21404_, Random p_21405_)
boolean
Mob.checkSpawnRules(LevelAccessor p_21431_, MobSpawnType p_21432_)
boolean
PathfinderMob.checkSpawnRules(LevelAccessor p_21686_, MobSpawnType p_21687_)
-
Uses of LevelAccessor in net.minecraft.world.entity.ai.goal
Modifier and TypeMethodDescriptionvoid
RemoveBlockGoal.playDestroyProgressSound(LevelAccessor p_25847_, BlockPos p_25848_)
-
Uses of LevelAccessor in net.minecraft.world.entity.ambient
Modifier and TypeMethodDescriptionstatic boolean
Bat.checkBatSpawnRules(EntityType<Bat> p_27434_, LevelAccessor p_27435_, MobSpawnType p_27436_, BlockPos p_27437_, Random p_27438_)
-
Uses of LevelAccessor in net.minecraft.world.entity.animal
Modifier and TypeMethodDescriptionstatic boolean
Animal.checkAnimalSpawnRules(EntityType<? extends Animal> p_27578_, LevelAccessor p_27579_, MobSpawnType p_27580_, BlockPos p_27581_, Random p_27582_)
static boolean
Dolphin.checkDolphinSpawnRules(EntityType<Dolphin> p_28346_, LevelAccessor p_28347_, MobSpawnType p_28348_, BlockPos p_28349_, Random p_28350_)
static boolean
AbstractFish.checkFishSpawnRules(EntityType<? extends AbstractFish> p_27468_, LevelAccessor p_27469_, MobSpawnType p_27470_, BlockPos p_27471_, Random p_27472_)
static boolean
MushroomCow.checkMushroomSpawnRules(EntityType<MushroomCow> p_28949_, LevelAccessor p_28950_, MobSpawnType p_28951_, BlockPos p_28952_, Random p_28953_)
static boolean
Ocelot.checkOcelotSpawnRules(EntityType<Ocelot> p_29026_, LevelAccessor p_29027_, MobSpawnType p_29028_, BlockPos p_29029_, Random p_29030_)
static boolean
Parrot.checkParrotSpawnRules(EntityType<Parrot> p_29424_, LevelAccessor p_29425_, MobSpawnType p_29426_, BlockPos p_29427_, Random p_29428_)
static boolean
PolarBear.checkPolarBearSpawnRules(EntityType<PolarBear> p_29550_, LevelAccessor p_29551_, MobSpawnType p_29552_, BlockPos p_29553_, Random p_29554_)
static boolean
Rabbit.checkRabbitSpawnRules(EntityType<Rabbit> p_29699_, LevelAccessor p_29700_, MobSpawnType p_29701_, BlockPos p_29702_, Random p_29703_)
static boolean
Squid.checkSquidSpawnRules(EntityType<Squid> p_29969_, LevelAccessor p_29970_, MobSpawnType p_29971_, BlockPos p_29972_, Random p_29973_)
static boolean
Turtle.checkTurtleSpawnRules(EntityType<Turtle> p_30179_, LevelAccessor p_30180_, MobSpawnType p_30181_, BlockPos p_30182_, Random p_30183_)
private int
Rabbit.getRandomRabbitType(LevelAccessor p_29676_)
-
Uses of LevelAccessor in net.minecraft.world.entity.monster
Modifier and TypeMethodDescriptionstatic boolean
Monster.checkAnyLightMonsterSpawnRules(EntityType<? extends Monster> p_33024_, LevelAccessor p_33025_, MobSpawnType p_33026_, BlockPos p_33027_, Random p_33028_)
static boolean
Endermite.checkEndermiteSpawnRules(EntityType<Endermite> p_32598_, LevelAccessor p_32599_, MobSpawnType p_32600_, BlockPos p_32601_, Random p_32602_)
static boolean
Ghast.checkGhastSpawnRules(EntityType<Ghast> p_32735_, LevelAccessor p_32736_, MobSpawnType p_32737_, BlockPos p_32738_, Random p_32739_)
static boolean
Guardian.checkGuardianSpawnRules(EntityType<? extends Guardian> p_32837_, LevelAccessor p_32838_, MobSpawnType p_32839_, BlockPos p_32840_, Random p_32841_)
static boolean
MagmaCube.checkMagmaCubeSpawnRules(EntityType<MagmaCube> p_32981_, LevelAccessor p_32982_, MobSpawnType p_32983_, BlockPos p_32984_, Random p_32985_)
static boolean
PatrollingMonster.checkPatrollingMonsterSpawnRules(EntityType<? extends PatrollingMonster> p_33057_, LevelAccessor p_33058_, MobSpawnType p_33059_, BlockPos p_33060_, Random p_33061_)
static boolean
Slime.checkSlimeSpawnRules(EntityType<Slime> p_33621_, LevelAccessor p_33622_, MobSpawnType p_33623_, BlockPos p_33624_, Random p_33625_)
static boolean
Silverfish.checkSliverfishSpawnRules(EntityType<Silverfish> p_33534_, LevelAccessor p_33535_, MobSpawnType p_33536_, BlockPos p_33537_, Random p_33538_)
static boolean
Strider.checkStriderSpawnRules(EntityType<Strider> p_33922_, LevelAccessor p_33923_, MobSpawnType p_33924_, BlockPos p_33925_, Random p_33926_)
static boolean
ZombifiedPiglin.checkZombifiedPiglinSpawnRules(EntityType<ZombifiedPiglin> p_34450_, LevelAccessor p_34451_, MobSpawnType p_34452_, BlockPos p_34453_, Random p_34454_)
private static boolean
Drowned.isDeepEnoughToSpawn(LevelAccessor p_32367_, BlockPos p_32368_)
void
Zombie.ZombieAttackTurtleEggGoal.playDestroyProgressSound(LevelAccessor p_34351_, BlockPos p_34352_)
-
Uses of LevelAccessor in net.minecraft.world.entity.monster.hoglin
Modifier and TypeMethodDescriptionstatic boolean
Hoglin.checkHoglinSpawnRules(EntityType<Hoglin> p_34534_, LevelAccessor p_34535_, MobSpawnType p_34536_, BlockPos p_34537_, Random p_34538_)
-
Uses of LevelAccessor in net.minecraft.world.entity.monster.piglin
Modifier and TypeMethodDescriptionstatic boolean
Piglin.checkPiglinSpawnRules(EntityType<Piglin> p_34734_, LevelAccessor p_34735_, MobSpawnType p_34736_, BlockPos p_34737_, Random p_34738_)
-
Uses of LevelAccessor in net.minecraft.world.item
Modifier and TypeMethodDescriptionstatic void
BoneMealItem.addGrowthParticles(LevelAccessor p_40639_, BlockPos p_40640_, int p_40641_)
private boolean
DebugStickItem.handleInteraction(Player p_150803_, BlockState p_150804_, LevelAccessor p_150805_, BlockPos p_150806_, boolean p_150807_, ItemStack p_150808_)
protected void
BucketItem.playEmptySound(Player p_40696_, LevelAccessor p_40697_, BlockPos p_40698_)
protected void
MobBucketItem.playEmptySound(Player p_151151_, LevelAccessor p_151152_, BlockPos p_151153_)
-
Uses of LevelAccessor in net.minecraft.world.level
ModifierConstructorDescriptionStructureFeatureManager(LevelAccessor p_47269_, WorldGenSettings p_47270_)
-
Uses of LevelAccessor in net.minecraft.world.level.block
Modifier and TypeFieldDescriptionprivate LevelAccessor
ComposterBlock.InputContainer.level
private LevelAccessor
ComposterBlock.OutputContainer.level
Modifier and TypeMethodDescription(package private) static BlockState
ComposterBlock.addItem(BlockState p_51984_, LevelAccessor p_51985_, BlockPos p_51986_, ItemStack p_51987_)
static <S extends BlockEntity>
DoubleBlockCombiner.NeighborCombineResult<S>DoubleBlockCombiner.combineWithNeigbour(BlockEntityType<S> p_52823_, Function<BlockState,DoubleBlockCombiner.BlockType> p_52824_, Function<BlockState,Direction> p_52825_, DirectionProperty p_52826_, BlockState p_52827_, LevelAccessor p_52828_, BlockPos p_52829_, BiPredicate<LevelAccessor,BlockPos> p_52830_)
private static void
PointedDripstoneBlock.createDripstone(LevelAccessor p_154088_, BlockPos p_154089_, Direction p_154090_, DripstoneThickness p_154091_)
private static void
PointedDripstoneBlock.createMergedTips(BlockState p_154231_, LevelAccessor p_154232_, BlockPos p_154233_)
void
Block.destroy(LevelAccessor p_49860_, BlockPos p_49861_, BlockState p_49862_)
void
StairBlock.destroy(LevelAccessor p_56882_, BlockPos p_56883_, BlockState p_56884_)
static void
CampfireBlock.dowse(Entity p_152750_, LevelAccessor p_152751_, BlockPos p_152752_, BlockState p_152753_)
static void
Block.dropResources(BlockState p_49893_, LevelAccessor p_49894_, BlockPos p_49895_, BlockEntity p_49896_)
protected static InteractionResult
CakeBlock.eat(LevelAccessor p_51186_, BlockPos p_51187_, BlockState p_51188_, Player p_51189_)
(package private) static BlockState
ComposterBlock.empty(BlockState p_52003_, LevelAccessor p_52004_, BlockPos p_52005_)
static void
AbstractCandleBlock.extinguish(Player p_151900_, BlockState p_151901_, LevelAccessor p_151902_, BlockPos p_151903_)
PointedDripstoneBlock.findBlockVertical(LevelAccessor p_154081_, BlockPos p_154082_, Direction.AxisDirection p_154083_, Predicate<BlockState> p_154084_, Predicate<BlockState> p_154085_, int p_154086_)
private static BlockPos
PointedDripstoneBlock.findTip(BlockState p_154131_, LevelAccessor p_154132_, BlockPos p_154133_, int p_154134_, boolean p_154135_)
private void
LiquidBlock.fizz(LevelAccessor p_54701_, BlockPos p_54702_)
static void
ChorusFlowerBlock.generatePlant(LevelAccessor p_51666_, BlockPos p_51667_, Random p_51668_, int p_51669_)
ComposterBlock.getContainer(BlockState p_51956_, LevelAccessor p_51957_, BlockPos p_51958_)
GrowingPlantBlock.getStateForPlacement(LevelAccessor p_53869_)
GrowingPlantHeadBlock.getStateForPlacement(LevelAccessor p_53949_)
private BlockState
FireBlock.getStateWithAge(LevelAccessor p_53438_, BlockPos p_53439_, int p_53440_)
private static void
ChorusFlowerBlock.growTreeRecursive(LevelAccessor p_51671_, BlockPos p_51672_, Random p_51673_, BlockPos p_51674_, int p_51675_, int p_51676_)
private static boolean
ChestBlock.isCatSittingOnChest(LevelAccessor p_51564_, BlockPos p_51565_)
static boolean
ChestBlock.isChestBlockedAt(LevelAccessor p_51509_, BlockPos p_51510_)
private static void
LeverBlock.makeParticle(BlockState p_54658_, LevelAccessor p_54659_, BlockPos p_54660_, float p_54661_)
BubbleColumnBlock.pickupBlock(LevelAccessor p_152712_, BlockPos p_152713_, BlockState p_152714_)
BucketPickup.pickupBlock(LevelAccessor p_152719_, BlockPos p_152720_, BlockState p_152721_)
LiquidBlock.pickupBlock(LevelAccessor p_153772_, BlockPos p_153773_, BlockState p_153774_)
PowderSnowBlock.pickupBlock(LevelAccessor p_154281_, BlockPos p_154282_, BlockState p_154283_)
default ItemStack
SimpleWaterloggedBlock.pickupBlock(LevelAccessor p_154560_, BlockPos p_154561_, BlockState p_154562_)
protected static boolean
BigDripleafBlock.place(LevelAccessor p_152242_, BlockPos p_152243_, FluidState p_152244_, Direction p_152245_)
protected static boolean
BigDripleafStemBlock.place(LevelAccessor p_152350_, BlockPos p_152351_, FluidState p_152352_, Direction p_152353_)
static void
DoublePlantBlock.placeAt(LevelAccessor p_153174_, BlockState p_153175_, BlockPos p_153176_, int p_153177_)
boolean
CampfireBlock.placeLiquid(LevelAccessor p_51257_, BlockPos p_51258_, BlockState p_51259_, FluidState p_51260_)
boolean
CandleBlock.placeLiquid(LevelAccessor p_152805_, BlockPos p_152806_, BlockState p_152807_, FluidState p_152808_)
boolean
KelpBlock.placeLiquid(LevelAccessor p_54309_, BlockPos p_54310_, BlockState p_54311_, FluidState p_54312_)
boolean
KelpPlantBlock.placeLiquid(LevelAccessor p_54330_, BlockPos p_54331_, BlockState p_54332_, FluidState p_54333_)
boolean
LiquidBlockContainer.placeLiquid(LevelAccessor p_54770_, BlockPos p_54771_, BlockState p_54772_, FluidState p_54773_)
boolean
SeagrassBlock.placeLiquid(LevelAccessor p_154520_, BlockPos p_154521_, BlockState p_154522_, FluidState p_154523_)
default boolean
SimpleWaterloggedBlock.placeLiquid(LevelAccessor p_56306_, BlockPos p_56307_, BlockState p_56308_, FluidState p_56309_)
boolean
SlabBlock.placeLiquid(LevelAccessor p_56368_, BlockPos p_56369_, BlockState p_56370_, FluidState p_56371_)
boolean
TallSeagrassBlock.placeLiquid(LevelAccessor p_154758_, BlockPos p_154759_, BlockState p_154760_, FluidState p_154761_)
static void
BigDripleafBlock.placeWithRandomHeight(LevelAccessor p_152247_, Random p_152248_, BlockPos p_152249_, Direction p_152250_)
protected abstract void
BasePressurePlateBlock.playOffSound(LevelAccessor p_49338_, BlockPos p_49339_)
protected void
PressurePlateBlock.playOffSound(LevelAccessor p_55267_, BlockPos p_55268_)
protected void
WeightedPressurePlateBlock.playOffSound(LevelAccessor p_58216_, BlockPos p_58217_)
protected abstract void
BasePressurePlateBlock.playOnSound(LevelAccessor p_49299_, BlockPos p_49300_)
protected void
PressurePlateBlock.playOnSound(LevelAccessor p_55256_, BlockPos p_55257_)
protected void
WeightedPressurePlateBlock.playOnSound(LevelAccessor p_58205_, BlockPos p_58206_)
protected void
ButtonBlock.playSound(Player p_51068_, LevelAccessor p_51069_, BlockPos p_51070_, boolean p_51071_)
private void
PointedDripstoneBlock.scheduleStalactiteFallTicks(BlockState p_154127_, LevelAccessor p_154128_, BlockPos p_154129_)
private static void
AbstractCandleBlock.setLit(LevelAccessor p_151919_, BlockState p_151920_, BlockPos p_151921_, boolean p_151922_)
private static void
TargetBlock.setOutputPower(LevelAccessor p_57386_, BlockState p_57387_, int p_57388_, BlockPos p_57389_, int p_57390_)
void
JukeboxBlock.setRecord(LevelAccessor p_54270_, BlockPos p_54271_, BlockState p_54272_, ItemStack p_54273_)
boolean
MultifaceBlock.spreadFromFaceTowardDirection(BlockState p_153867_, LevelAccessor p_153868_, BlockPos p_153869_, Direction p_153870_, Direction p_153871_, boolean p_153872_)
boolean
MultifaceBlock.spreadFromFaceTowardRandomDirection(BlockState p_153874_, LevelAccessor p_153875_, BlockPos p_153876_, Direction p_153877_, Random p_153878_, boolean p_153879_)
private boolean
MultifaceBlock.spreadToFace(LevelAccessor p_153835_, BlockPos p_153836_, Direction p_153837_, boolean p_153838_)
private void
ObserverBlock.startSignal(LevelAccessor p_55093_, BlockPos p_55094_)
protected void
BaseCoralPlantTypeBlock.tryScheduleDieTick(BlockState p_49165_, LevelAccessor p_49166_, BlockPos p_49167_)
static void
BubbleColumnBlock.updateColumn(LevelAccessor p_152708_, BlockPos p_152709_, BlockState p_152710_)
static void
BubbleColumnBlock.updateColumn(LevelAccessor p_152703_, BlockPos p_152704_, BlockState p_152705_, BlockState p_152706_)
private static BlockState
LeavesBlock.updateDistance(BlockState p_54436_, LevelAccessor p_54437_, BlockPos p_54438_)
static BlockState
Block.updateFromNeighbourShapes(BlockState p_49932_, LevelAccessor p_49933_, BlockPos p_49934_)
void
RedStoneWireBlock.updateIndirectNeighbourShapes(BlockState p_55579_, LevelAccessor p_55580_, BlockPos p_55581_, int p_55582_, int p_55583_)
static void
Block.updateOrDestroy(BlockState p_49903_, BlockState p_49904_, LevelAccessor p_49905_, BlockPos p_49906_, int p_49907_)
static void
Block.updateOrDestroy(BlockState p_49909_, BlockState p_49910_, LevelAccessor p_49911_, BlockPos p_49912_, int p_49913_, int p_49914_)
private static int
TargetBlock.updateRedstoneOutput(LevelAccessor p_57392_, BlockState p_57393_, BlockHitResult p_57394_, Entity p_57395_)
AmethystClusterBlock.updateShape(BlockState p_152036_, Direction p_152037_, BlockState p_152038_, LevelAccessor p_152039_, BlockPos p_152040_, BlockPos p_152041_)
AttachedStemBlock.updateShape(BlockState p_48848_, Direction p_48849_, BlockState p_48850_, LevelAccessor p_48851_, BlockPos p_48852_, BlockPos p_48853_)
BambooBlock.updateShape(BlockState p_48921_, Direction p_48922_, BlockState p_48923_, LevelAccessor p_48924_, BlockPos p_48925_, BlockPos p_48926_)
BambooSaplingBlock.updateShape(BlockState p_48990_, Direction p_48991_, BlockState p_48992_, LevelAccessor p_48993_, BlockPos p_48994_, BlockPos p_48995_)
BannerBlock.updateShape(BlockState p_49029_, Direction p_49030_, BlockState p_49031_, LevelAccessor p_49032_, BlockPos p_49033_, BlockPos p_49034_)
BaseCoralPlantTypeBlock.updateShape(BlockState p_49173_, Direction p_49174_, BlockState p_49175_, LevelAccessor p_49176_, BlockPos p_49177_, BlockPos p_49178_)
BaseCoralWallFanBlock.updateShape(BlockState p_49210_, Direction p_49211_, BlockState p_49212_, LevelAccessor p_49213_, BlockPos p_49214_, BlockPos p_49215_)
BasePressurePlateBlock.updateShape(BlockState p_49329_, Direction p_49330_, BlockState p_49331_, LevelAccessor p_49332_, BlockPos p_49333_, BlockPos p_49334_)
BaseRailBlock.updateShape(BlockState p_152151_, Direction p_152152_, BlockState p_152153_, LevelAccessor p_152154_, BlockPos p_152155_, BlockPos p_152156_)
BedBlock.updateShape(BlockState p_49525_, Direction p_49526_, BlockState p_49527_, LevelAccessor p_49528_, BlockPos p_49529_, BlockPos p_49530_)
BeehiveBlock.updateShape(BlockState p_49639_, Direction p_49640_, BlockState p_49641_, LevelAccessor p_49642_, BlockPos p_49643_, BlockPos p_49644_)
BellBlock.updateShape(BlockState p_49744_, Direction p_49745_, BlockState p_49746_, LevelAccessor p_49747_, BlockPos p_49748_, BlockPos p_49749_)
BigDripleafBlock.updateShape(BlockState p_152293_, Direction p_152294_, BlockState p_152295_, LevelAccessor p_152296_, BlockPos p_152297_, BlockPos p_152298_)
BigDripleafStemBlock.updateShape(BlockState p_152369_, Direction p_152370_, BlockState p_152371_, LevelAccessor p_152372_, BlockPos p_152373_, BlockPos p_152374_)
BubbleColumnBlock.updateShape(BlockState p_50990_, Direction p_50991_, BlockState p_50992_, LevelAccessor p_50993_, BlockPos p_50994_, BlockPos p_50995_)
BushBlock.updateShape(BlockState p_51032_, Direction p_51033_, BlockState p_51034_, LevelAccessor p_51035_, BlockPos p_51036_, BlockPos p_51037_)
CactusBlock.updateShape(BlockState p_51157_, Direction p_51158_, BlockState p_51159_, LevelAccessor p_51160_, BlockPos p_51161_, BlockPos p_51162_)
CakeBlock.updateShape(BlockState p_51213_, Direction p_51214_, BlockState p_51215_, LevelAccessor p_51216_, BlockPos p_51217_, BlockPos p_51218_)
CampfireBlock.updateShape(BlockState p_51298_, Direction p_51299_, BlockState p_51300_, LevelAccessor p_51301_, BlockPos p_51302_, BlockPos p_51303_)
CandleBlock.updateShape(BlockState p_152833_, Direction p_152834_, BlockState p_152835_, LevelAccessor p_152836_, BlockPos p_152837_, BlockPos p_152838_)
CandleCakeBlock.updateShape(BlockState p_152898_, Direction p_152899_, BlockState p_152900_, LevelAccessor p_152901_, BlockPos p_152902_, BlockPos p_152903_)
CarpetBlock.updateShape(BlockState p_152926_, Direction p_152927_, BlockState p_152928_, LevelAccessor p_152929_, BlockPos p_152930_, BlockPos p_152931_)
ChainBlock.updateShape(BlockState p_51461_, Direction p_51462_, BlockState p_51463_, LevelAccessor p_51464_, BlockPos p_51465_, BlockPos p_51466_)
ChestBlock.updateShape(BlockState p_51555_, Direction p_51556_, BlockState p_51557_, LevelAccessor p_51558_, BlockPos p_51559_, BlockPos p_51560_)
ChorusFlowerBlock.updateShape(BlockState p_51687_, Direction p_51688_, BlockState p_51689_, LevelAccessor p_51690_, BlockPos p_51691_, BlockPos p_51692_)
ChorusPlantBlock.updateShape(BlockState p_51728_, Direction p_51729_, BlockState p_51730_, LevelAccessor p_51731_, BlockPos p_51732_, BlockPos p_51733_)
CocoaBlock.updateShape(BlockState p_51771_, Direction p_51772_, BlockState p_51773_, LevelAccessor p_51774_, BlockPos p_51775_, BlockPos p_51776_)
ConcretePowderBlock.updateShape(BlockState p_52074_, Direction p_52075_, BlockState p_52076_, LevelAccessor p_52077_, BlockPos p_52078_, BlockPos p_52079_)
ConduitBlock.updateShape(BlockState p_52111_, Direction p_52112_, BlockState p_52113_, LevelAccessor p_52114_, BlockPos p_52115_, BlockPos p_52116_)
CoralBlock.updateShape(BlockState p_52143_, Direction p_52144_, BlockState p_52145_, LevelAccessor p_52146_, BlockPos p_52147_, BlockPos p_52148_)
CoralFanBlock.updateShape(BlockState p_52159_, Direction p_52160_, BlockState p_52161_, LevelAccessor p_52162_, BlockPos p_52163_, BlockPos p_52164_)
CoralPlantBlock.updateShape(BlockState p_52183_, Direction p_52184_, BlockState p_52185_, LevelAccessor p_52186_, BlockPos p_52187_, BlockPos p_52188_)
CoralWallFanBlock.updateShape(BlockState p_52210_, Direction p_52211_, BlockState p_52212_, LevelAccessor p_52213_, BlockPos p_52214_, BlockPos p_52215_)
DirtPathBlock.updateShape(BlockState p_153152_, Direction p_153153_, BlockState p_153154_, LevelAccessor p_153155_, BlockPos p_153156_, BlockPos p_153157_)
DoorBlock.updateShape(BlockState p_52796_, Direction p_52797_, BlockState p_52798_, LevelAccessor p_52799_, BlockPos p_52800_, BlockPos p_52801_)
DoublePlantBlock.updateShape(BlockState p_52894_, Direction p_52895_, BlockState p_52896_, LevelAccessor p_52897_, BlockPos p_52898_, BlockPos p_52899_)
EnderChestBlock.updateShape(BlockState p_53160_, Direction p_53161_, BlockState p_53162_, LevelAccessor p_53163_, BlockPos p_53164_, BlockPos p_53165_)
FaceAttachedHorizontalDirectionalBlock.updateShape(BlockState p_53190_, Direction p_53191_, BlockState p_53192_, LevelAccessor p_53193_, BlockPos p_53194_, BlockPos p_53195_)
FallingBlock.updateShape(BlockState p_53226_, Direction p_53227_, BlockState p_53228_, LevelAccessor p_53229_, BlockPos p_53230_, BlockPos p_53231_)
FarmBlock.updateShape(BlockState p_53276_, Direction p_53277_, BlockState p_53278_, LevelAccessor p_53279_, BlockPos p_53280_, BlockPos p_53281_)
FenceBlock.updateShape(BlockState p_53323_, Direction p_53324_, BlockState p_53325_, LevelAccessor p_53326_, BlockPos p_53327_, BlockPos p_53328_)
FenceGateBlock.updateShape(BlockState p_53382_, Direction p_53383_, BlockState p_53384_, LevelAccessor p_53385_, BlockPos p_53386_, BlockPos p_53387_)
FireBlock.updateShape(BlockState p_53458_, Direction p_53459_, BlockState p_53460_, LevelAccessor p_53461_, BlockPos p_53462_, BlockPos p_53463_)
FlowerPotBlock.updateShape(BlockState p_53547_, Direction p_53548_, BlockState p_53549_, LevelAccessor p_53550_, BlockPos p_53551_, BlockPos p_53552_)
GlowLichenBlock.updateShape(BlockState p_153302_, Direction p_153303_, BlockState p_153304_, LevelAccessor p_153305_, BlockPos p_153306_, BlockPos p_153307_)
GrowingPlantBodyBlock.updateShape(BlockState p_53913_, Direction p_53914_, BlockState p_53915_, LevelAccessor p_53916_, BlockPos p_53917_, BlockPos p_53918_)
GrowingPlantHeadBlock.updateShape(BlockState p_53951_, Direction p_53952_, BlockState p_53953_, LevelAccessor p_53954_, BlockPos p_53955_, BlockPos p_53956_)
HangingRootsBlock.updateShape(BlockState p_153351_, Direction p_153352_, BlockState p_153353_, LevelAccessor p_153354_, BlockPos p_153355_, BlockPos p_153356_)
HugeMushroomBlock.updateShape(BlockState p_54146_, Direction p_54147_, BlockState p_54148_, LevelAccessor p_54149_, BlockPos p_54150_, BlockPos p_54151_)
IronBarsBlock.updateShape(BlockState p_54211_, Direction p_54212_, BlockState p_54213_, LevelAccessor p_54214_, BlockPos p_54215_, BlockPos p_54216_)
LadderBlock.updateShape(BlockState p_54363_, Direction p_54364_, BlockState p_54365_, LevelAccessor p_54366_, BlockPos p_54367_, BlockPos p_54368_)
LanternBlock.updateShape(BlockState p_153483_, Direction p_153484_, BlockState p_153485_, LevelAccessor p_153486_, BlockPos p_153487_, BlockPos p_153488_)
LeavesBlock.updateShape(BlockState p_54440_, Direction p_54441_, BlockState p_54442_, LevelAccessor p_54443_, BlockPos p_54444_, BlockPos p_54445_)
LightBlock.updateShape(BlockState p_153680_, Direction p_153681_, BlockState p_153682_, LevelAccessor p_153683_, BlockPos p_153684_, BlockPos p_153685_)
LightningRodBlock.updateShape(BlockState p_153739_, Direction p_153740_, BlockState p_153741_, LevelAccessor p_153742_, BlockPos p_153743_, BlockPos p_153744_)
LiquidBlock.updateShape(BlockState p_54723_, Direction p_54724_, BlockState p_54725_, LevelAccessor p_54726_, BlockPos p_54727_, BlockPos p_54728_)
MagmaBlock.updateShape(BlockState p_54811_, Direction p_54812_, BlockState p_54813_, LevelAccessor p_54814_, BlockPos p_54815_, BlockPos p_54816_)
MultifaceBlock.updateShape(BlockState p_153904_, Direction p_153905_, BlockState p_153906_, LevelAccessor p_153907_, BlockPos p_153908_, BlockPos p_153909_)
NetherPortalBlock.updateShape(BlockState p_54928_, Direction p_54929_, BlockState p_54930_, LevelAccessor p_54931_, BlockPos p_54932_, BlockPos p_54933_)
NoteBlock.updateShape(BlockState p_55048_, Direction p_55049_, BlockState p_55050_, LevelAccessor p_55051_, BlockPos p_55052_, BlockPos p_55053_)
ObserverBlock.updateShape(BlockState p_55118_, Direction p_55119_, BlockState p_55120_, LevelAccessor p_55121_, BlockPos p_55122_, BlockPos p_55123_)
PointedDripstoneBlock.updateShape(BlockState p_154147_, Direction p_154148_, BlockState p_154149_, LevelAccessor p_154150_, BlockPos p_154151_, BlockPos p_154152_)
RedstoneWallTorchBlock.updateShape(BlockState p_55772_, Direction p_55773_, BlockState p_55774_, LevelAccessor p_55775_, BlockPos p_55776_, BlockPos p_55777_)
RedStoneWireBlock.updateShape(BlockState p_55598_, Direction p_55599_, BlockState p_55600_, LevelAccessor p_55601_, BlockPos p_55602_, BlockPos p_55603_)
RepeaterBlock.updateShape(BlockState p_55821_, Direction p_55822_, BlockState p_55823_, LevelAccessor p_55824_, BlockPos p_55825_, BlockPos p_55826_)
ScaffoldingBlock.updateShape(BlockState p_56044_, Direction p_56045_, BlockState p_56046_, LevelAccessor p_56047_, BlockPos p_56048_, BlockPos p_56049_)
SculkSensorBlock.updateShape(BlockState p_154457_, Direction p_154458_, BlockState p_154459_, LevelAccessor p_154460_, BlockPos p_154461_, BlockPos p_154462_)
SeagrassBlock.updateShape(BlockState p_154530_, Direction p_154531_, BlockState p_154532_, LevelAccessor p_154533_, BlockPos p_154534_, BlockPos p_154535_)
SeaPickleBlock.updateShape(BlockState p_56113_, Direction p_56114_, BlockState p_56115_, LevelAccessor p_56116_, BlockPos p_56117_, BlockPos p_56118_)
SignBlock.updateShape(BlockState p_56285_, Direction p_56286_, BlockState p_56287_, LevelAccessor p_56288_, BlockPos p_56289_, BlockPos p_56290_)
SlabBlock.updateShape(BlockState p_56381_, Direction p_56382_, BlockState p_56383_, LevelAccessor p_56384_, BlockPos p_56385_, BlockPos p_56386_)
SmallDripleafBlock.updateShape(BlockState p_154625_, Direction p_154626_, BlockState p_154627_, LevelAccessor p_154628_, BlockPos p_154629_, BlockPos p_154630_)
SnowLayerBlock.updateShape(BlockState p_56606_, Direction p_56607_, BlockState p_56608_, LevelAccessor p_56609_, BlockPos p_56610_, BlockPos p_56611_)
SnowyDirtBlock.updateShape(BlockState p_56644_, Direction p_56645_, BlockState p_56646_, LevelAccessor p_56647_, BlockPos p_56648_, BlockPos p_56649_)
SoulFireBlock.updateShape(BlockState p_56659_, Direction p_56660_, BlockState p_56661_, LevelAccessor p_56662_, BlockPos p_56663_, BlockPos p_56664_)
SoulSandBlock.updateShape(BlockState p_56689_, Direction p_56690_, BlockState p_56691_, LevelAccessor p_56692_, BlockPos p_56693_, BlockPos p_56694_)
SporeBlossomBlock.updateShape(BlockState p_154713_, Direction p_154714_, BlockState p_154715_, LevelAccessor p_154716_, BlockPos p_154717_, BlockPos p_154718_)
StairBlock.updateShape(BlockState p_56925_, Direction p_56926_, BlockState p_56927_, LevelAccessor p_56928_, BlockPos p_56929_, BlockPos p_56930_)
StandingSignBlock.updateShape(BlockState p_57005_, Direction p_57006_, BlockState p_57007_, LevelAccessor p_57008_, BlockPos p_57009_, BlockPos p_57010_)
SugarCaneBlock.updateShape(BlockState p_57179_, Direction p_57180_, BlockState p_57181_, LevelAccessor p_57182_, BlockPos p_57183_, BlockPos p_57184_)
TorchBlock.updateShape(BlockState p_57503_, Direction p_57504_, BlockState p_57505_, LevelAccessor p_57506_, BlockPos p_57507_, BlockPos p_57508_)
TrapDoorBlock.updateShape(BlockState p_57554_, Direction p_57555_, BlockState p_57556_, LevelAccessor p_57557_, BlockPos p_57558_, BlockPos p_57559_)
TripWireBlock.updateShape(BlockState p_57645_, Direction p_57646_, BlockState p_57647_, LevelAccessor p_57648_, BlockPos p_57649_, BlockPos p_57650_)
TripWireHookBlock.updateShape(BlockState p_57731_, Direction p_57732_, BlockState p_57733_, LevelAccessor p_57734_, BlockPos p_57735_, BlockPos p_57736_)
VineBlock.updateShape(BlockState p_57875_, Direction p_57876_, BlockState p_57877_, LevelAccessor p_57878_, BlockPos p_57879_, BlockPos p_57880_)
WallBannerBlock.updateShape(BlockState p_57935_, Direction p_57936_, BlockState p_57937_, LevelAccessor p_57938_, BlockPos p_57939_, BlockPos p_57940_)
WallBlock.updateShape(BlockState p_58014_, Direction p_58015_, BlockState p_58016_, LevelAccessor p_58017_, BlockPos p_58018_, BlockPos p_58019_)
WallSignBlock.updateShape(BlockState p_58083_, Direction p_58084_, BlockState p_58085_, LevelAccessor p_58086_, BlockPos p_58087_, BlockPos p_58088_)
WallTorchBlock.updateShape(BlockState p_58143_, Direction p_58144_, BlockState p_58145_, LevelAccessor p_58146_, BlockPos p_58147_, BlockPos p_58148_)
Modifier and TypeMethodDescriptionstatic <S extends BlockEntity>
DoubleBlockCombiner.NeighborCombineResult<S>DoubleBlockCombiner.combineWithNeigbour(BlockEntityType<S> p_52823_, Function<BlockState,DoubleBlockCombiner.BlockType> p_52824_, Function<BlockState,Direction> p_52825_, DirectionProperty p_52826_, BlockState p_52827_, LevelAccessor p_52828_, BlockPos p_52829_, BiPredicate<LevelAccessor,BlockPos> p_52830_)
ModifierConstructorDescriptionInputContainer(BlockState p_52022_, LevelAccessor p_52023_, BlockPos p_52024_)
OutputContainer(BlockState p_52042_, LevelAccessor p_52043_, BlockPos p_52044_, ItemStack p_52045_)
-
Uses of LevelAccessor in net.minecraft.world.level.block.grower
Modifier and TypeMethodDescriptionprivate boolean
AbstractTreeGrower.hasFlowers(LevelAccessor p_60012_, BlockPos p_60013_)
-
Uses of LevelAccessor in net.minecraft.world.level.block.piston
Modifier and TypeMethodDescriptionvoid
MovingPistonBlock.destroy(LevelAccessor p_60061_, BlockPos p_60062_, BlockState p_60063_)
PistonBaseBlock.rotate(BlockState state, LevelAccessor world, BlockPos pos, Rotation direction)
PistonHeadBlock.updateShape(BlockState p_60301_, Direction p_60302_, BlockState p_60303_, LevelAccessor p_60304_, BlockPos p_60305_, BlockPos p_60306_)
-
Uses of LevelAccessor in net.minecraft.world.level.block.state
Modifier and TypeMethodDescriptionvoid
BlockBehaviour.BlockStateBase.updateIndirectNeighbourShapes(LevelAccessor p_60759_, BlockPos p_60760_, int p_60761_)
void
BlockBehaviour.BlockStateBase.updateIndirectNeighbourShapes(LevelAccessor p_60763_, BlockPos p_60764_, int p_60765_, int p_60766_)
void
BlockBehaviour.updateIndirectNeighbourShapes(BlockState p_60520_, LevelAccessor p_60521_, BlockPos p_60522_, int p_60523_, int p_60524_)
Deprecated.void
BlockBehaviour.BlockStateBase.updateNeighbourShapes(LevelAccessor p_60702_, BlockPos p_60703_, int p_60704_)
void
BlockBehaviour.BlockStateBase.updateNeighbourShapes(LevelAccessor p_60706_, BlockPos p_60707_, int p_60708_, int p_60709_)
BlockBehaviour.BlockStateBase.updateShape(Direction p_60729_, BlockState p_60730_, LevelAccessor p_60731_, BlockPos p_60732_, BlockPos p_60733_)
BlockBehaviour.updateShape(BlockState p_60541_, Direction p_60542_, BlockState p_60543_, LevelAccessor p_60544_, BlockPos p_60545_, BlockPos p_60546_)
Deprecated. -
Uses of LevelAccessor in net.minecraft.world.level.chunk
Modifier and TypeMethodDescriptiondefault void
UpgradeData.BlockFixer.processChunk(LevelAccessor p_63351_)
UpgradeData.BlockFixer.updateShape(BlockState p_63352_, Direction p_63353_, BlockState p_63354_, LevelAccessor p_63355_, BlockPos p_63356_, BlockPos p_63357_)
private static BlockState
UpgradeData.updateState(BlockState p_63336_, Direction p_63337_, LevelAccessor p_63338_, BlockPos p_63339_, BlockPos p_63340_)
-
Uses of LevelAccessor in net.minecraft.world.level.levelgen.feature
Modifier and TypeMethodDescriptionprivate boolean
DripstoneClusterFeature.canBeAdjacentToWater(LevelAccessor p_159583_, BlockPos p_159584_)
private static boolean
BasaltColumnsFeature.canPlaceAt(LevelAccessor p_65155_, int p_65156_, BlockPos.MutableBlockPos p_65157_)
private void
IcebergFeature.carve(int p_66036_, int p_66037_, BlockPos p_66038_, LevelAccessor p_66039_, boolean p_66040_, double p_66041_, BlockPos p_66042_, int p_66043_, int p_66044_)
private static BlockPos
BasaltColumnsFeature.findAir(LevelAccessor p_65174_, BlockPos.MutableBlockPos p_65175_, int p_65176_)
private static boolean
TwistingVinesFeature.findFirstAirBlockAboveGround(LevelAccessor p_67294_, BlockPos.MutableBlockPos p_67295_)
private static BlockPos
BasaltColumnsFeature.findSurface(LevelAccessor p_65159_, int p_65160_, BlockPos.MutableBlockPos p_65161_, int p_65162_)
private static BlockPos
ReplaceBlobsFeature.findTarget(LevelAccessor p_66635_, BlockPos.MutableBlockPos p_66636_, Block p_66637_)
private void
IcebergFeature.generateCutOut(Random p_66100_, LevelAccessor p_66101_, int p_66102_, int p_66103_, BlockPos p_66104_, boolean p_66105_, int p_66106_, double p_66107_, int p_66108_)
private void
IcebergFeature.generateIcebergBlock(LevelAccessor p_66059_, Random p_66060_, BlockPos p_66061_, int p_66062_, int p_66063_, int p_66064_, int p_66065_, int p_66066_, int p_66067_, boolean p_66068_, int p_66069_, double p_66070_, boolean p_66071_, BlockState p_66072_)
private static boolean
BasaltColumnsFeature.isAirOrLavaOcean(LevelAccessor p_65164_, int p_65165_, BlockPos p_65166_)
private static boolean
DeltaFeature.isClear(LevelAccessor p_65552_, BlockPos p_65553_, DeltaFeatureConfiguration p_65554_)
protected static boolean
DripstoneUtils.isEmptyOrWater(LevelAccessor p_159629_, BlockPos p_159630_)
protected static boolean
DripstoneUtils.isEmptyOrWaterOrLava(LevelAccessor p_159660_, BlockPos p_159661_)
private static boolean
TwistingVinesFeature.isInvalidPlacementLocation(LevelAccessor p_67297_, BlockPos p_67298_)
private static boolean
HugeFungusFeature.isReplaceable(LevelAccessor p_65924_, BlockPos p_65925_, boolean p_65926_)
abstract boolean
AbstractFlowerFeature.isValid(LevelAccessor p_65076_, BlockPos p_65077_, U p_65078_)
boolean
DefaultFlowerFeature.isValid(LevelAccessor p_65523_, BlockPos p_65524_, RandomPatchConfiguration p_65525_)
protected boolean
AbstractHugeMushroomFeature.isValidPosition(LevelAccessor p_65099_, BlockPos p_65100_, int p_65101_, BlockPos.MutableBlockPos p_65102_, HugeMushroomFeatureConfiguration p_65103_)
private boolean
UnderwaterMagmaFeature.isWaterOrAir(LevelAccessor p_160562_, BlockPos p_160563_)
protected abstract void
AbstractHugeMushroomFeature.makeCap(LevelAccessor p_65104_, Random p_65105_, BlockPos p_65106_, int p_65107_, BlockPos.MutableBlockPos p_65108_, HugeMushroomFeatureConfiguration p_65109_)
protected void
HugeBrownMushroomFeature.makeCap(LevelAccessor p_65886_, Random p_65887_, BlockPos p_65888_, int p_65889_, BlockPos.MutableBlockPos p_65890_, HugeMushroomFeatureConfiguration p_65891_)
protected void
HugeRedMushroomFeature.makeCap(LevelAccessor p_65982_, Random p_65983_, BlockPos p_65984_, int p_65985_, BlockPos.MutableBlockPos p_65986_, HugeMushroomFeatureConfiguration p_65987_)
private boolean
BlockPileFeature.mayPlaceOn(LevelAccessor p_65264_, BlockPos p_65265_, Random p_65266_)
static boolean
NetherForestVegetationFeature.place(LevelAccessor p_66363_, Random p_66364_, BlockPos p_66365_, BlockPileConfiguration p_66366_, int p_66367_, int p_66368_)
static boolean
TwistingVinesFeature.place(LevelAccessor p_67307_, Random p_67308_, BlockPos p_67309_, int p_67310_, int p_67311_, int p_67312_)
private void
BasaltPillarFeature.placeBaseHangOff(LevelAccessor p_65192_, Random p_65193_, BlockPos p_65194_)
private boolean
BasaltColumnsFeature.placeColumn(LevelAccessor p_65168_, int p_65169_, BlockPos p_65170_, int p_65171_, int p_65172_)
protected boolean
CoralFeature.placeCoralBlock(LevelAccessor p_65447_, Random p_65448_, BlockPos p_65449_, BlockState p_65450_)
protected boolean
CoralClawFeature.placeFeature(LevelAccessor p_65424_, Random p_65425_, BlockPos p_65426_, BlockState p_65427_)
protected abstract boolean
CoralFeature.placeFeature(LevelAccessor p_65430_, Random p_65431_, BlockPos p_65432_, BlockState p_65433_)
protected boolean
CoralMushroomFeature.placeFeature(LevelAccessor p_65454_, Random p_65455_, BlockPos p_65456_, BlockState p_65457_)
protected boolean
CoralTreeFeature.placeFeature(LevelAccessor p_65490_, Random p_65491_, BlockPos p_65492_, BlockState p_65493_)
private boolean
BasaltPillarFeature.placeHangOff(LevelAccessor p_65208_, Random p_65209_, BlockPos p_65210_)
private void
HugeFungusFeature.placeHat(LevelAccessor p_65968_, Random p_65969_, HugeFungusConfiguration p_65970_, BlockPos p_65971_, int p_65972_, boolean p_65973_)
private void
HugeFungusFeature.placeHatBlock(LevelAccessor p_65928_, Random p_65929_, HugeFungusConfiguration p_65930_, BlockPos.MutableBlockPos p_65931_, float p_65932_, float p_65933_, float p_65934_)
private void
HugeFungusFeature.placeHatDropBlock(LevelAccessor p_65943_, Random p_65944_, BlockPos p_65945_, BlockState p_65946_, boolean p_65947_)
private void
WeepingVinesFeature.placeRoofNetherWart(LevelAccessor p_67384_, Random p_67385_, BlockPos p_67386_)
private void
WeepingVinesFeature.placeRoofWeepingVines(LevelAccessor p_67400_, Random p_67401_, BlockPos p_67402_)
private void
HugeFungusFeature.placeStem(LevelAccessor p_65936_, Random p_65937_, HugeFungusConfiguration p_65938_, BlockPos p_65939_, int p_65940_, boolean p_65941_)
protected void
AbstractHugeMushroomFeature.placeTrunk(LevelAccessor p_65111_, Random p_65112_, BlockPos p_65113_, HugeMushroomFeatureConfiguration p_65114_, int p_65115_, BlockPos.MutableBlockPos p_65116_)
private static void
TwistingVinesFeature.placeTwistingVines(LevelAccessor p_67326_, Random p_67327_, BlockPos p_67328_, int p_67329_, int p_67330_, int p_67331_)
static void
TwistingVinesFeature.placeWeepingVinesColumn(LevelAccessor p_67300_, Random p_67301_, BlockPos.MutableBlockPos p_67302_, int p_67303_, int p_67304_, int p_67305_)
static void
WeepingVinesFeature.placeWeepingVinesColumn(LevelAccessor p_67377_, Random p_67378_, BlockPos.MutableBlockPos p_67379_, int p_67380_, int p_67381_, int p_67382_)
private void
IcebergFeature.removeFloatingSnowLayer(LevelAccessor p_66049_, BlockPos p_66050_)
private void
IcebergFeature.setIcebergBlock(BlockPos p_66086_, LevelAccessor p_66087_, Random p_66088_, int p_66089_, int p_66090_, boolean p_66091_, boolean p_66092_, BlockState p_66093_)
private void
IcebergFeature.smooth(LevelAccessor p_66052_, BlockPos p_66053_, int p_66054_, int p_66055_, boolean p_66056_, int p_66057_)
private void
BlockPileFeature.tryPlaceBlock(LevelAccessor p_65268_, BlockPos p_65269_, Random p_65270_, BlockPileConfiguration p_65271_)
private static void
HugeFungusFeature.tryPlaceWeepingVines(BlockPos p_65961_, LevelAccessor p_65962_, Random p_65963_)
private static DiscreteVoxelShape
TreeFeature.updateLeaves(LevelAccessor p_67203_, BoundingBox p_67204_, Set<BlockPos> p_67205_, Set<BlockPos> p_67206_)
-
Uses of LevelAccessor in net.minecraft.world.level.levelgen.feature.blockplacers
Modifier and TypeMethodDescriptionabstract void
BlockPlacer.place(LevelAccessor p_67483_, BlockPos p_67484_, BlockState p_67485_, Random p_67486_)
void
ColumnPlacer.place(LevelAccessor p_67507_, BlockPos p_67508_, BlockState p_67509_, Random p_67510_)
void
DoublePlantPlacer.place(LevelAccessor p_67523_, BlockPos p_67524_, BlockState p_67525_, Random p_67526_)
void
SimpleBlockPlacer.place(LevelAccessor p_67534_, BlockPos p_67535_, BlockState p_67536_, Random p_67537_)
-
Uses of LevelAccessor in net.minecraft.world.level.levelgen.feature.structures
Modifier and TypeMethodDescriptionvoid
StructurePoolElement.handleDataMarker(LevelAccessor p_69158_, StructureTemplate.StructureBlockInfo p_69159_, BlockPos p_69160_, Rotation p_69161_, Random p_69162_, BoundingBox p_69163_)
-
Uses of LevelAccessor in net.minecraft.world.level.levelgen.structure
Modifier and TypeMethodDescriptionprivate void
RuinedPortalPiece.addNetherrackDripColumn(Random p_72728_, LevelAccessor p_72729_, BlockPos p_72730_)
private void
RuinedPortalPiece.addNetherrackDripColumnsBelowPortal(Random p_72704_, LevelAccessor p_72705_)
private boolean
RuinedPortalPiece.canBlockBeReplacedByNetherrackOrMagma(LevelAccessor p_72675_, BlockPos p_72676_)
private static int
RuinedPortalPiece.getSurfaceY(LevelAccessor p_72670_, int p_72671_, int p_72672_, RuinedPortalPiece.VerticalPlacement p_72673_)
private void
RuinedPortalPiece.maybeAddLeavesAbove(Random p_72723_, LevelAccessor p_72724_, BlockPos p_72725_)
private void
RuinedPortalPiece.maybeAddVines(Random p_72707_, LevelAccessor p_72708_, BlockPos p_72709_)
private void
RuinedPortalPiece.placeNetherrackOrMagma(Random p_72732_, LevelAccessor p_72733_, BlockPos p_72734_)
private void
RuinedPortalPiece.spreadNetherrack(Random p_72720_, LevelAccessor p_72721_)
protected boolean
ScatteredFeaturePiece.updateAverageGroundHeight(LevelAccessor p_72804_, BoundingBox p_72805_, int p_72806_)
-
Uses of LevelAccessor in net.minecraft.world.level.levelgen.structure.templatesystem
Modifier and TypeMethodDescriptionStructureTemplate.processBlockInfos(LevelAccessor p_74518_, BlockPos p_74519_, BlockPos p_74520_, StructurePlaceSettings p_74521_, List<StructureTemplate.StructureBlockInfo> p_74522_)
Deprecated.StructureTemplate.processBlockInfos(LevelAccessor p_74518_, BlockPos p_74519_, BlockPos p_74520_, StructurePlaceSettings p_74521_, List<StructureTemplate.StructureBlockInfo> p_74522_, StructureTemplate template)
StructureTemplate.processEntityInfos(StructureTemplate template, LevelAccessor p_215387_0_, BlockPos p_215387_1_, StructurePlaceSettings p_215387_2_, List<StructureTemplate.StructureEntityInfo> p_215387_3_)
static void
StructureTemplate.updateShapeAtEdge(LevelAccessor p_74511_, int p_74512_, DiscreteVoxelShape p_74513_, int p_74514_, int p_74515_, int p_74516_)
-
Uses of LevelAccessor in net.minecraft.world.level.material
Modifier and TypeMethodDescriptionprotected abstract void
FlowingFluid.beforeDestroyingBlock(LevelAccessor p_76002_, BlockPos p_76003_, BlockState p_76004_)
protected void
LavaFluid.beforeDestroyingBlock(LevelAccessor p_76216_, BlockPos p_76217_, BlockState p_76218_)
protected void
WaterFluid.beforeDestroyingBlock(LevelAccessor p_76450_, BlockPos p_76451_, BlockState p_76452_)
private void
LavaFluid.fizz(LevelAccessor p_76213_, BlockPos p_76214_)
protected void
FlowingFluid.spread(LevelAccessor p_76011_, BlockPos p_76012_, FluidState p_76013_)
protected void
FlowingFluid.spreadTo(LevelAccessor p_76005_, BlockPos p_76006_, BlockState p_76007_, Direction p_76008_, FluidState p_76009_)
protected void
LavaFluid.spreadTo(LevelAccessor p_76220_, BlockPos p_76221_, BlockState p_76222_, Direction p_76223_, FluidState p_76224_)
private void
FlowingFluid.spreadToSides(LevelAccessor p_76015_, BlockPos p_76016_, FluidState p_76017_, BlockState p_76018_)
-
Uses of LevelAccessor in net.minecraft.world.level.portal
Modifier and TypeMethodDescriptionstatic Optional<PortalShape>
PortalShape.findEmptyPortalShape(LevelAccessor p_77709_, BlockPos p_77710_, Direction.Axis p_77711_)
static Optional<PortalShape>
PortalShape.findPortalShape(LevelAccessor p_77713_, BlockPos p_77714_, Predicate<PortalShape> p_77715_, Direction.Axis p_77716_)
ModifierConstructorDescriptionPortalShape(LevelAccessor p_77695_, BlockPos p_77696_, Direction.Axis p_77697_)
-
Uses of LevelAccessor in net.minecraft.world.level.saveddata.maps
Modifier and TypeMethodDescriptionprivate void
MapItemSavedData.addDecoration(MapDecoration.Type p_77938_, LevelAccessor p_77939_, String p_77940_, double p_77941_, double p_77942_, double p_77943_, Component p_77944_)
boolean
MapItemSavedData.toggleBanner(LevelAccessor p_77935_, BlockPos p_77936_)
-
Uses of LevelAccessor in net.minecraftforge.common
Modifier and TypeMethodDescriptionstatic int
ForgeHooks.canEntitySpawn(Mob entity, LevelAccessor world, double x, double y, double z, BaseSpawner spawner, MobSpawnType spawnReason)
-
Uses of LevelAccessor in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault BlockState
IForgeBlock.rotate(BlockState state, LevelAccessor world, BlockPos pos, Rotation direction)
default BlockState
IForgeBlockState.rotate(LevelAccessor world, BlockPos pos, Rotation direction)
-
Uses of LevelAccessor in net.minecraftforge.common.util
Modifier and TypeMethodDescriptionstatic BlockSnapshot
BlockSnapshot.create(ResourceKey<Level> dim, LevelAccessor world, BlockPos pos)
static BlockSnapshot
BlockSnapshot.create(ResourceKey<Level> dim, LevelAccessor world, BlockPos pos, int flag)
boolean
BlockSnapshot.restoreToLocation(LevelAccessor world, BlockPos pos, boolean force, boolean notifyNeighbors)
ModifierConstructorDescriptionprivate
BlockSnapshot(ResourceKey<Level> dim, LevelAccessor world, BlockPos pos, BlockState state, CompoundTag nbt, int flags)
-
Uses of LevelAccessor in net.minecraftforge.debug.fluid
Modifier and TypeMethodDescriptionNewFluidTest.FluidloggableBlock.pickupBlock(LevelAccessor worldIn, BlockPos pos, BlockState state)
boolean
NewFluidTest.FluidloggableBlock.placeLiquid(LevelAccessor worldIn, BlockPos pos, BlockState state, FluidState fluidStateIn)
-
Uses of LevelAccessor in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic net.minecraftforge.eventbus.api.Event.Result
ForgeEventFactory.canEntitySpawn(Mob entity, LevelAccessor world, double x, double y, double z, BaseSpawner spawner, MobSpawnType spawnReason)
static BlockState
ForgeEventFactory.fireFluidPlaceBlockEvent(LevelAccessor world, BlockPos pos, BlockPos liquidPos, BlockState state)
static Optional<PortalShape>
ForgeEventFactory.onTrySpawnPortal(LevelAccessor world, BlockPos pos, Optional<PortalShape> size)
static boolean
ForgeEventFactory.saplingGrowTree(LevelAccessor world, Random rand, BlockPos pos)
-
Uses of LevelAccessor in net.minecraftforge.event.entity.living
ModifierConstructorDescriptionCheckSpawn(Mob entity, LevelAccessor world, double x, double y, double z, BaseSpawner spawner, MobSpawnType spawnReason)
CheckSpawn is fired when an Entity is about to be spawned.LivingSpawnEvent(Mob entity, LevelAccessor world, double x, double y, double z)
-
Uses of LevelAccessor in net.minecraftforge.event.world
Modifier and TypeFieldDescriptionprivate LevelAccessor
BlockEvent.world
private LevelAccessor
WorldEvent.world
ModifierConstructorDescriptionBlockEvent(LevelAccessor world, BlockPos pos, BlockState state)
BlockToolInteractEvent(LevelAccessor world, BlockPos pos, BlockState originalState, Player player, ItemStack stack, ToolAction toolAction)
ChunkDataEvent(ChunkAccess chunk, LevelAccessor world, CompoundTag data)
ChunkEvent(ChunkAccess chunk, LevelAccessor world)
CreateSpawnPosition(LevelAccessor world, ServerLevelData settings)
FluidPlaceBlockEvent(LevelAccessor world, BlockPos pos, BlockPos liquidPos, BlockState state)
Load(LevelAccessor world)
PortalSpawnEvent(LevelAccessor world, BlockPos pos, BlockState state, PortalShape size)
SaplingGrowTreeEvent(LevelAccessor world, Random rand, BlockPos pos)
Save(ChunkAccess chunk, LevelAccessor world, CompoundTag data)
Save(LevelAccessor world)
Unload(LevelAccessor world)
WorldEvent(LevelAccessor world)
-
Uses of LevelAccessor in net.minecraftforge.fluids
Modifier and TypeMethodDescriptionprotected void
ForgeFlowingFluid.beforeDestroyingBlock(LevelAccessor worldIn, BlockPos pos, BlockState state)