Uses of Interface
net.minecraft.world.level.LevelAccessor
Packages that use LevelAccessor
Package
Description
-
Uses of LevelAccessor in net.minecraft.client.multiplayer
Classes in net.minecraft.client.multiplayer that implement LevelAccessor -
Uses of LevelAccessor in net.minecraft.server.level
Classes in net.minecraft.server.level that implement LevelAccessor -
Uses of LevelAccessor in net.minecraft.util
Methods in net.minecraft.util with parameters of type LevelAccessorModifier and TypeMethodDescriptionstatic voidParticleUtils.spawnParticleInBlock(LevelAccessor pLevel, BlockPos pPos, int pCount, ParticleOptions pParticle) static voidParticleUtils.spawnParticles(LevelAccessor pLevel, BlockPos pPos, int pCount, double pXzSpread, double pYSpread, boolean pAllowInAir, ParticleOptions pParticle) static voidParticleUtils.spawnSmashAttackParticles(LevelAccessor pLevel, BlockPos pPos, int pPower) -
Uses of LevelAccessor in net.minecraft.world
Methods in net.minecraft.world with parameters of type LevelAccessorModifier and TypeMethodDescriptionWorldlyContainerHolder.getContainer(BlockState pState, LevelAccessor pLevel, BlockPos pPos) -
Uses of LevelAccessor in net.minecraft.world.entity
Methods in net.minecraft.world.entity with parameters of type LevelAccessorModifier and TypeMethodDescriptionstatic booleanMob.checkMobSpawnRules(EntityType<? extends Mob> pType, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) booleanMob.checkSpawnRules(LevelAccessor pLevel, MobSpawnType pReason) booleanPathfinderMob.checkSpawnRules(LevelAccessor pLevel, MobSpawnType pSpawnReason) -
Uses of LevelAccessor in net.minecraft.world.entity.ai.goal
Methods in net.minecraft.world.entity.ai.goal with parameters of type LevelAccessorModifier and TypeMethodDescriptionvoidRemoveBlockGoal.playDestroyProgressSound(LevelAccessor pLevel, BlockPos pPos) -
Uses of LevelAccessor in net.minecraft.world.entity.ambient
Methods in net.minecraft.world.entity.ambient with parameters of type LevelAccessorModifier and TypeMethodDescriptionstatic booleanBat.checkBatSpawnRules(EntityType<Bat> pBat, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) -
Uses of LevelAccessor in net.minecraft.world.entity.animal
Methods in net.minecraft.world.entity.animal with parameters of type LevelAccessorModifier and TypeMethodDescriptionstatic booleanAnimal.checkAnimalSpawnRules(EntityType<? extends Animal> pAnimal, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanFox.checkFoxSpawnRules(EntityType<Fox> pFox, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanMushroomCow.checkMushroomSpawnRules(EntityType<MushroomCow> pMushroomCow, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandomSource) static booleanOcelot.checkOcelotSpawnRules(EntityType<Ocelot> pOcelot, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanParrot.checkParrotSpawnRules(EntityType<Parrot> pParrot, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanPolarBear.checkPolarBearSpawnRules(EntityType<PolarBear> pPolarBear, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanRabbit.checkRabbitSpawnRules(EntityType<Rabbit> pRabbit, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanWaterAnimal.checkSurfaceWaterAnimalSpawnRules(EntityType<? extends WaterAnimal> pWaterAnimal, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanTropicalFish.checkTropicalFishSpawnRules(EntityType<TropicalFish> pTropicalFish, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanTurtle.checkTurtleSpawnRules(EntityType<Turtle> pTurtle, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanWolf.checkWolfSpawnRules(EntityType<Wolf> pWolf, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) private static Rabbit.VariantRabbit.getRandomRabbitVariant(LevelAccessor pLevel, BlockPos pPos) -
Uses of LevelAccessor in net.minecraft.world.entity.animal.armadillo
Methods in net.minecraft.world.entity.animal.armadillo with parameters of type LevelAccessorModifier and TypeMethodDescriptionstatic booleanArmadillo.checkArmadilloSpawnRules(EntityType<Armadillo> pEntityType, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) -
Uses of LevelAccessor in net.minecraft.world.entity.animal.frog
Methods in net.minecraft.world.entity.animal.frog with parameters of type LevelAccessorModifier and TypeMethodDescriptionstatic booleanFrog.checkFrogSpawnRules(EntityType<? extends Animal> pAnimal, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) -
Uses of LevelAccessor in net.minecraft.world.entity.animal.goat
Methods in net.minecraft.world.entity.animal.goat with parameters of type LevelAccessorModifier and TypeMethodDescriptionstatic booleanGoat.checkGoatSpawnRules(EntityType<? extends Animal> pGoat, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) -
Uses of LevelAccessor in net.minecraft.world.entity.animal.horse
Methods in net.minecraft.world.entity.animal.horse with parameters of type LevelAccessorModifier and TypeMethodDescriptionstatic booleanSkeletonHorse.checkSkeletonHorseSpawnRules(EntityType<? extends Animal> pAnimal, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanZombieHorse.checkZombieHorseSpawnRules(EntityType<? extends Animal> pAnimal, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) -
Uses of LevelAccessor in net.minecraft.world.entity.monster
Methods in net.minecraft.world.entity.monster with parameters of type LevelAccessorModifier and TypeMethodDescriptionstatic booleanMonster.checkAnyLightMonsterSpawnRules(EntityType<? extends Monster> pType, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) Static predicate for determining whether a monster can spawn at the provided location.static booleanEndermite.checkEndermiteSpawnRules(EntityType<Endermite> pEndermite, LevelAccessor pServerLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanGhast.checkGhastSpawnRules(EntityType<Ghast> pGhast, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanGuardian.checkGuardianSpawnRules(EntityType<? extends Guardian> pGuardian, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanMagmaCube.checkMagmaCubeSpawnRules(EntityType<MagmaCube> pMagmaCube, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanPatrollingMonster.checkPatrollingMonsterSpawnRules(EntityType<? extends PatrollingMonster> pPatrollingMonster, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanSilverfish.checkSilverfishSpawnRules(EntityType<Silverfish> pSilverfish, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanSlime.checkSlimeSpawnRules(EntityType<Slime> pSlime, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanStrider.checkStriderSpawnRules(EntityType<Strider> pStrider, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) static booleanZombifiedPiglin.checkZombifiedPiglinSpawnRules(EntityType<ZombifiedPiglin> pZombifiedPiglin, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) private static booleanDrowned.isDeepEnoughToSpawn(LevelAccessor pLevel, BlockPos pPos) voidZombie.ZombieAttackTurtleEggGoal.playDestroyProgressSound(LevelAccessor pLevel, BlockPos pPos) -
Uses of LevelAccessor in net.minecraft.world.entity.monster.hoglin
Methods in net.minecraft.world.entity.monster.hoglin with parameters of type LevelAccessorModifier and TypeMethodDescriptionstatic booleanHoglin.checkHoglinSpawnRules(EntityType<Hoglin> pHoglin, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) -
Uses of LevelAccessor in net.minecraft.world.entity.monster.piglin
Methods in net.minecraft.world.entity.monster.piglin with parameters of type LevelAccessorModifier and TypeMethodDescriptionstatic booleanPiglin.checkPiglinSpawnRules(EntityType<Piglin> pPiglin, LevelAccessor pLevel, MobSpawnType pSpawnType, BlockPos pPos, RandomSource pRandom) -
Uses of LevelAccessor in net.minecraft.world.item
Methods in net.minecraft.world.item with parameters of type LevelAccessorModifier and TypeMethodDescriptionstatic voidBoneMealItem.addGrowthParticles(LevelAccessor pLevel, BlockPos pPos, int pData) private booleanDebugStickItem.handleInteraction(Player pPlayer, BlockState pStateClicked, LevelAccessor pAccessor, BlockPos pPos, boolean pShouldCycleState, ItemStack pDebugStack) voidJukeboxSongPlayer.play(LevelAccessor pLevel, Holder<JukeboxSong> pSong) protected voidBucketItem.playEmptySound(Player pPlayer, LevelAccessor pLevel, BlockPos pPos) protected voidMobBucketItem.playEmptySound(Player pPlayer, LevelAccessor pLevel, BlockPos pPos) private static voidJukeboxSongPlayer.spawnMusicParticles(LevelAccessor pLevel, BlockPos pPos) voidJukeboxSongPlayer.stop(LevelAccessor pLevel, BlockState pState) voidJukeboxSongPlayer.tick(LevelAccessor pLevel, BlockState pState) -
Uses of LevelAccessor in net.minecraft.world.level
Subinterfaces of LevelAccessor in net.minecraft.world.levelClasses in net.minecraft.world.level that implement LevelAccessorFields in net.minecraft.world.level declared as LevelAccessorConstructors in net.minecraft.world.level with parameters of type LevelAccessorModifierConstructorDescriptionStructureManager(LevelAccessor pLevel, WorldOptions pWorldOptions, StructureCheck pStructureCheck) -
Uses of LevelAccessor in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block declared as LevelAccessorModifier and TypeFieldDescriptionprivate final LevelAccessorComposterBlock.InputContainer.levelprivate final LevelAccessorComposterBlock.OutputContainer.levelMethods in net.minecraft.world.level.block with parameters of type LevelAccessorModifier and TypeMethodDescription(package private) static BlockStateComposterBlock.addItem(Entity pEntity, BlockState pState, LevelAccessor pLevel, BlockPos pPos, ItemStack pStack) private booleanSculkVeinBlock.attemptPlaceSculk(SculkSpreader pSpreader, LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) default booleanSculkBehaviour.attemptSpreadVein(LevelAccessor pLevel, BlockPos pPos, BlockState pState, Collection<Direction> pDirections, boolean pMarkForPostprocessing) intSculkBehaviour.attemptUseCharge(SculkSpreader.ChargeCursor pCursor, LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, SculkSpreader pSpreader, boolean pShouldConvertBlocks) intSculkBlock.attemptUseCharge(SculkSpreader.ChargeCursor pCursor, LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, SculkSpreader pSpreader, boolean pShouldConvertBlocks) intSculkVeinBlock.attemptUseCharge(SculkSpreader.ChargeCursor pCursor, LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, SculkSpreader pSpreader, boolean pShouldConvertBlocks) private static booleanSculkBlock.canPlaceGrowth(LevelAccessor pLevel, BlockPos pPos) static <S extends BlockEntity>
DoubleBlockCombiner.NeighborCombineResult<S> DoubleBlockCombiner.combineWithNeigbour(BlockEntityType<S> pBlockEntityType, Function<BlockState, DoubleBlockCombiner.BlockType> pDoubleBlockTypeGetter, Function<BlockState, Direction> pDirectionGetter, DirectionProperty pDirectionProperty, BlockState pState, LevelAccessor pLevel, BlockPos pPos, BiPredicate<LevelAccessor, BlockPos> pBlockedChestTest) private static voidPointedDripstoneBlock.createDripstone(LevelAccessor pLevel, BlockPos pPos, Direction pDirection, DripstoneThickness pThickness) private static voidPointedDripstoneBlock.createMergedTips(BlockState pState, LevelAccessor pLevel, BlockPos pPos) default booleanSculkBehaviour.depositCharge(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) voidBlock.destroy(LevelAccessor pLevel, BlockPos pPos, BlockState pState) Called after this block has been removed by a player.static voidCampfireBlock.dowse(Entity pEntity, LevelAccessor pLevel, BlockPos pPos, BlockState pState) static voidBlock.dropResources(BlockState pState, LevelAccessor pLevel, BlockPos pPos, BlockEntity pBlockEntity) protected static InteractionResultCakeBlock.eat(LevelAccessor pLevel, BlockPos pPos, BlockState pState, Player pPlayer) (package private) static BlockStateComposterBlock.empty(Entity pEntity, BlockState pState, LevelAccessor pLevel, BlockPos pPos) static voidAbstractCandleBlock.extinguish(Player pPlayer, BlockState pState, LevelAccessor pLevel, BlockPos pPos) PointedDripstoneBlock.findBlockVertical(LevelAccessor pLevel, BlockPos pPos, Direction.AxisDirection pAxis, BiPredicate<BlockPos, BlockState> pPositionalStatePredicate, Predicate<BlockState> pStatePredicate, int pMaxIterations) private static BlockPosPointedDripstoneBlock.findTip(BlockState pState, LevelAccessor pLevel, BlockPos pPos, int pMaxIterations, boolean pIsTipMerge) private voidLiquidBlock.fizz(LevelAccessor pLevel, BlockPos pPos) static voidChorusFlowerBlock.generatePlant(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, int pMaxHorizontalDistance) ComposterBlock.getContainer(BlockState pState, LevelAccessor pLevel, BlockPos pPos) intDropExperienceBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) intRedStoneOreBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) intSculkCatalystBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) intSculkSensorBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) intSculkShriekerBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) intSpawnerBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) private BlockStateSculkBlock.getRandomGrowthState(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, boolean pIsWorldGeneration) GrowingPlantBlock.getStateForPlacement(LevelAccessor pLevel) GrowingPlantHeadBlock.getStateForPlacement(LevelAccessor pLevel) private BlockStateFireBlock.getStateWithAge(LevelAccessor pLevel, BlockPos pPos, int pAge) private static BlockPosSculkSpreader.ChargeCursor.getValidMovementPos(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) private static voidChorusFlowerBlock.growTreeRecursive(LevelAccessor pLevel, BlockPos pBranchPos, RandomSource pRandom, BlockPos pOriginalBranchPos, int pMaxHorizontalDistance, int pIterations) static booleanSculkVeinBlock.hasSubstrateAccess(LevelAccessor pLevel, BlockState pState, BlockPos pPos) private static booleanChestBlock.isCatSittingOnChest(LevelAccessor pLevel, BlockPos pPos) static booleanChestBlock.isChestBlockedAt(LevelAccessor p_51509_, BlockPos p_51510_) private static booleanSculkSpreader.ChargeCursor.isMovementUnobstructed(LevelAccessor pLevel, BlockPos pFromPos, BlockPos pToPos) private static booleanSculkSpreader.ChargeCursor.isUnobstructed(LevelAccessor pLevel, BlockPos pPos, Direction pDirection) private static voidLeverBlock.makeParticle(BlockState pState, LevelAccessor pLevel, BlockPos pPos, float pAlpha) default voidSculkBehaviour.onDischarged(LevelAccessor pLevel, BlockState pState, BlockPos pPos, RandomSource pRandom) voidSculkVeinBlock.onDischarged(LevelAccessor pLevel, BlockState pState, BlockPos pPos, RandomSource pRandom) BarrierBlock.pickupBlock(Player pPlayer, LevelAccessor pLevel, BlockPos pPos, BlockState pState) BubbleColumnBlock.pickupBlock(Player pPlayer, LevelAccessor pLevel, BlockPos pPos, BlockState pState) BucketPickup.pickupBlock(Player pPlayer, LevelAccessor pLevel, BlockPos pPos, BlockState pState) LiquidBlock.pickupBlock(Player pPlayer, LevelAccessor pLevel, BlockPos pPos, BlockState pState) PowderSnowBlock.pickupBlock(Player pPlayer, LevelAccessor pLevel, BlockPos pPos, BlockState pState) default ItemStackSimpleWaterloggedBlock.pickupBlock(Player pPlayer, LevelAccessor pLevel, BlockPos pPos, BlockState pState) protected static booleanBigDripleafBlock.place(LevelAccessor pLevel, BlockPos pPos, FluidState pFluidState, Direction pDirection) protected static booleanBigDripleafStemBlock.place(LevelAccessor pLevel, BlockPos pPos, FluidState pFluidState, Direction pDirection) static voidDoublePlantBlock.placeAt(LevelAccessor pLevel, BlockState pState, BlockPos pPos, int pFlags) default booleanMultifaceSpreader.SpreadConfig.placeBlock(LevelAccessor pLevel, MultifaceSpreader.SpreadPos pPos, BlockState pState, boolean pMarkForPostprocessing) booleanCampfireBlock.placeLiquid(LevelAccessor pLevel, BlockPos pPos, BlockState pState, FluidState pFluidState) booleanCandleBlock.placeLiquid(LevelAccessor pLevel, BlockPos pPos, BlockState pState, FluidState pFluidState) booleanKelpBlock.placeLiquid(LevelAccessor pLevel, BlockPos pPos, BlockState pState, FluidState pFluidState) booleanKelpPlantBlock.placeLiquid(LevelAccessor pLevel, BlockPos pPos, BlockState pState, FluidState pFluidState) booleanLiquidBlockContainer.placeLiquid(LevelAccessor pLevel, BlockPos pPos, BlockState pState, FluidState pFluidState) booleanSeagrassBlock.placeLiquid(LevelAccessor p_154520_, BlockPos p_154521_, BlockState p_154522_, FluidState p_154523_) default booleanSimpleWaterloggedBlock.placeLiquid(LevelAccessor pLevel, BlockPos pPos, BlockState pState, FluidState pFluidState) booleanSlabBlock.placeLiquid(LevelAccessor pLevel, BlockPos pPos, BlockState pState, FluidState pFluidState) booleanTallSeagrassBlock.placeLiquid(LevelAccessor p_154758_, BlockPos p_154759_, BlockState p_154760_, FluidState p_154761_) static voidBigDripleafBlock.placeWithRandomHeight(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, Direction pDirection) protected voidButtonBlock.playSound(Player pPlayer, LevelAccessor pLevel, BlockPos pPos, boolean pHitByArrow) protected static voidLeverBlock.playSound(Player pPlayer, LevelAccessor pLevel, BlockPos pPos, BlockState pState) static BlockStateBlock.pushEntitiesUp(BlockState pOldState, BlockState pNewState, LevelAccessor pLevel, BlockPos pPos) static booleanSculkVeinBlock.regrow(LevelAccessor pLevel, BlockPos pPos, BlockState pState, Collection<Direction> pDirections) private BlockStateNoteBlock.setInstrument(LevelAccessor pLevel, BlockPos pPos, BlockState pState) private static voidAbstractCandleBlock.setLit(LevelAccessor pLevel, BlockState pState, BlockPos pPos, boolean pLit) private static voidTargetBlock.setOutputPower(LevelAccessor pLevel, BlockState pState, int pPower, BlockPos pPos, int pWaitTime) private booleanSculkSpreader.ChargeCursor.shouldUpdate(LevelAccessor pLevel, BlockPos pPos, boolean pIsWorldGeneration) longMultifaceSpreader.spreadAll(BlockState pState, LevelAccessor pLevel, BlockPos pPos, boolean pMarkForPostprocessing) private longMultifaceSpreader.spreadFromFaceTowardAllDirections(BlockState pState, LevelAccessor pLevel, BlockPos pPos, Direction pSpreadDirection, boolean pMarkForPostprocessing) MultifaceSpreader.spreadFromFaceTowardDirection(BlockState pState, LevelAccessor pLevel, BlockPos pPos, Direction pSpreadDirection, Direction pFace, boolean pMarkForPostprocessing) MultifaceSpreader.spreadFromFaceTowardRandomDirection(BlockState pState, LevelAccessor pLevel, BlockPos pPos, Direction pSpreadDirection, RandomSource pRandom, boolean pMarkForPostprocessing) MultifaceSpreader.spreadFromRandomFaceTowardRandomDirection(BlockState pState, LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) MultifaceSpreader.spreadToFace(LevelAccessor pLevel, MultifaceSpreader.SpreadPos pPos, boolean pMarkForPostprocessing) private voidObserverBlock.startSignal(LevelAccessor pLevel, BlockPos pPos) protected voidBaseCoralPlantTypeBlock.tryScheduleDieTick(BlockState pState, LevelAccessor pLevel, BlockPos pPos) voidSculkSpreader.ChargeCursor.update(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, SculkSpreader pSpreader, boolean pShouldConvertBlocks) static voidBubbleColumnBlock.updateColumn(LevelAccessor pLevel, BlockPos pPos, BlockState pState) static voidBubbleColumnBlock.updateColumn(LevelAccessor pLevel, BlockPos pPos, BlockState pFluid, BlockState pState) voidSculkSpreader.updateCursors(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, boolean pShouldConvertBlocks) private static BlockStateLeavesBlock.updateDistance(BlockState pState, LevelAccessor pLevel, BlockPos pPos) static BlockStateBlock.updateFromNeighbourShapes(BlockState pCurrentState, LevelAccessor pLevel, BlockPos pPos) With the provided block state, performs neighbor checks for all neighboring blocks to get an "adjusted" blockstate for placement in the world, if the current state is not valid.protected voidRedStoneWireBlock.updateIndirectNeighbourShapes(BlockState pState, LevelAccessor pLevel, BlockPos pPos, int pFlags, int pRecursionLeft) Updates the shapes of indirect neighbors of this block.static voidBlock.updateOrDestroy(BlockState pOldState, BlockState pNewState, LevelAccessor pLevel, BlockPos pPos, int pFlags) Replaces oldState with newState, possibly playing effects and creating drops.static voidBlock.updateOrDestroy(BlockState pOldState, BlockState pNewState, LevelAccessor pLevel, BlockPos pPos, int pFlags, int pRecursionLeft) private static intTargetBlock.updateRedstoneOutput(LevelAccessor pLevel, BlockState pState, BlockHitResult pHit, Entity pProjectile) protected BlockStateAmethystClusterBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateAttachedStemBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) protected BlockStateBambooSaplingBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBambooStalkBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBannerBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBarrierBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBaseCoralPlantTypeBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBaseCoralWallFanBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBasePressurePlateBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBaseRailBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBaseTorchBlock.updateShape(BlockState p_304418_, Direction p_304475_, BlockState p_304669_, LevelAccessor p_304637_, BlockPos p_304633_, BlockPos p_304603_) protected BlockStateBedBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBeehiveBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBellBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBigDripleafBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBigDripleafStemBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.BrushableBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBubbleColumnBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBushBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCactusBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCakeBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCampfireBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCandleBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCandleCakeBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCarpetBlock.updateShape(BlockState p_152926_, Direction p_152927_, BlockState p_152928_, LevelAccessor p_152929_, BlockPos p_152930_, BlockPos p_152931_) protected BlockStateCeilingHangingSignBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) protected BlockStateChainBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateChestBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor facing and neighbor state, returning a new state.protected BlockStateChorusFlowerBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateChorusPlantBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCocoaBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.ComparatorBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateConcretePowderBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) protected BlockStateConduitBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCoralBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCoralFanBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCoralPlantBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCoralWallFanBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateDecoratedPotBlock.updateShape(BlockState p_276307_, Direction p_276322_, BlockState p_276280_, LevelAccessor p_276320_, BlockPos p_276270_, BlockPos p_276312_) protected BlockStateDirtPathBlock.updateShape(BlockState p_153152_, Direction p_153153_, BlockState p_153154_, LevelAccessor p_153155_, BlockPos p_153156_, BlockPos p_153157_) protected BlockStateDoorBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateDoublePlantBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateEnderChestBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFaceAttachedHorizontalDirectionalBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFallingBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFarmBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFenceBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFenceGateBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFireBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFlowerPotBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFrogspawnBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateGlowLichenBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateGrowingPlantBodyBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateGrowingPlantHeadBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateHangingRootsBlock.updateShape(BlockState p_153351_, Direction p_153352_, BlockState p_153353_, LevelAccessor p_153354_, BlockPos p_153355_, BlockPos p_153356_) protected BlockStateHeavyCoreBlock.updateShape(BlockState p_338756_, Direction p_338189_, BlockState p_338723_, LevelAccessor p_338514_, BlockPos p_338346_, BlockPos p_338401_) protected BlockStateHugeMushroomBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateIronBarsBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateLadderBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateLanternBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateLeavesBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateLightBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateLightningRodBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateLiquidBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateMagmaBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateMangrovePropaguleBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateMangroveRootsBlock.updateShape(BlockState p_221514_, Direction p_221515_, BlockState p_221516_, LevelAccessor p_221517_, BlockPos p_221518_, BlockPos p_221519_) protected BlockStateMultifaceBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateNetherPortalBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateNoteBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateObserverBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.PitcherCropBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStatePointedDripstoneBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateRedstoneWallTorchBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateRedStoneWireBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateRepeaterBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateScaffoldingBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSculkSensorBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSculkShriekerBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSculkVeinBlock.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSeagrassBlock.updateShape(BlockState p_154530_, Direction p_154531_, BlockState p_154532_, LevelAccessor p_154533_, BlockPos p_154534_, BlockPos p_154535_) protected BlockStateSeaPickleBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSignBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSlabBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSmallDripleafBlock.updateShape(BlockState p_154625_, Direction p_154626_, BlockState p_154627_, LevelAccessor p_154628_, BlockPos p_154629_, BlockPos p_154630_) protected BlockStateSnowLayerBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSnowyDirtBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSoulFireBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSoulSandBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSporeBlossomBlock.updateShape(BlockState p_154713_, Direction p_154714_, BlockState p_154715_, LevelAccessor p_154716_, BlockPos p_154717_, BlockPos p_154718_) protected BlockStateStairBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateStandingSignBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSugarCaneBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateTrapDoorBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateTripWireBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateTripWireHookBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateVineBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateWallBannerBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateWallBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateWallHangingSignBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateWallSignBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateWallTorchBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateWaterloggedTransparentBlock.updateShape(BlockState p_313906_, Direction p_313739_, BlockState p_313829_, LevelAccessor p_313692_, BlockPos p_313842_, BlockPos p_313843_) Method parameters in net.minecraft.world.level.block with type arguments of type LevelAccessorModifier and TypeMethodDescriptionstatic <S extends BlockEntity>
DoubleBlockCombiner.NeighborCombineResult<S> DoubleBlockCombiner.combineWithNeigbour(BlockEntityType<S> pBlockEntityType, Function<BlockState, DoubleBlockCombiner.BlockType> pDoubleBlockTypeGetter, Function<BlockState, Direction> pDirectionGetter, DirectionProperty pDirectionProperty, BlockState pState, LevelAccessor pLevel, BlockPos pPos, BiPredicate<LevelAccessor, BlockPos> pBlockedChestTest) Constructors in net.minecraft.world.level.block with parameters of type LevelAccessorModifierConstructorDescriptionInputContainer(BlockState pState, LevelAccessor pLevel, BlockPos pPos) OutputContainer(BlockState pState, LevelAccessor pLevel, BlockPos pPos, ItemStack pStack) -
Uses of LevelAccessor in net.minecraft.world.level.block.grower
Methods in net.minecraft.world.level.block.grower with parameters of type LevelAccessorModifier and TypeMethodDescriptionprivate booleanTreeGrower.hasFlowers(LevelAccessor pLevel, BlockPos pPos) -
Uses of LevelAccessor in net.minecraft.world.level.block.piston
Methods in net.minecraft.world.level.block.piston with parameters of type LevelAccessorModifier and TypeMethodDescriptionvoidMovingPistonBlock.destroy(LevelAccessor pLevel, BlockPos pPos, BlockState pState) Called after this block has been removed by a player.PistonBaseBlock.rotate(BlockState state, LevelAccessor world, BlockPos pos, Rotation direction) protected BlockStatePistonHeadBlock.updateShape(BlockState pState, Direction pFacing, BlockState pFacingState, LevelAccessor pLevel, BlockPos pCurrentPos, BlockPos pFacingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state. -
Uses of LevelAccessor in net.minecraft.world.level.block.state
Methods in net.minecraft.world.level.block.state with parameters of type LevelAccessorModifier and TypeMethodDescriptionfinal voidBlockBehaviour.BlockStateBase.updateIndirectNeighbourShapes(LevelAccessor pLevel, BlockPos pPos, int pFlags) voidBlockBehaviour.BlockStateBase.updateIndirectNeighbourShapes(LevelAccessor pLevel, BlockPos pPos, int pFlags, int pRecursionLeft) protected voidBlockBehaviour.updateIndirectNeighbourShapes(BlockState pState, LevelAccessor pLevel, BlockPos pPos, int pFlags, int pRecursionLeft) Updates the shapes of indirect neighbors of this block.final voidBlockBehaviour.BlockStateBase.updateNeighbourShapes(LevelAccessor pLevel, BlockPos pPos, int pFlags) final voidBlockBehaviour.BlockStateBase.updateNeighbourShapes(LevelAccessor pLevel, BlockPos pPos, int pFlags, int pRecursionLeft) BlockBehaviour.BlockStateBase.updateShape(Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) protected BlockStateBlockBehaviour.updateShape(BlockState pState, Direction pDirection, BlockState pNeighborState, LevelAccessor pLevel, BlockPos pPos, BlockPos pNeighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state. -
Uses of LevelAccessor in net.minecraft.world.level.chunk
Fields in net.minecraft.world.level.chunk declared as LevelAccessorMethods in net.minecraft.world.level.chunk with parameters of type LevelAccessorModifier and TypeMethodDescriptiondefault voidUpgradeData.BlockFixer.processChunk(LevelAccessor pLevel) UpgradeData.BlockFixer.updateShape(BlockState pState, Direction pDirection, BlockState pOffsetState, LevelAccessor pLevel, BlockPos pPos, BlockPos pOffsetPos) private static BlockStateUpgradeData.updateState(BlockState pState, Direction pDirection, LevelAccessor pLevel, BlockPos pPos, BlockPos pOffsetPos) Constructors in net.minecraft.world.level.chunk with parameters of type LevelAccessor -
Uses of LevelAccessor in net.minecraft.world.level.levelgen.feature
Methods in net.minecraft.world.level.levelgen.feature with parameters of type LevelAccessorModifier and TypeMethodDescriptionprivate booleanDripstoneClusterFeature.canBeAdjacentToWater(LevelAccessor pLevel, BlockPos pPos) private static booleanBasaltColumnsFeature.canPlaceAt(LevelAccessor pLevel, int pSeaLevel, BlockPos.MutableBlockPos pPos) private booleanSculkPatchFeature.canSpreadFrom(LevelAccessor pLevel, BlockPos pPos) private voidIcebergFeature.carve(int pRadius, int pLocalY, BlockPos pPos, LevelAccessor pLevel, boolean pPlaceWater, double pPerpendicularAngle, BlockPos pEllipseOrigin, int pMajorRadius, int pMinorRadius) private static voidPointedDripstoneFeature.createPatchOfDripstoneBlocks(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, PointedDripstoneConfiguration pConfig) private static BlockPosBasaltColumnsFeature.findAir(LevelAccessor pLevel, BlockPos.MutableBlockPos pPos, int pDistance) private static booleanTwistingVinesFeature.findFirstAirBlockAboveGround(LevelAccessor pLevel, BlockPos.MutableBlockPos pPos) private static BlockPosBasaltColumnsFeature.findSurface(LevelAccessor pLevel, int pSeaLevel, BlockPos.MutableBlockPos pPos, int pDistance) private static BlockPosReplaceBlobsFeature.findTarget(LevelAccessor pLevel, BlockPos.MutableBlockPos pTopPos, Block pBlock) private voidIcebergFeature.generateCutOut(RandomSource pRandom, LevelAccessor pLevel, int pMajorAxis, int pHeight, BlockPos pPos, boolean pElliptical, int pEllipseRadius, double pAngle, int pMinorAxis) private voidIcebergFeature.generateIcebergBlock(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, int pHeight, int pLocalX, int pLocalY, int pLocalZ, int pRadius, int pMajorRadius, boolean pElliptical, int pMinorRadius, double pAngle, boolean pPlaceSnow, BlockState pState) PointedDripstoneFeature.getTipDirection(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) protected static voidDripstoneUtils.growPointedDripstone(LevelAccessor pLevel, BlockPos pPos, Direction pDirection, int pHeight, boolean pMergeTip) private static booleanBasaltColumnsFeature.isAirOrLavaOcean(LevelAccessor pLevel, int pSeaLevel, BlockPos pPos) private static booleanDeltaFeature.isClear(LevelAccessor pLevel, BlockPos pPos, DeltaFeatureConfiguration pConfig) protected static booleanDripstoneUtils.isEmptyOrWater(LevelAccessor pLevel, BlockPos pPos) protected static booleanDripstoneUtils.isEmptyOrWaterOrLava(LevelAccessor pLevel, BlockPos pPos) private static booleanTwistingVinesFeature.isInvalidPlacementLocation(LevelAccessor pLevel, BlockPos pPos) protected booleanAbstractHugeMushroomFeature.isValidPosition(LevelAccessor pLevel, BlockPos pPos, int pMaxHeight, BlockPos.MutableBlockPos pMutablePos, HugeMushroomFeatureConfiguration pConfig) private booleanUnderwaterMagmaFeature.isWaterOrAir(LevelAccessor pLevel, BlockPos pPos) protected abstract voidAbstractHugeMushroomFeature.makeCap(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, int pTreeHeight, BlockPos.MutableBlockPos pMutablePos, HugeMushroomFeatureConfiguration pConfig) protected voidHugeBrownMushroomFeature.makeCap(LevelAccessor p_225043_, RandomSource p_225044_, BlockPos p_225045_, int p_225046_, BlockPos.MutableBlockPos p_225047_, HugeMushroomFeatureConfiguration p_225048_) protected voidHugeRedMushroomFeature.makeCap(LevelAccessor p_225082_, RandomSource p_225083_, BlockPos p_225084_, int p_225085_, BlockPos.MutableBlockPos p_225086_, HugeMushroomFeatureConfiguration p_225087_) private booleanBlockPileFeature.mayPlaceOn(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom) private voidBasaltPillarFeature.placeBaseHangOff(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos) private booleanBasaltColumnsFeature.placeColumn(LevelAccessor pLevel, int pSeaLevel, BlockPos pPos, int pDistance, int pReach) protected booleanCoralFeature.placeCoralBlock(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) protected static booleanDripstoneUtils.placeDripstoneBlockIfPossible(LevelAccessor pLevel, BlockPos pPos) protected booleanCoralClawFeature.placeFeature(LevelAccessor p_224959_, RandomSource p_224960_, BlockPos p_224961_, BlockState p_224962_) protected abstract booleanCoralFeature.placeFeature(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState) protected booleanCoralMushroomFeature.placeFeature(LevelAccessor p_224982_, RandomSource p_224983_, BlockPos p_224984_, BlockState p_224985_) protected booleanCoralTreeFeature.placeFeature(LevelAccessor p_224987_, RandomSource p_224988_, BlockPos p_224989_, BlockState p_224990_) private booleanBasaltPillarFeature.placeHangOff(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos) private voidHugeFungusFeature.placeHatBlock(LevelAccessor pLevel, RandomSource pRandom, HugeFungusConfiguration pConfig, BlockPos.MutableBlockPos pPos, float pDecorationChance, float pHatChance, float pWeepingVineChance) private voidHugeFungusFeature.placeHatDropBlock(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, BlockState pState, boolean pWeepingVines) private voidWeepingVinesFeature.placeRoofNetherWart(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos) private voidWeepingVinesFeature.placeRoofWeepingVines(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos) protected voidAbstractHugeMushroomFeature.placeTrunk(LevelAccessor pLevel, RandomSource pRandom, BlockPos pPos, HugeMushroomFeatureConfiguration pConfig, int pMaxHeight, BlockPos.MutableBlockPos pMutablePos) static voidTwistingVinesFeature.placeWeepingVinesColumn(LevelAccessor pLevel, RandomSource pRandom, BlockPos.MutableBlockPos pPos, int pLength, int pMinAge, int pMaxAge) static voidWeepingVinesFeature.placeWeepingVinesColumn(LevelAccessor pLevel, RandomSource pRandom, BlockPos.MutableBlockPos pPos, int pHeight, int pMinAge, int pMaxAge) private voidIcebergFeature.removeFloatingSnowLayer(LevelAccessor pLevel, BlockPos pPos) private voidIcebergFeature.setIcebergBlock(BlockPos pPos, LevelAccessor pLevel, RandomSource pRandom, int pHeightRemaining, int pHeight, boolean pElliptical, boolean pPlaceSnow, BlockState pState) private voidIcebergFeature.smooth(LevelAccessor pLevel, BlockPos pPos, int pMajorRadius, int pHeight, boolean pElliptical, int pMinorRadius) Smooths out an iceberg by removing blocks which either have air below, or non-iceberg blocks on three or more horizontal sides, with air.private voidBlockPileFeature.tryPlaceBlock(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, BlockPileConfiguration pConfig) private static voidHugeFungusFeature.tryPlaceWeepingVines(BlockPos pPos, LevelAccessor pLevel, RandomSource pRandom) private static DiscreteVoxelShapeTreeFeature.updateLeaves(LevelAccessor pLevel, BoundingBox pBox, Set<BlockPos> pRootPositions, Set<BlockPos> pTrunkPositions, Set<BlockPos> pFoliagePositions) -
Uses of LevelAccessor in net.minecraft.world.level.levelgen.structure
Methods in net.minecraft.world.level.levelgen.structure with parameters of type LevelAccessorModifier and TypeMethodDescriptionprotected booleanScatteredFeaturePiece.updateAverageGroundHeight(LevelAccessor pLevel, BoundingBox pBounds, int pHeight) protected booleanScatteredFeaturePiece.updateHeightPositionToLowestGroundHeight(LevelAccessor pLevel, int pHeight) -
Uses of LevelAccessor in net.minecraft.world.level.levelgen.structure.pools
Methods in net.minecraft.world.level.levelgen.structure.pools with parameters of type LevelAccessorModifier and TypeMethodDescriptionvoidStructurePoolElement.handleDataMarker(LevelAccessor pLevel, StructureTemplate.StructureBlockInfo pBlockInfo, BlockPos pPos, Rotation pRotation, RandomSource pRandom, BoundingBox pBox) -
Uses of LevelAccessor in net.minecraft.world.level.levelgen.structure.structures
Methods in net.minecraft.world.level.levelgen.structure.structures with parameters of type LevelAccessorModifier and TypeMethodDescriptionprivate voidRuinedPortalPiece.addNetherrackDripColumn(RandomSource pRandom, LevelAccessor pLevel, BlockPos pPos) private voidRuinedPortalPiece.addNetherrackDripColumnsBelowPortal(RandomSource pRandom, LevelAccessor pLevel) private booleanRuinedPortalPiece.canBlockBeReplacedByNetherrackOrMagma(LevelAccessor pLevel, BlockPos pPos) private static intRuinedPortalPiece.getSurfaceY(LevelAccessor pLevel, int pX, int pZ, RuinedPortalPiece.VerticalPlacement pVerticalPlacement) protected booleanMineshaftPieces.MineShaftPiece.isInInvalidLocation(LevelAccessor pLevel, BoundingBox pBoundingBox) private voidRuinedPortalPiece.maybeAddLeavesAbove(RandomSource pRandom, LevelAccessor pLevel, BlockPos pPos) private voidRuinedPortalPiece.maybeAddVines(RandomSource pRandom, LevelAccessor pLevel, BlockPos pPos) private voidRuinedPortalPiece.placeNetherrackOrMagma(RandomSource pRandom, LevelAccessor pLevel, BlockPos pPos) private voidRuinedPortalPiece.spreadNetherrack(RandomSource pRandom, LevelAccessor pLevel) -
Uses of LevelAccessor in net.minecraft.world.level.levelgen.structure.templatesystem
Methods in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type LevelAccessorModifier and TypeMethodDescriptionStructureTemplate.processEntityInfos(StructureTemplate template, LevelAccessor p_215387_0_, BlockPos p_215387_1_, StructurePlaceSettings p_215387_2_, List<StructureTemplate.StructureEntityInfo> p_215387_3_) static voidStructureTemplate.updateShapeAtEdge(LevelAccessor pLevel, int pFlags, DiscreteVoxelShape pShape, int pX, int pY, int pZ) static voidStructureTemplate.updateShapeAtEdge(LevelAccessor pLevel, int pFlags, DiscreteVoxelShape pShape, BlockPos pPos) -
Uses of LevelAccessor in net.minecraft.world.level.material
Methods in net.minecraft.world.level.material with parameters of type LevelAccessorModifier and TypeMethodDescriptionprotected abstract voidFlowingFluid.beforeDestroyingBlock(LevelAccessor pLevel, BlockPos pPos, BlockState pState) protected voidLavaFluid.beforeDestroyingBlock(LevelAccessor pLevel, BlockPos pPos, BlockState pState) protected voidWaterFluid.beforeDestroyingBlock(LevelAccessor pLevel, BlockPos pPos, BlockState pState) private voidLavaFluid.fizz(LevelAccessor pLevel, BlockPos pPos) protected voidFlowingFluid.spreadTo(LevelAccessor pLevel, BlockPos pPos, BlockState pBlockState, Direction pDirection, FluidState pFluidState) protected voidLavaFluid.spreadTo(LevelAccessor pLevel, BlockPos pPos, BlockState pBlockState, Direction pDirection, FluidState pFluidState) -
Uses of LevelAccessor in net.minecraft.world.level.portal
Fields in net.minecraft.world.level.portal declared as LevelAccessorMethods in net.minecraft.world.level.portal with parameters of type LevelAccessorModifier and TypeMethodDescriptionstatic Optional<PortalShape> PortalShape.findEmptyPortalShape(LevelAccessor pLevel, BlockPos pBottomLeft, Direction.Axis pAxis) static Optional<PortalShape> PortalShape.findPortalShape(LevelAccessor pLevel, BlockPos pBottomLeft, Predicate<PortalShape> pPredicate, Direction.Axis pAxis) Constructors in net.minecraft.world.level.portal with parameters of type LevelAccessorModifierConstructorDescriptionPortalShape(LevelAccessor pLevel, BlockPos pBottomLeft, Direction.Axis pAxis) -
Uses of LevelAccessor in net.minecraft.world.level.redstone
Methods in net.minecraft.world.level.redstone with parameters of type LevelAccessorModifier and TypeMethodDescriptionstatic voidNeighborUpdater.executeShapeUpdate(LevelAccessor pLevel, Direction pDirection, BlockState pState, BlockPos pPos, BlockPos pNeighborPos, int pFlags, int pRecursionLevel) -
Uses of LevelAccessor in net.minecraft.world.level.saveddata.maps
Methods in net.minecraft.world.level.saveddata.maps with parameters of type LevelAccessorModifier and TypeMethodDescriptionvoidMapItemSavedData.addDecoration(Holder<MapDecorationType> pDecorationType, LevelAccessor pLevel, String pId, double pX, double pZ, double pYRot, Component pDisplayName) booleanMapItemSavedData.toggleBanner(LevelAccessor pAccessor, BlockPos pPos) -
Uses of LevelAccessor in net.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common with parameters of type LevelAccessorModifier and TypeMethodDescriptionvoidSpecialPlantable.spawnPlantAtPosition(ItemStack itemStack, LevelAccessor level, BlockPos pos, @Nullable Direction direction) Spawns the plant with the given direction attachment point at location. -
Uses of LevelAccessor in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions with parameters of type LevelAccessorModifier and TypeMethodDescriptiondefault intIBlockExtension.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 intIBlockStateExtension.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 BlockStateIBlockExtension.rotate(BlockState state, LevelAccessor level, BlockPos pos, Rotation direction) default BlockStateIBlockStateExtension.rotate(LevelAccessor level, BlockPos pos, Rotation direction) -
Uses of LevelAccessor in net.neoforged.neoforge.common.util
Fields in net.neoforged.neoforge.common.util with type parameters of type LevelAccessorMethods in net.neoforged.neoforge.common.util that return LevelAccessorModifier and TypeMethodDescription@Nullable LevelAccessorBlockSnapshot.getLevel()Returns the stored level, attempting to resolve it from the current server if it has gone out of scope.Methods in net.neoforged.neoforge.common.util with parameters of type LevelAccessorModifier and TypeMethodDescriptionstatic BlockSnapshotBlockSnapshot.create(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos) Creates a new snapshot with the default block flags (and Block#UPDATE_CLIENTS.static BlockSnapshotBlockSnapshot.create(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos, int flag) Creates a new snapshot of the data at the given position.private static @Nullable CompoundTagBlockSnapshot.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.booleanBlockSnapshot.restoreBlockEntity(LevelAccessor level, BlockPos pos) Loads the storedBlockEntitydata if one exists at the given position.booleanBlockSnapshot.restoreToLocation(LevelAccessor level, BlockPos pos, int flags) Restores this block snapshot to the target level and position with the specified flags.Constructors in net.neoforged.neoforge.common.util with parameters of type LevelAccessorModifierConstructorDescriptionprivateBlockSnapshot(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos, BlockState state, @Nullable CompoundTag nbt, int flags) -
Uses of LevelAccessor in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event with parameters of type LevelAccessorModifier and TypeMethodDescriptionstatic BlockGrowFeatureEventEventHooks.fireBlockGrowFeature(LevelAccessor level, RandomSource rand, BlockPos pos, @Nullable Holder<ConfiguredFeature<?, ?>> holder) Fires theBlockGrowFeatureEventand returns the event object.static BlockStateEventHooks.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
Fields in net.neoforged.neoforge.event.level declared as LevelAccessorModifier and TypeFieldDescriptionprivate final LevelAccessorBlockEvent.levelprivate final LevelAccessorLevelEvent.levelMethods in net.neoforged.neoforge.event.level that return LevelAccessorModifier and TypeMethodDescriptionBlockEvent.getLevel()LevelEvent.getLevel()Returns the level this event is affecting.Constructors in net.neoforged.neoforge.event.level with parameters of type LevelAccessorModifierConstructorDescriptionBlockEvent(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
Methods in net.neoforged.neoforge.fluids with parameters of type LevelAccessorModifier and TypeMethodDescriptionprotected voidBaseFlowingFluid.beforeDestroyingBlock(LevelAccessor worldIn, BlockPos pos, BlockState state)