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.util
Modifier and TypeMethodDescriptionstatic void
ParticleUtils.spawnParticleInBlock
(LevelAccessor p_316553_, BlockPos p_316882_, int p_316412_, ParticleOptions p_316308_) static void
ParticleUtils.spawnParticles
(LevelAccessor p_316549_, BlockPos p_316335_, int p_316207_, double p_316351_, double p_316421_, boolean p_316563_, ParticleOptions p_316241_) static void
ParticleUtils.spawnSmashAttackParticles
(LevelAccessor p_338535_, BlockPos p_338284_, int p_338684_) -
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_217058_, LevelAccessor p_217059_, MobSpawnType p_217060_, BlockPos p_217061_, RandomSource p_217062_) 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_218099_, LevelAccessor p_218100_, MobSpawnType p_218101_, BlockPos p_218102_, RandomSource p_218103_) -
Uses of LevelAccessor in net.minecraft.world.entity.animal
Modifier and TypeMethodDescriptionstatic boolean
Animal.checkAnimalSpawnRules
(EntityType<? extends Animal> p_218105_, LevelAccessor p_218106_, MobSpawnType p_218107_, BlockPos p_218108_, RandomSource p_218109_) static boolean
Fox.checkFoxSpawnRules
(EntityType<Fox> p_218176_, LevelAccessor p_218177_, MobSpawnType p_218178_, BlockPos p_218179_, RandomSource p_218180_) static boolean
MushroomCow.checkMushroomSpawnRules
(EntityType<MushroomCow> p_218201_, LevelAccessor p_218202_, MobSpawnType p_218203_, BlockPos p_218204_, RandomSource p_218205_) static boolean
Ocelot.checkOcelotSpawnRules
(EntityType<Ocelot> p_218207_, LevelAccessor p_218208_, MobSpawnType p_218209_, BlockPos p_218210_, RandomSource p_218211_) static boolean
Parrot.checkParrotSpawnRules
(EntityType<Parrot> p_218242_, LevelAccessor p_218243_, MobSpawnType p_218244_, BlockPos p_218245_, RandomSource p_218246_) static boolean
PolarBear.checkPolarBearSpawnRules
(EntityType<PolarBear> p_218250_, LevelAccessor p_218251_, MobSpawnType p_218252_, BlockPos p_218253_, RandomSource p_218254_) static boolean
Rabbit.checkRabbitSpawnRules
(EntityType<Rabbit> p_218256_, LevelAccessor p_218257_, MobSpawnType p_218258_, BlockPos p_218259_, RandomSource p_218260_) static boolean
WaterAnimal.checkSurfaceWaterAnimalSpawnRules
(EntityType<? extends WaterAnimal> p_218283_, LevelAccessor p_218284_, MobSpawnType p_218285_, BlockPos p_218286_, RandomSource p_218287_) static boolean
TropicalFish.checkTropicalFishSpawnRules
(EntityType<TropicalFish> p_218267_, LevelAccessor p_218268_, MobSpawnType p_218269_, BlockPos p_218270_, RandomSource p_218271_) static boolean
Turtle.checkTurtleSpawnRules
(EntityType<Turtle> p_218277_, LevelAccessor p_218278_, MobSpawnType p_218279_, BlockPos p_218280_, RandomSource p_218281_) static boolean
Wolf.checkWolfSpawnRules
(EntityType<Wolf> p_218292_, LevelAccessor p_218293_, MobSpawnType p_218294_, BlockPos p_218295_, RandomSource p_218296_) private static Rabbit.Variant
Rabbit.getRandomRabbitVariant
(LevelAccessor p_262699_, BlockPos p_262700_) -
Uses of LevelAccessor in net.minecraft.world.entity.animal.armadillo
Modifier and TypeMethodDescriptionstatic boolean
Armadillo.checkArmadilloSpawnRules
(EntityType<Armadillo> p_320958_, LevelAccessor p_320908_, MobSpawnType p_320788_, BlockPos p_320500_, RandomSource p_319883_) -
Uses of LevelAccessor in net.minecraft.world.entity.animal.frog
Modifier and TypeMethodDescriptionstatic boolean
Frog.checkFrogSpawnRules
(EntityType<? extends Animal> p_218512_, LevelAccessor p_218513_, MobSpawnType p_218514_, BlockPos p_218515_, RandomSource p_218516_) -
Uses of LevelAccessor in net.minecraft.world.entity.animal.goat
Modifier and TypeMethodDescriptionstatic boolean
Goat.checkGoatSpawnRules
(EntityType<? extends Animal> p_218753_, LevelAccessor p_218754_, MobSpawnType p_218755_, BlockPos p_218756_, RandomSource p_218757_) -
Uses of LevelAccessor in net.minecraft.world.entity.animal.horse
Modifier and TypeMethodDescriptionstatic boolean
SkeletonHorse.checkSkeletonHorseSpawnRules
(EntityType<? extends Animal> p_312143_, LevelAccessor p_312574_, MobSpawnType p_312240_, BlockPos p_312362_, RandomSource p_312555_) static boolean
ZombieHorse.checkZombieHorseSpawnRules
(EntityType<? extends Animal> p_312450_, LevelAccessor p_312340_, MobSpawnType p_312031_, BlockPos p_311838_, RandomSource p_312514_) -
Uses of LevelAccessor in net.minecraft.world.entity.monster
Modifier and TypeMethodDescriptionstatic boolean
Monster.checkAnyLightMonsterSpawnRules
(EntityType<? extends Monster> p_219020_, LevelAccessor p_219021_, MobSpawnType p_219022_, BlockPos p_219023_, RandomSource p_219024_) static boolean
Endermite.checkEndermiteSpawnRules
(EntityType<Endermite> p_218969_, LevelAccessor p_218970_, MobSpawnType p_218971_, BlockPos p_218972_, RandomSource p_218973_) static boolean
Ghast.checkGhastSpawnRules
(EntityType<Ghast> p_218985_, LevelAccessor p_218986_, MobSpawnType p_218987_, BlockPos p_218988_, RandomSource p_218989_) static boolean
Guardian.checkGuardianSpawnRules
(EntityType<? extends Guardian> p_218991_, LevelAccessor p_218992_, MobSpawnType p_218993_, BlockPos p_218994_, RandomSource p_218995_) static boolean
MagmaCube.checkMagmaCubeSpawnRules
(EntityType<MagmaCube> p_219003_, LevelAccessor p_219004_, MobSpawnType p_219005_, BlockPos p_219006_, RandomSource p_219007_) static boolean
PatrollingMonster.checkPatrollingMonsterSpawnRules
(EntityType<? extends PatrollingMonster> p_219026_, LevelAccessor p_219027_, MobSpawnType p_219028_, BlockPos p_219029_, RandomSource p_219030_) static boolean
Silverfish.checkSilverfishSpawnRules
(EntityType<Silverfish> p_219077_, LevelAccessor p_219078_, MobSpawnType p_219079_, BlockPos p_219080_, RandomSource p_219081_) static boolean
Slime.checkSlimeSpawnRules
(EntityType<Slime> p_219113_, LevelAccessor p_219114_, MobSpawnType p_219115_, BlockPos p_219116_, RandomSource p_219117_) static boolean
Strider.checkStriderSpawnRules
(EntityType<Strider> p_219129_, LevelAccessor p_219130_, MobSpawnType p_219131_, BlockPos p_219132_, RandomSource p_219133_) static boolean
ZombifiedPiglin.checkZombifiedPiglinSpawnRules
(EntityType<ZombifiedPiglin> p_219174_, LevelAccessor p_219175_, MobSpawnType p_219176_, BlockPos p_219177_, RandomSource p_219178_) 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_219182_, LevelAccessor p_219183_, MobSpawnType p_219184_, BlockPos p_219185_, RandomSource p_219186_) -
Uses of LevelAccessor in net.minecraft.world.entity.monster.piglin
Modifier and TypeMethodDescriptionstatic boolean
Piglin.checkPiglinSpawnRules
(EntityType<Piglin> p_219198_, LevelAccessor p_219199_, MobSpawnType p_219200_, BlockPos p_219201_, RandomSource p_219202_) -
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_) void
JukeboxSongPlayer.play
(LevelAccessor p_350839_, Holder<JukeboxSong> p_350771_) 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_) private static void
JukeboxSongPlayer.spawnMusicParticles
(LevelAccessor p_350908_, BlockPos p_350387_) void
JukeboxSongPlayer.stop
(LevelAccessor p_350694_, BlockState p_350611_) void
JukeboxSongPlayer.tick
(LevelAccessor p_350845_, BlockState p_350953_) -
Uses of LevelAccessor in net.minecraft.world.level
ModifierConstructorDescriptionStructureManager
(LevelAccessor p_249675_, WorldOptions p_248820_, StructureCheck p_249103_) -
Uses of LevelAccessor in net.minecraft.world.level.block
Modifier and TypeFieldDescriptionprivate final LevelAccessor
ComposterBlock.InputContainer.level
private final LevelAccessor
ComposterBlock.OutputContainer.level
Modifier and TypeMethodDescription(package private) static BlockState
ComposterBlock.addItem
(Entity p_270464_, BlockState p_270603_, LevelAccessor p_270151_, BlockPos p_270547_, ItemStack p_270354_) private boolean
SculkVeinBlock.attemptPlaceSculk
(SculkSpreader p_222376_, LevelAccessor p_222377_, BlockPos p_222378_, RandomSource p_222379_) default boolean
SculkBehaviour.attemptSpreadVein
(LevelAccessor p_222034_, BlockPos p_222035_, BlockState p_222036_, Collection<Direction> p_222037_, boolean p_222038_) int
SculkBehaviour.attemptUseCharge
(SculkSpreader.ChargeCursor p_222039_, LevelAccessor p_222040_, BlockPos p_222041_, RandomSource p_222042_, SculkSpreader p_222043_, boolean p_222044_) int
SculkBlock.attemptUseCharge
(SculkSpreader.ChargeCursor p_222073_, LevelAccessor p_222074_, BlockPos p_222075_, RandomSource p_222076_, SculkSpreader p_222077_, boolean p_222078_) int
SculkVeinBlock.attemptUseCharge
(SculkSpreader.ChargeCursor p_222369_, LevelAccessor p_222370_, BlockPos p_222371_, RandomSource p_222372_, SculkSpreader p_222373_, boolean p_222374_) private static boolean
SculkBlock.canPlaceGrowth
(LevelAccessor p_222065_, BlockPos p_222066_) 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_) default boolean
SculkBehaviour.depositCharge
(LevelAccessor p_222031_, BlockPos p_222032_, RandomSource p_222033_) void
Block.destroy
(LevelAccessor p_49860_, BlockPos p_49861_, BlockState p_49862_) 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
(Entity p_270236_, BlockState p_270873_, LevelAccessor p_270963_, BlockPos p_270211_) static void
AbstractCandleBlock.extinguish
(Player p_151900_, BlockState p_151901_, LevelAccessor p_151902_, BlockPos p_151903_) PointedDripstoneBlock.findBlockVertical
(LevelAccessor p_202007_, BlockPos p_202008_, Direction.AxisDirection p_202009_, BiPredicate<BlockPos, BlockState> p_202010_, Predicate<BlockState> p_202011_, int p_202012_) 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_220963_, BlockPos p_220964_, RandomSource p_220965_, int p_220966_) ComposterBlock.getContainer
(BlockState p_51956_, LevelAccessor p_51957_, BlockPos p_51958_) int
DropExperienceBlock.getExpDrop
(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) int
RedStoneOreBlock.getExpDrop
(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) int
SculkCatalystBlock.getExpDrop
(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) int
SculkSensorBlock.getExpDrop
(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) int
SculkShriekerBlock.getExpDrop
(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) int
SpawnerBlock.getExpDrop
(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) private BlockState
SculkBlock.getRandomGrowthState
(LevelAccessor p_222068_, BlockPos p_222069_, RandomSource p_222070_, boolean p_222071_) 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 BlockPos
SculkSpreader.ChargeCursor.getValidMovementPos
(LevelAccessor p_222308_, BlockPos p_222309_, RandomSource p_222310_) private static void
ChorusFlowerBlock.growTreeRecursive
(LevelAccessor p_220968_, BlockPos p_220969_, RandomSource p_220970_, BlockPos p_220971_, int p_220972_, int p_220973_) static boolean
SculkVeinBlock.hasSubstrateAccess
(LevelAccessor p_222355_, BlockState p_222356_, BlockPos p_222357_) private static boolean
ChestBlock.isCatSittingOnChest
(LevelAccessor p_51564_, BlockPos p_51565_) static boolean
ChestBlock.isChestBlockedAt
(LevelAccessor p_51509_, BlockPos p_51510_) private static boolean
SculkSpreader.ChargeCursor.isMovementUnobstructed
(LevelAccessor p_222318_, BlockPos p_222319_, BlockPos p_222320_) private static boolean
SculkSpreader.ChargeCursor.isUnobstructed
(LevelAccessor p_222322_, BlockPos p_222323_, Direction p_222324_) private static void
LeverBlock.makeParticle
(BlockState p_54658_, LevelAccessor p_54659_, BlockPos p_54660_, float p_54661_) default void
SculkBehaviour.onDischarged
(LevelAccessor p_222026_, BlockState p_222027_, BlockPos p_222028_, RandomSource p_222029_) void
SculkVeinBlock.onDischarged
(LevelAccessor p_222359_, BlockState p_222360_, BlockPos p_222361_, RandomSource p_222362_) BarrierBlock.pickupBlock
(Player p_295338_, LevelAccessor p_295817_, BlockPos p_295857_, BlockState p_294189_) BubbleColumnBlock.pickupBlock
(Player p_295722_, LevelAccessor p_152712_, BlockPos p_152713_, BlockState p_152714_) BucketPickup.pickupBlock
(Player p_294682_, LevelAccessor p_152719_, BlockPos p_152720_, BlockState p_152721_) LiquidBlock.pickupBlock
(Player p_295410_, LevelAccessor p_153772_, BlockPos p_153773_, BlockState p_153774_) PowderSnowBlock.pickupBlock
(Player p_295645_, LevelAccessor p_154281_, BlockPos p_154282_, BlockState p_154283_) default ItemStack
SimpleWaterloggedBlock.pickupBlock
(Player p_294786_, 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_) default boolean
MultifaceSpreader.SpreadConfig.placeBlock
(LevelAccessor p_221702_, MultifaceSpreader.SpreadPos p_221703_, BlockState p_221704_, boolean p_221705_) 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_220793_, RandomSource p_220794_, BlockPos p_220795_, Direction p_220796_) protected void
ButtonBlock.playSound
(Player p_51068_, LevelAccessor p_51069_, BlockPos p_51070_, boolean p_51071_) protected static void
LeverBlock.playSound
(Player p_346119_, LevelAccessor p_346020_, BlockPos p_345585_, BlockState p_346002_) static BlockState
Block.pushEntitiesUp
(BlockState p_49898_, BlockState p_49899_, LevelAccessor p_238252_, BlockPos p_49901_) static boolean
SculkVeinBlock.regrow
(LevelAccessor p_222364_, BlockPos p_222365_, BlockState p_222366_, Collection<Direction> p_222367_) private BlockState
NoteBlock.setInstrument
(LevelAccessor p_262117_, BlockPos p_261908_, BlockState p_262130_) 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_) private boolean
SculkSpreader.ChargeCursor.shouldUpdate
(LevelAccessor p_222326_, BlockPos p_222327_, boolean p_222328_) long
MultifaceSpreader.spreadAll
(BlockState p_221658_, LevelAccessor p_221659_, BlockPos p_221660_, boolean p_221661_) private long
MultifaceSpreader.spreadFromFaceTowardAllDirections
(BlockState p_221645_, LevelAccessor p_221646_, BlockPos p_221647_, Direction p_221648_, boolean p_221649_) MultifaceSpreader.spreadFromFaceTowardDirection
(BlockState p_221638_, LevelAccessor p_221639_, BlockPos p_221640_, Direction p_221641_, Direction p_221642_, boolean p_221643_) MultifaceSpreader.spreadFromFaceTowardRandomDirection
(BlockState p_221631_, LevelAccessor p_221632_, BlockPos p_221633_, Direction p_221634_, RandomSource p_221635_, boolean p_221636_) MultifaceSpreader.spreadFromRandomFaceTowardRandomDirection
(BlockState p_221620_, LevelAccessor p_221621_, BlockPos p_221622_, RandomSource p_221623_) MultifaceSpreader.spreadToFace
(LevelAccessor p_221594_, MultifaceSpreader.SpreadPos p_221595_, boolean p_221596_) private void
ObserverBlock.startSignal
(LevelAccessor p_55093_, BlockPos p_55094_) protected void
BaseCoralPlantTypeBlock.tryScheduleDieTick
(BlockState p_49165_, LevelAccessor p_49166_, BlockPos p_49167_) void
SculkSpreader.ChargeCursor.update
(LevelAccessor p_222312_, BlockPos p_222313_, RandomSource p_222314_, SculkSpreader p_222315_, boolean p_222316_) 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_) void
SculkSpreader.updateCursors
(LevelAccessor p_222256_, BlockPos p_222257_, RandomSource p_222258_, boolean p_222259_) 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_) protected 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_) protected BlockState
AmethystClusterBlock.updateShape
(BlockState p_152036_, Direction p_152037_, BlockState p_152038_, LevelAccessor p_152039_, BlockPos p_152040_, BlockPos p_152041_) protected BlockState
AttachedStemBlock.updateShape
(BlockState p_48848_, Direction p_48849_, BlockState p_48850_, LevelAccessor p_48851_, BlockPos p_48852_, BlockPos p_48853_) protected BlockState
BambooSaplingBlock.updateShape
(BlockState p_48990_, Direction p_48991_, BlockState p_48992_, LevelAccessor p_48993_, BlockPos p_48994_, BlockPos p_48995_) protected BlockState
BambooStalkBlock.updateShape
(BlockState p_261476_, Direction p_261512_, BlockState p_262167_, LevelAccessor p_261956_, BlockPos p_261876_, BlockPos p_262140_) protected BlockState
BannerBlock.updateShape
(BlockState p_49029_, Direction p_49030_, BlockState p_49031_, LevelAccessor p_49032_, BlockPos p_49033_, BlockPos p_49034_) protected BlockState
BarrierBlock.updateShape
(BlockState p_296123_, Direction p_294509_, BlockState p_296367_, LevelAccessor p_294373_, BlockPos p_294499_, BlockPos p_295044_) protected BlockState
BaseCoralPlantTypeBlock.updateShape
(BlockState p_49173_, Direction p_49174_, BlockState p_49175_, LevelAccessor p_49176_, BlockPos p_49177_, BlockPos p_49178_) protected BlockState
BaseCoralWallFanBlock.updateShape
(BlockState p_49210_, Direction p_49211_, BlockState p_49212_, LevelAccessor p_49213_, BlockPos p_49214_, BlockPos p_49215_) protected BlockState
BasePressurePlateBlock.updateShape
(BlockState p_49329_, Direction p_49330_, BlockState p_49331_, LevelAccessor p_49332_, BlockPos p_49333_, BlockPos p_49334_) protected BlockState
BaseRailBlock.updateShape
(BlockState p_152151_, Direction p_152152_, BlockState p_152153_, LevelAccessor p_152154_, BlockPos p_152155_, BlockPos p_152156_) protected BlockState
BaseTorchBlock.updateShape
(BlockState p_304418_, Direction p_304475_, BlockState p_304669_, LevelAccessor p_304637_, BlockPos p_304633_, BlockPos p_304603_) protected BlockState
BedBlock.updateShape
(BlockState p_49525_, Direction p_49526_, BlockState p_49527_, LevelAccessor p_49528_, BlockPos p_49529_, BlockPos p_49530_) protected BlockState
BeehiveBlock.updateShape
(BlockState p_49639_, Direction p_49640_, BlockState p_49641_, LevelAccessor p_49642_, BlockPos p_49643_, BlockPos p_49644_) protected BlockState
BellBlock.updateShape
(BlockState p_49744_, Direction p_49745_, BlockState p_49746_, LevelAccessor p_49747_, BlockPos p_49748_, BlockPos p_49749_) protected BlockState
BigDripleafBlock.updateShape
(BlockState p_152293_, Direction p_152294_, BlockState p_152295_, LevelAccessor p_152296_, BlockPos p_152297_, BlockPos p_152298_) protected BlockState
BigDripleafStemBlock.updateShape
(BlockState p_152369_, Direction p_152370_, BlockState p_152371_, LevelAccessor p_152372_, BlockPos p_152373_, BlockPos p_152374_) BrushableBlock.updateShape
(BlockState p_277801_, Direction p_277455_, BlockState p_277832_, LevelAccessor p_277473_, BlockPos p_278111_, BlockPos p_277904_) protected BlockState
BubbleColumnBlock.updateShape
(BlockState p_50990_, Direction p_50991_, BlockState p_50992_, LevelAccessor p_50993_, BlockPos p_50994_, BlockPos p_50995_) protected BlockState
BushBlock.updateShape
(BlockState p_51032_, Direction p_51033_, BlockState p_51034_, LevelAccessor p_51035_, BlockPos p_51036_, BlockPos p_51037_) protected BlockState
CactusBlock.updateShape
(BlockState p_51157_, Direction p_51158_, BlockState p_51159_, LevelAccessor p_51160_, BlockPos p_51161_, BlockPos p_51162_) protected BlockState
CakeBlock.updateShape
(BlockState p_51213_, Direction p_51214_, BlockState p_51215_, LevelAccessor p_51216_, BlockPos p_51217_, BlockPos p_51218_) protected BlockState
CampfireBlock.updateShape
(BlockState p_51298_, Direction p_51299_, BlockState p_51300_, LevelAccessor p_51301_, BlockPos p_51302_, BlockPos p_51303_) protected BlockState
CandleBlock.updateShape
(BlockState p_152833_, Direction p_152834_, BlockState p_152835_, LevelAccessor p_152836_, BlockPos p_152837_, BlockPos p_152838_) protected BlockState
CandleCakeBlock.updateShape
(BlockState p_152898_, Direction p_152899_, BlockState p_152900_, LevelAccessor p_152901_, BlockPos p_152902_, BlockPos p_152903_) protected BlockState
CarpetBlock.updateShape
(BlockState p_152926_, Direction p_152927_, BlockState p_152928_, LevelAccessor p_152929_, BlockPos p_152930_, BlockPos p_152931_) protected BlockState
CeilingHangingSignBlock.updateShape
(BlockState p_251270_, Direction p_250331_, BlockState p_249591_, LevelAccessor p_251903_, BlockPos p_249685_, BlockPos p_251506_) protected BlockState
ChainBlock.updateShape
(BlockState p_51461_, Direction p_51462_, BlockState p_51463_, LevelAccessor p_51464_, BlockPos p_51465_, BlockPos p_51466_) protected BlockState
ChestBlock.updateShape
(BlockState p_51555_, Direction p_51556_, BlockState p_51557_, LevelAccessor p_51558_, BlockPos p_51559_, BlockPos p_51560_) protected BlockState
ChorusFlowerBlock.updateShape
(BlockState p_51687_, Direction p_51688_, BlockState p_51689_, LevelAccessor p_51690_, BlockPos p_51691_, BlockPos p_51692_) protected BlockState
ChorusPlantBlock.updateShape
(BlockState p_51728_, Direction p_51729_, BlockState p_51730_, LevelAccessor p_51731_, BlockPos p_51732_, BlockPos p_51733_) protected BlockState
CocoaBlock.updateShape
(BlockState p_51771_, Direction p_51772_, BlockState p_51773_, LevelAccessor p_51774_, BlockPos p_51775_, BlockPos p_51776_) ComparatorBlock.updateShape
(BlockState p_301069_, Direction p_301249_, BlockState p_301318_, LevelAccessor p_301207_, BlockPos p_301025_, BlockPos p_301045_) protected BlockState
ConcretePowderBlock.updateShape
(BlockState p_52074_, Direction p_52075_, BlockState p_52076_, LevelAccessor p_52077_, BlockPos p_52078_, BlockPos p_52079_) protected BlockState
ConduitBlock.updateShape
(BlockState p_52111_, Direction p_52112_, BlockState p_52113_, LevelAccessor p_52114_, BlockPos p_52115_, BlockPos p_52116_) protected BlockState
CoralBlock.updateShape
(BlockState p_52143_, Direction p_52144_, BlockState p_52145_, LevelAccessor p_52146_, BlockPos p_52147_, BlockPos p_52148_) protected BlockState
CoralFanBlock.updateShape
(BlockState p_52159_, Direction p_52160_, BlockState p_52161_, LevelAccessor p_52162_, BlockPos p_52163_, BlockPos p_52164_) protected BlockState
CoralPlantBlock.updateShape
(BlockState p_52183_, Direction p_52184_, BlockState p_52185_, LevelAccessor p_52186_, BlockPos p_52187_, BlockPos p_52188_) protected BlockState
CoralWallFanBlock.updateShape
(BlockState p_52210_, Direction p_52211_, BlockState p_52212_, LevelAccessor p_52213_, BlockPos p_52214_, BlockPos p_52215_) protected BlockState
DecoratedPotBlock.updateShape
(BlockState p_276307_, Direction p_276322_, BlockState p_276280_, LevelAccessor p_276320_, BlockPos p_276270_, BlockPos p_276312_) protected BlockState
DirtPathBlock.updateShape
(BlockState p_153152_, Direction p_153153_, BlockState p_153154_, LevelAccessor p_153155_, BlockPos p_153156_, BlockPos p_153157_) protected BlockState
DoorBlock.updateShape
(BlockState p_52796_, Direction p_52797_, BlockState p_52798_, LevelAccessor p_52799_, BlockPos p_52800_, BlockPos p_52801_) protected BlockState
DoublePlantBlock.updateShape
(BlockState p_52894_, Direction p_52895_, BlockState p_52896_, LevelAccessor p_52897_, BlockPos p_52898_, BlockPos p_52899_) protected BlockState
EnderChestBlock.updateShape
(BlockState p_53160_, Direction p_53161_, BlockState p_53162_, LevelAccessor p_53163_, BlockPos p_53164_, BlockPos p_53165_) protected BlockState
FaceAttachedHorizontalDirectionalBlock.updateShape
(BlockState p_53190_, Direction p_53191_, BlockState p_53192_, LevelAccessor p_53193_, BlockPos p_53194_, BlockPos p_53195_) protected BlockState
FallingBlock.updateShape
(BlockState p_53226_, Direction p_53227_, BlockState p_53228_, LevelAccessor p_53229_, BlockPos p_53230_, BlockPos p_53231_) protected BlockState
FarmBlock.updateShape
(BlockState p_53276_, Direction p_53277_, BlockState p_53278_, LevelAccessor p_53279_, BlockPos p_53280_, BlockPos p_53281_) protected BlockState
FenceBlock.updateShape
(BlockState p_53323_, Direction p_53324_, BlockState p_53325_, LevelAccessor p_53326_, BlockPos p_53327_, BlockPos p_53328_) protected BlockState
FenceGateBlock.updateShape
(BlockState p_53382_, Direction p_53383_, BlockState p_53384_, LevelAccessor p_53385_, BlockPos p_53386_, BlockPos p_53387_) protected BlockState
FireBlock.updateShape
(BlockState p_53458_, Direction p_53459_, BlockState p_53460_, LevelAccessor p_53461_, BlockPos p_53462_, BlockPos p_53463_) protected BlockState
FlowerPotBlock.updateShape
(BlockState p_53547_, Direction p_53548_, BlockState p_53549_, LevelAccessor p_53550_, BlockPos p_53551_, BlockPos p_53552_) protected BlockState
FrogspawnBlock.updateShape
(BlockState p_221213_, Direction p_221214_, BlockState p_221215_, LevelAccessor p_221216_, BlockPos p_221217_, BlockPos p_221218_) protected BlockState
GlowLichenBlock.updateShape
(BlockState p_153302_, Direction p_153303_, BlockState p_153304_, LevelAccessor p_153305_, BlockPos p_153306_, BlockPos p_153307_) protected BlockState
GrowingPlantBodyBlock.updateShape
(BlockState p_53913_, Direction p_53914_, BlockState p_53915_, LevelAccessor p_53916_, BlockPos p_53917_, BlockPos p_53918_) protected BlockState
GrowingPlantHeadBlock.updateShape
(BlockState p_53951_, Direction p_53952_, BlockState p_53953_, LevelAccessor p_53954_, BlockPos p_53955_, BlockPos p_53956_) protected BlockState
HangingRootsBlock.updateShape
(BlockState p_153351_, Direction p_153352_, BlockState p_153353_, LevelAccessor p_153354_, BlockPos p_153355_, BlockPos p_153356_) protected BlockState
HeavyCoreBlock.updateShape
(BlockState p_338756_, Direction p_338189_, BlockState p_338723_, LevelAccessor p_338514_, BlockPos p_338346_, BlockPos p_338401_) protected BlockState
HugeMushroomBlock.updateShape
(BlockState p_54146_, Direction p_54147_, BlockState p_54148_, LevelAccessor p_54149_, BlockPos p_54150_, BlockPos p_54151_) protected BlockState
IronBarsBlock.updateShape
(BlockState p_54211_, Direction p_54212_, BlockState p_54213_, LevelAccessor p_54214_, BlockPos p_54215_, BlockPos p_54216_) protected BlockState
LadderBlock.updateShape
(BlockState p_54363_, Direction p_54364_, BlockState p_54365_, LevelAccessor p_54366_, BlockPos p_54367_, BlockPos p_54368_) protected BlockState
LanternBlock.updateShape
(BlockState p_153483_, Direction p_153484_, BlockState p_153485_, LevelAccessor p_153486_, BlockPos p_153487_, BlockPos p_153488_) protected BlockState
LeavesBlock.updateShape
(BlockState p_54440_, Direction p_54441_, BlockState p_54442_, LevelAccessor p_54443_, BlockPos p_54444_, BlockPos p_54445_) protected BlockState
LightBlock.updateShape
(BlockState p_153680_, Direction p_153681_, BlockState p_153682_, LevelAccessor p_153683_, BlockPos p_153684_, BlockPos p_153685_) protected BlockState
LightningRodBlock.updateShape
(BlockState p_153739_, Direction p_153740_, BlockState p_153741_, LevelAccessor p_153742_, BlockPos p_153743_, BlockPos p_153744_) protected BlockState
LiquidBlock.updateShape
(BlockState p_54723_, Direction p_54724_, BlockState p_54725_, LevelAccessor p_54726_, BlockPos p_54727_, BlockPos p_54728_) protected BlockState
MagmaBlock.updateShape
(BlockState p_54811_, Direction p_54812_, BlockState p_54813_, LevelAccessor p_54814_, BlockPos p_54815_, BlockPos p_54816_) protected BlockState
MangrovePropaguleBlock.updateShape
(BlockState p_221477_, Direction p_221478_, BlockState p_221479_, LevelAccessor p_221480_, BlockPos p_221481_, BlockPos p_221482_) protected BlockState
MangroveRootsBlock.updateShape
(BlockState p_221514_, Direction p_221515_, BlockState p_221516_, LevelAccessor p_221517_, BlockPos p_221518_, BlockPos p_221519_) protected BlockState
MultifaceBlock.updateShape
(BlockState p_153904_, Direction p_153905_, BlockState p_153906_, LevelAccessor p_153907_, BlockPos p_153908_, BlockPos p_153909_) protected BlockState
NetherPortalBlock.updateShape
(BlockState p_54928_, Direction p_54929_, BlockState p_54930_, LevelAccessor p_54931_, BlockPos p_54932_, BlockPos p_54933_) protected BlockState
NoteBlock.updateShape
(BlockState p_55048_, Direction p_55049_, BlockState p_55050_, LevelAccessor p_55051_, BlockPos p_55052_, BlockPos p_55053_) protected BlockState
ObserverBlock.updateShape
(BlockState p_55118_, Direction p_55119_, BlockState p_55120_, LevelAccessor p_55121_, BlockPos p_55122_, BlockPos p_55123_) PitcherCropBlock.updateShape
(BlockState p_277518_, Direction p_277700_, BlockState p_277660_, LevelAccessor p_277653_, BlockPos p_277982_, BlockPos p_278106_) protected BlockState
PointedDripstoneBlock.updateShape
(BlockState p_154147_, Direction p_154148_, BlockState p_154149_, LevelAccessor p_154150_, BlockPos p_154151_, BlockPos p_154152_) protected BlockState
RedstoneWallTorchBlock.updateShape
(BlockState p_55772_, Direction p_55773_, BlockState p_55774_, LevelAccessor p_55775_, BlockPos p_55776_, BlockPos p_55777_) protected BlockState
RedStoneWireBlock.updateShape
(BlockState p_55598_, Direction p_55599_, BlockState p_55600_, LevelAccessor p_55601_, BlockPos p_55602_, BlockPos p_55603_) protected BlockState
RepeaterBlock.updateShape
(BlockState p_55821_, Direction p_55822_, BlockState p_55823_, LevelAccessor p_55824_, BlockPos p_55825_, BlockPos p_55826_) protected BlockState
ScaffoldingBlock.updateShape
(BlockState p_56044_, Direction p_56045_, BlockState p_56046_, LevelAccessor p_56047_, BlockPos p_56048_, BlockPos p_56049_) protected BlockState
SculkSensorBlock.updateShape
(BlockState p_154457_, Direction p_154458_, BlockState p_154459_, LevelAccessor p_154460_, BlockPos p_154461_, BlockPos p_154462_) protected BlockState
SculkShriekerBlock.updateShape
(BlockState p_222204_, Direction p_222205_, BlockState p_222206_, LevelAccessor p_222207_, BlockPos p_222208_, BlockPos p_222209_) protected BlockState
SculkVeinBlock.updateShape
(BlockState p_222384_, Direction p_222385_, BlockState p_222386_, LevelAccessor p_222387_, BlockPos p_222388_, BlockPos p_222389_) protected BlockState
SeagrassBlock.updateShape
(BlockState p_154530_, Direction p_154531_, BlockState p_154532_, LevelAccessor p_154533_, BlockPos p_154534_, BlockPos p_154535_) protected BlockState
SeaPickleBlock.updateShape
(BlockState p_56113_, Direction p_56114_, BlockState p_56115_, LevelAccessor p_56116_, BlockPos p_56117_, BlockPos p_56118_) protected BlockState
SignBlock.updateShape
(BlockState p_56285_, Direction p_56286_, BlockState p_56287_, LevelAccessor p_56288_, BlockPos p_56289_, BlockPos p_56290_) protected BlockState
SlabBlock.updateShape
(BlockState p_56381_, Direction p_56382_, BlockState p_56383_, LevelAccessor p_56384_, BlockPos p_56385_, BlockPos p_56386_) protected BlockState
SmallDripleafBlock.updateShape
(BlockState p_154625_, Direction p_154626_, BlockState p_154627_, LevelAccessor p_154628_, BlockPos p_154629_, BlockPos p_154630_) protected BlockState
SnowLayerBlock.updateShape
(BlockState p_56606_, Direction p_56607_, BlockState p_56608_, LevelAccessor p_56609_, BlockPos p_56610_, BlockPos p_56611_) protected BlockState
SnowyDirtBlock.updateShape
(BlockState p_56644_, Direction p_56645_, BlockState p_56646_, LevelAccessor p_56647_, BlockPos p_56648_, BlockPos p_56649_) protected BlockState
SoulFireBlock.updateShape
(BlockState p_56659_, Direction p_56660_, BlockState p_56661_, LevelAccessor p_56662_, BlockPos p_56663_, BlockPos p_56664_) protected BlockState
SoulSandBlock.updateShape
(BlockState p_56689_, Direction p_56690_, BlockState p_56691_, LevelAccessor p_56692_, BlockPos p_56693_, BlockPos p_56694_) protected BlockState
SporeBlossomBlock.updateShape
(BlockState p_154713_, Direction p_154714_, BlockState p_154715_, LevelAccessor p_154716_, BlockPos p_154717_, BlockPos p_154718_) protected BlockState
StairBlock.updateShape
(BlockState p_56925_, Direction p_56926_, BlockState p_56927_, LevelAccessor p_56928_, BlockPos p_56929_, BlockPos p_56930_) protected BlockState
StandingSignBlock.updateShape
(BlockState p_57005_, Direction p_57006_, BlockState p_57007_, LevelAccessor p_57008_, BlockPos p_57009_, BlockPos p_57010_) protected BlockState
SugarCaneBlock.updateShape
(BlockState p_57179_, Direction p_57180_, BlockState p_57181_, LevelAccessor p_57182_, BlockPos p_57183_, BlockPos p_57184_) protected BlockState
TrapDoorBlock.updateShape
(BlockState p_57554_, Direction p_57555_, BlockState p_57556_, LevelAccessor p_57557_, BlockPos p_57558_, BlockPos p_57559_) protected BlockState
TripWireBlock.updateShape
(BlockState p_57645_, Direction p_57646_, BlockState p_57647_, LevelAccessor p_57648_, BlockPos p_57649_, BlockPos p_57650_) protected BlockState
TripWireHookBlock.updateShape
(BlockState p_57731_, Direction p_57732_, BlockState p_57733_, LevelAccessor p_57734_, BlockPos p_57735_, BlockPos p_57736_) protected BlockState
VineBlock.updateShape
(BlockState p_57875_, Direction p_57876_, BlockState p_57877_, LevelAccessor p_57878_, BlockPos p_57879_, BlockPos p_57880_) protected BlockState
WallBannerBlock.updateShape
(BlockState p_57935_, Direction p_57936_, BlockState p_57937_, LevelAccessor p_57938_, BlockPos p_57939_, BlockPos p_57940_) protected BlockState
WallBlock.updateShape
(BlockState p_58014_, Direction p_58015_, BlockState p_58016_, LevelAccessor p_58017_, BlockPos p_58018_, BlockPos p_58019_) protected BlockState
WallHangingSignBlock.updateShape
(BlockState p_249879_, Direction p_249939_, BlockState p_250767_, LevelAccessor p_252228_, BlockPos p_252327_, BlockPos p_251853_) protected BlockState
WallSignBlock.updateShape
(BlockState p_58083_, Direction p_58084_, BlockState p_58085_, LevelAccessor p_58086_, BlockPos p_58087_, BlockPos p_58088_) protected BlockState
WallTorchBlock.updateShape
(BlockState p_58143_, Direction p_58144_, BlockState p_58145_, LevelAccessor p_58146_, BlockPos p_58147_, BlockPos p_58148_) protected BlockState
WaterloggedTransparentBlock.updateShape
(BlockState p_313906_, Direction p_313739_, BlockState p_313829_, LevelAccessor p_313692_, BlockPos p_313842_, BlockPos p_313843_) 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
TreeGrower.hasFlowers
(LevelAccessor p_304555_, BlockPos p_304465_) -
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) protected BlockState
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 TypeMethodDescriptionfinal void
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_) protected void
BlockBehaviour.updateIndirectNeighbourShapes
(BlockState p_60520_, LevelAccessor p_60521_, BlockPos p_60522_, int p_60523_, int p_60524_) final void
BlockBehaviour.BlockStateBase.updateNeighbourShapes
(LevelAccessor p_60702_, BlockPos p_60703_, int p_60704_) final 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_) protected BlockState
BlockBehaviour.updateShape
(BlockState p_60541_, Direction p_60542_, BlockState p_60543_, LevelAccessor p_60544_, BlockPos p_60545_, BlockPos p_60546_) -
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 boolean
SculkPatchFeature.canSpreadFrom
(LevelAccessor p_225239_, BlockPos p_225240_) 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 void
PointedDripstoneFeature.createPatchOfDripstoneBlocks
(LevelAccessor p_225194_, RandomSource p_225195_, BlockPos p_225196_, PointedDripstoneConfiguration p_225197_) 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
(RandomSource p_225100_, LevelAccessor p_225101_, int p_225102_, int p_225103_, BlockPos p_225104_, boolean p_225105_, int p_225106_, double p_225107_, int p_225108_) private void
IcebergFeature.generateIcebergBlock
(LevelAccessor p_225110_, RandomSource p_225111_, BlockPos p_225112_, int p_225113_, int p_225114_, int p_225115_, int p_225116_, int p_225117_, int p_225118_, boolean p_225119_, int p_225120_, double p_225121_, boolean p_225122_, BlockState p_225123_) PointedDripstoneFeature.getTipDirection
(LevelAccessor p_225199_, BlockPos p_225200_, RandomSource p_225201_) protected static void
DripstoneUtils.growPointedDripstone
(LevelAccessor p_190848_, BlockPos p_190849_, Direction p_190850_, int p_190851_, boolean p_190852_) 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_) 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_224923_, RandomSource p_224924_, BlockPos p_224925_, int p_224926_, BlockPos.MutableBlockPos p_224927_, HugeMushroomFeatureConfiguration p_224928_) protected void
HugeBrownMushroomFeature.makeCap
(LevelAccessor p_225043_, RandomSource p_225044_, BlockPos p_225045_, int p_225046_, BlockPos.MutableBlockPos p_225047_, HugeMushroomFeatureConfiguration p_225048_) protected void
HugeRedMushroomFeature.makeCap
(LevelAccessor p_225082_, RandomSource p_225083_, BlockPos p_225084_, int p_225085_, BlockPos.MutableBlockPos p_225086_, HugeMushroomFeatureConfiguration p_225087_) private boolean
BlockPileFeature.mayPlaceOn
(LevelAccessor p_224945_, BlockPos p_224946_, RandomSource p_224947_) private void
BasaltPillarFeature.placeBaseHangOff
(LevelAccessor p_224937_, RandomSource p_224938_, BlockPos p_224939_) 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_224974_, RandomSource p_224975_, BlockPos p_224976_, BlockState p_224977_) protected static boolean
DripstoneUtils.placeDripstoneBlockIfPossible
(LevelAccessor p_190854_, BlockPos p_190855_) protected boolean
CoralClawFeature.placeFeature
(LevelAccessor p_224959_, RandomSource p_224960_, BlockPos p_224961_, BlockState p_224962_) protected abstract boolean
CoralFeature.placeFeature
(LevelAccessor p_224966_, RandomSource p_224967_, BlockPos p_224968_, BlockState p_224969_) protected boolean
CoralMushroomFeature.placeFeature
(LevelAccessor p_224982_, RandomSource p_224983_, BlockPos p_224984_, BlockState p_224985_) protected boolean
CoralTreeFeature.placeFeature
(LevelAccessor p_224987_, RandomSource p_224988_, BlockPos p_224989_, BlockState p_224990_) private boolean
BasaltPillarFeature.placeHangOff
(LevelAccessor p_224941_, RandomSource p_224942_, BlockPos p_224943_) private void
HugeFungusFeature.placeHatBlock
(LevelAccessor p_225050_, RandomSource p_225051_, HugeFungusConfiguration p_225052_, BlockPos.MutableBlockPos p_225053_, float p_225054_, float p_225055_, float p_225056_) private void
HugeFungusFeature.placeHatDropBlock
(LevelAccessor p_225065_, RandomSource p_225066_, BlockPos p_225067_, BlockState p_225068_, boolean p_225069_) private void
WeepingVinesFeature.placeRoofNetherWart
(LevelAccessor p_225360_, RandomSource p_225361_, BlockPos p_225362_) private void
WeepingVinesFeature.placeRoofWeepingVines
(LevelAccessor p_225364_, RandomSource p_225365_, BlockPos p_225366_) protected void
AbstractHugeMushroomFeature.placeTrunk
(LevelAccessor p_224930_, RandomSource p_224931_, BlockPos p_224932_, HugeMushroomFeatureConfiguration p_224933_, int p_224934_, BlockPos.MutableBlockPos p_224935_) static void
TwistingVinesFeature.placeWeepingVinesColumn
(LevelAccessor p_225301_, RandomSource p_225302_, BlockPos.MutableBlockPos p_225303_, int p_225304_, int p_225305_, int p_225306_) static void
WeepingVinesFeature.placeWeepingVinesColumn
(LevelAccessor p_225353_, RandomSource p_225354_, BlockPos.MutableBlockPos p_225355_, int p_225356_, int p_225357_, int p_225358_) private void
IcebergFeature.removeFloatingSnowLayer
(LevelAccessor p_66049_, BlockPos p_66050_) private void
IcebergFeature.setIcebergBlock
(BlockPos p_225125_, LevelAccessor p_225126_, RandomSource p_225127_, int p_225128_, int p_225129_, boolean p_225130_, boolean p_225131_, BlockState p_225132_) 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_224949_, BlockPos p_224950_, RandomSource p_224951_, BlockPileConfiguration p_224952_) private static void
HugeFungusFeature.tryPlaceWeepingVines
(BlockPos p_225071_, LevelAccessor p_225072_, RandomSource p_225073_) private static DiscreteVoxelShape
TreeFeature.updateLeaves
(LevelAccessor p_225252_, BoundingBox p_225253_, Set<BlockPos> p_225254_, Set<BlockPos> p_225255_, Set<BlockPos> p_225256_) -
Uses of LevelAccessor in net.minecraft.world.level.levelgen.structure
Modifier and TypeMethodDescriptionprotected boolean
ScatteredFeaturePiece.updateAverageGroundHeight
(LevelAccessor p_72804_, BoundingBox p_72805_, int p_72806_) protected boolean
ScatteredFeaturePiece.updateHeightPositionToLowestGroundHeight
(LevelAccessor p_192468_, int p_192469_) -
Uses of LevelAccessor in net.minecraft.world.level.levelgen.structure.pools
Modifier and TypeMethodDescriptionvoid
StructurePoolElement.handleDataMarker
(LevelAccessor p_227330_, StructureTemplate.StructureBlockInfo p_227331_, BlockPos p_227332_, Rotation p_227333_, RandomSource p_227334_, BoundingBox p_227335_) -
Uses of LevelAccessor in net.minecraft.world.level.levelgen.structure.structures
Modifier and TypeMethodDescriptionprivate void
RuinedPortalPiece.addNetherrackDripColumn
(RandomSource p_229190_, LevelAccessor p_229191_, BlockPos p_229192_) private void
RuinedPortalPiece.addNetherrackDripColumnsBelowPortal
(RandomSource p_229118_, LevelAccessor p_229119_) private boolean
RuinedPortalPiece.canBlockBeReplacedByNetherrackOrMagma
(LevelAccessor p_229134_, BlockPos p_229135_) private static int
RuinedPortalPiece.getSurfaceY
(LevelAccessor p_229129_, int p_229130_, int p_229131_, RuinedPortalPiece.VerticalPlacement p_229132_) protected boolean
MineshaftPieces.MineShaftPiece.isInInvalidLocation
(LevelAccessor p_227882_, BoundingBox p_227883_) private void
RuinedPortalPiece.maybeAddLeavesAbove
(RandomSource p_229182_, LevelAccessor p_229183_, BlockPos p_229184_) private void
RuinedPortalPiece.maybeAddVines
(RandomSource p_229121_, LevelAccessor p_229122_, BlockPos p_229123_) private void
RuinedPortalPiece.placeNetherrackOrMagma
(RandomSource p_229194_, LevelAccessor p_229195_, BlockPos p_229196_) private void
RuinedPortalPiece.spreadNetherrack
(RandomSource p_229179_, LevelAccessor p_229180_) -
Uses of LevelAccessor in net.minecraft.world.level.levelgen.structure.templatesystem
Modifier and TypeMethodDescriptionStructureTemplate.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_) static void
StructureTemplate.updateShapeAtEdge
(LevelAccessor p_333926_, int p_333789_, DiscreteVoxelShape p_333845_, BlockPos p_333731_) -
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.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_) -
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.redstone
Modifier and TypeMethodDescriptionstatic void
NeighborUpdater.executeShapeUpdate
(LevelAccessor p_230771_, Direction p_230772_, BlockState p_230773_, BlockPos p_230774_, BlockPos p_230775_, int p_230776_, int p_230777_) -
Uses of LevelAccessor in net.minecraft.world.level.saveddata.maps
Modifier and TypeMethodDescriptionprivate void
MapItemSavedData.addDecoration
(Holder<MapDecorationType> p_335830_, 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.neoforged.neoforge.common.extensions
Modifier and TypeMethodDescriptiondefault int
IBlockExtension.getExpDrop
(BlockState state, LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemStack tool) Returns how many experience points this block drops when broken, before application of enchantments.default int
IBlockStateExtension.getExpDrop
(LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemStack tool) Returns how many experience points this block drops when broken, before application of enchantments.default BlockState
IBlockExtension.rotate
(BlockState state, LevelAccessor level, BlockPos pos, Rotation direction) default BlockState
IBlockStateExtension.rotate
(LevelAccessor level, BlockPos pos, Rotation direction) -
Uses of LevelAccessor in net.neoforged.neoforge.common.util
Modifier and TypeMethodDescription@Nullable LevelAccessor
BlockSnapshot.getLevel()
Returns the stored level, attempting to resolve it from the current server if it has gone out of scope.Modifier and TypeMethodDescriptionstatic BlockSnapshot
BlockSnapshot.create
(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos) Creates a new snapshot with the default block flags (and Block#UPDATE_CLIENTS
.static BlockSnapshot
BlockSnapshot.create
(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos, int flag) Creates a new snapshot of the data at the given position.private static @Nullable CompoundTag
BlockSnapshot.getBlockEntityTag
(LevelAccessor level, BlockPos pos) Checks for a block entity at a given position, and saves it to NBT with full metadata if it exists.boolean
BlockSnapshot.restoreBlockEntity
(LevelAccessor level, BlockPos pos) Loads the storedBlockEntity
data if one exists at the given position.boolean
BlockSnapshot.restoreToLocation
(LevelAccessor level, BlockPos pos, int flags) Restores this block snapshot to the target level and position with the specified flags.ModifierConstructorDescriptionprivate
BlockSnapshot
(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos, BlockState state, @Nullable CompoundTag nbt, int flags) -
Uses of LevelAccessor in net.neoforged.neoforge.debug.block
Modifier and TypeMethodDescriptionprotected BlockState
BlockTests.CustomBubbleColumnSustainingBlock.updateShape
(BlockState currentBlockState, Direction direction, BlockState sideBlockState, LevelAccessor levelAccessor, BlockPos currentBlockPos, BlockPos sideBlockPos) -
Uses of LevelAccessor in net.neoforged.neoforge.event
Modifier and TypeMethodDescriptionstatic BlockGrowFeatureEvent
EventHooks.fireBlockGrowFeature
(LevelAccessor level, RandomSource rand, BlockPos pos, @Nullable Holder<ConfiguredFeature<?, ?>> holder) Fires theBlockGrowFeatureEvent
and returns the event object.static BlockState
EventHooks.fireFluidPlaceBlockEvent
(LevelAccessor level, BlockPos pos, BlockPos liquidPos, BlockState state) EventHooks.getPotentialSpawns
(LevelAccessor level, MobCategory category, BlockPos pos, WeightedRandomList<MobSpawnSettings.SpawnerData> oldList) static Optional
<PortalShape> EventHooks.onTrySpawnPortal
(LevelAccessor level, BlockPos pos, Optional<PortalShape> size) -
Uses of LevelAccessor in net.neoforged.neoforge.event.level
Modifier and TypeFieldDescriptionprivate final LevelAccessor
BlockEvent.level
private final LevelAccessor
LevelEvent.level
Modifier and TypeMethodDescriptionBlockEvent.getLevel()
LevelEvent.getLevel()
Returns the level this event is affecting.ModifierConstructorDescriptionBlockEvent
(LevelAccessor level, BlockPos pos, BlockState state) BlockGrowFeatureEvent
(LevelAccessor level, RandomSource rand, BlockPos pos, @Nullable Holder<ConfiguredFeature<?, ?>> feature) ChunkDataEvent
(ChunkAccess chunk, LevelAccessor world, CompoundTag data) ChunkEvent
(ChunkAccess chunk, LevelAccessor level) CreateSpawnPosition
(LevelAccessor level, ServerLevelData settings) FluidPlaceBlockEvent
(LevelAccessor level, BlockPos pos, BlockPos liquidPos, BlockState state) LevelEvent
(LevelAccessor level) Load
(LevelAccessor level) PortalSpawnEvent
(LevelAccessor level, BlockPos pos, BlockState state, PortalShape size) PotentialSpawns
(LevelAccessor level, MobCategory category, BlockPos pos, WeightedRandomList<MobSpawnSettings.SpawnerData> oldList) Save
(ChunkAccess chunk, LevelAccessor world, CompoundTag data) Save
(LevelAccessor level) Unload
(LevelAccessor level) -
Uses of LevelAccessor in net.neoforged.neoforge.fluids
Modifier and TypeMethodDescriptionprotected void
BaseFlowingFluid.beforeDestroyingBlock
(LevelAccessor worldIn, BlockPos pos, BlockState state) -
Uses of LevelAccessor in net.neoforged.neoforge.oldtest.fluid
Modifier and TypeMethodDescriptionNewFluidTest.FluidloggableBlock.pickupBlock
(@Nullable Player player, LevelAccessor worldIn, BlockPos pos, BlockState state) boolean
NewFluidTest.FluidloggableBlock.placeLiquid
(LevelAccessor worldIn, BlockPos pos, BlockState state, FluidState fluidStateIn)