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 level, BlockPos pos, int count, ParticleOptions particle) static voidParticleUtils.spawnParticles(LevelAccessor level, BlockPos pos, int count, double spreadWidth, double spreadHeight, boolean allowFloatingParticles, ParticleOptions particle) static voidParticleUtils.spawnSmashAttackParticles(LevelAccessor level, BlockPos pos, int count) -
Uses of LevelAccessor in net.minecraft.world
Methods in net.minecraft.world with parameters of type LevelAccessorModifier and TypeMethodDescriptionWorldlyContainerHolder.getContainer(BlockState state, LevelAccessor level, BlockPos pos) -
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> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) booleanMob.checkSpawnRules(LevelAccessor level, EntitySpawnReason spawnReason) booleanPathfinderMob.checkSpawnRules(LevelAccessor level, EntitySpawnReason spawnReason) -
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 level, BlockPos pos) -
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> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) -
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> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanAgeableWaterCreature.checkSurfaceAgeableWaterCreatureSpawnRules(EntityType<? extends AgeableWaterCreature> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) -
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> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) -
Uses of LevelAccessor in net.minecraft.world.entity.animal.camel
Methods in net.minecraft.world.entity.animal.camel with parameters of type LevelAccessorModifier and TypeMethodDescriptionstatic booleanCamel.checkCamelSpawnRules(EntityType<Camel> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) -
Uses of LevelAccessor in net.minecraft.world.entity.animal.cow
Methods in net.minecraft.world.entity.animal.cow with parameters of type LevelAccessorModifier and TypeMethodDescriptionstatic booleanMushroomCow.checkMushroomSpawnRules(EntityType<MushroomCow> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) -
Uses of LevelAccessor in net.minecraft.world.entity.animal.equine
Methods in net.minecraft.world.entity.animal.equine with parameters of type LevelAccessorModifier and TypeMethodDescriptionstatic booleanSkeletonHorse.checkSkeletonHorseSpawnRules(EntityType<? extends Animal> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) -
Uses of LevelAccessor in net.minecraft.world.entity.animal.feline
Methods in net.minecraft.world.entity.animal.feline with parameters of type LevelAccessorModifier and TypeMethodDescriptionstatic booleanOcelot.checkOcelotSpawnRules(EntityType<Ocelot> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) -
Uses of LevelAccessor in net.minecraft.world.entity.animal.fish
Methods in net.minecraft.world.entity.animal.fish with parameters of type LevelAccessorModifier and TypeMethodDescriptionstatic booleanWaterAnimal.checkSurfaceWaterAnimalSpawnRules(EntityType<? extends WaterAnimal> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanTropicalFish.checkTropicalFishSpawnRules(EntityType<TropicalFish> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) -
Uses of LevelAccessor in net.minecraft.world.entity.animal.fox
Methods in net.minecraft.world.entity.animal.fox with parameters of type LevelAccessorModifier and TypeMethodDescriptionstatic booleanFox.checkFoxSpawnRules(EntityType<Fox> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) -
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> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) -
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> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) -
Uses of LevelAccessor in net.minecraft.world.entity.animal.nautilus
Methods in net.minecraft.world.entity.animal.nautilus with parameters of type LevelAccessorModifier and TypeMethodDescriptionstatic booleanAbstractNautilus.checkNautilusSpawnRules(EntityType<? extends AbstractNautilus> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) -
Uses of LevelAccessor in net.minecraft.world.entity.animal.parrot
Methods in net.minecraft.world.entity.animal.parrot with parameters of type LevelAccessorModifier and TypeMethodDescriptionstatic booleanParrot.checkParrotSpawnRules(EntityType<Parrot> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) -
Uses of LevelAccessor in net.minecraft.world.entity.animal.polarbear
Methods in net.minecraft.world.entity.animal.polarbear with parameters of type LevelAccessorModifier and TypeMethodDescriptionstatic booleanPolarBear.checkPolarBearSpawnRules(EntityType<PolarBear> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) -
Uses of LevelAccessor in net.minecraft.world.entity.animal.rabbit
Methods in net.minecraft.world.entity.animal.rabbit with parameters of type LevelAccessorModifier and TypeMethodDescriptionstatic booleanRabbit.checkRabbitSpawnRules(EntityType<Rabbit> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) private static Rabbit.VariantRabbit.getRandomRabbitVariant(LevelAccessor level, BlockPos pos) -
Uses of LevelAccessor in net.minecraft.world.entity.animal.turtle
Methods in net.minecraft.world.entity.animal.turtle with parameters of type LevelAccessorModifier and TypeMethodDescriptionstatic booleanTurtle.checkTurtleSpawnRules(EntityType<Turtle> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) -
Uses of LevelAccessor in net.minecraft.world.entity.animal.wolf
Methods in net.minecraft.world.entity.animal.wolf with parameters of type LevelAccessorModifier and TypeMethodDescriptionstatic booleanWolf.checkWolfSpawnRules(EntityType<Wolf> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) -
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> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanEndermite.checkEndermiteSpawnRules(EntityType<Endermite> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanGhast.checkGhastSpawnRules(EntityType<Ghast> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanGuardian.checkGuardianSpawnRules(EntityType<? extends Guardian> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanMagmaCube.checkMagmaCubeSpawnRules(EntityType<MagmaCube> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanPatrollingMonster.checkPatrollingMonsterSpawnRules(EntityType<? extends PatrollingMonster> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanSilverfish.checkSilverfishSpawnRules(EntityType<Silverfish> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanSlime.checkSlimeSpawnRules(EntityType<Slime> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) static booleanStrider.checkStriderSpawnRules(EntityType<Strider> ignoredType, LevelAccessor level, EntitySpawnReason ignoredSpawnType, BlockPos pos, RandomSource ignoredRandom) -
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> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) -
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> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) -
Uses of LevelAccessor in net.minecraft.world.entity.monster.zombie
Methods in net.minecraft.world.entity.monster.zombie with parameters of type LevelAccessorModifier and TypeMethodDescriptionstatic booleanZombifiedPiglin.checkZombifiedPiglinSpawnRules(EntityType<ZombifiedPiglin> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) private static booleanDrowned.isDeepEnoughToSpawn(LevelAccessor level, BlockPos pos) voidZombie.ZombieAttackTurtleEggGoal.playDestroyProgressSound(LevelAccessor level, BlockPos pos) -
Uses of LevelAccessor in net.minecraft.world.item
Methods in net.minecraft.world.item with parameters of type LevelAccessorModifier and TypeMethodDescriptionstatic voidBoneMealItem.addGrowthParticles(LevelAccessor level, BlockPos pos, int count) private booleanDebugStickItem.handleInteraction(ServerPlayer player, BlockState state, LevelAccessor level, BlockPos pos, boolean cycle, ItemStack itemStackInHand) voidJukeboxSongPlayer.play(LevelAccessor level, Holder<JukeboxSong> song) protected voidBucketItem.playEmptySound(@Nullable LivingEntity user, LevelAccessor level, BlockPos pos) protected voidMobBucketItem.playEmptySound(@Nullable LivingEntity user, LevelAccessor level, BlockPos pos) private static voidJukeboxSongPlayer.spawnMusicParticles(LevelAccessor level, BlockPos blockPos) voidJukeboxSongPlayer.stop(LevelAccessor level, @Nullable BlockState blockState) voidJukeboxSongPlayer.tick(LevelAccessor level, @Nullable BlockState blockState) -
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 level, WorldOptions worldOptions, StructureCheck structureCheck) -
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.levelprivate final LevelAccessorSideChainPartBlock.Neighbors.levelThe field for thelevelrecord component.private final LevelAccessorSideChainPartBlock.SideChainNeighbor.levelThe field for thelevelrecord component.Methods in net.minecraft.world.level.block that return LevelAccessorModifier and TypeMethodDescriptionSideChainPartBlock.Neighbors.level()Returns the value of thelevelrecord component.SideChainPartBlock.SideChainNeighbor.level()Returns the value of thelevelrecord component.Methods in net.minecraft.world.level.block with parameters of type LevelAccessorModifier and TypeMethodDescriptionprivate static BlockStateComposterBlock.addItem(@Nullable Entity sourceEntity, BlockState state, LevelAccessor level, BlockPos pos, ItemStack itemStack) private booleanSculkVeinBlock.attemptPlaceSculk(SculkSpreader spreader, LevelAccessor level, BlockPos pos, RandomSource random) default booleanSculkBehaviour.attemptSpreadVein(LevelAccessor level, BlockPos pos, BlockState state, @Nullable Collection<Direction> facings, boolean postProcess) intSculkBehaviour.attemptUseCharge(SculkSpreader.ChargeCursor cursor, LevelAccessor level, BlockPos originPos, RandomSource random, SculkSpreader spreader, boolean spreadVeins) intSculkBlock.attemptUseCharge(SculkSpreader.ChargeCursor cursor, LevelAccessor level, BlockPos originPos, RandomSource random, SculkSpreader spreader, boolean spreadVein) intSculkVeinBlock.attemptUseCharge(SculkSpreader.ChargeCursor cursor, LevelAccessor level, BlockPos originPos, RandomSource random, SculkSpreader spreader, boolean spreadVeins) private static booleanSculkBlock.canPlaceGrowth(LevelAccessor level, BlockPos pos) static <S extends BlockEntity>
DoubleBlockCombiner.NeighborCombineResult<S> DoubleBlockCombiner.combineWithNeigbour(BlockEntityType<S> entityType, Function<BlockState, DoubleBlockCombiner.BlockType> typeResolver, Function<BlockState, Direction> connectionResolver, Property<Direction> facingProperty, BlockState state, LevelAccessor level, BlockPos pos, BiPredicate<LevelAccessor, BlockPos> blockedChecker) private static voidPointedDripstoneBlock.createDripstone(LevelAccessor level, BlockPos pos, Direction direction, DripstoneThickness thickness) private static voidPointedDripstoneBlock.createMergedTips(BlockState tipState, LevelAccessor level, BlockPos tipPos) default booleanSculkBehaviour.depositCharge(LevelAccessor level, BlockPos pos, RandomSource random) voidBlock.destroy(LevelAccessor level, BlockPos pos, BlockState state) Called after this block has been removed by a player.static voidCampfireBlock.dowse(@Nullable Entity source, LevelAccessor level, BlockPos pos, BlockState state) static voidBlock.dropResources(BlockState state, LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity) protected static InteractionResultCakeBlock.eat(LevelAccessor level, BlockPos pos, BlockState state, Player player) private static BlockStateComposterBlock.empty(@Nullable Entity sourceEntity, BlockState state, LevelAccessor level, BlockPos pos) static voidAbstractCandleBlock.extinguish(@Nullable Player player, BlockState state, LevelAccessor level, BlockPos pos) PointedDripstoneBlock.findBlockVertical(LevelAccessor level, BlockPos pos, Direction.AxisDirection axisDirection, BiPredicate<BlockPos, BlockState> pathPredicate, Predicate<BlockState> targetPredicate, int maxSteps) private static @Nullable BlockPosPointedDripstoneBlock.findTip(BlockState dripstoneState, LevelAccessor level, BlockPos dripstonePos, int maxSearchLength, boolean includeMergedTip) private voidLiquidBlock.fizz(LevelAccessor level, BlockPos pos) static voidChorusFlowerBlock.generatePlant(LevelAccessor level, BlockPos target, RandomSource random, int maxHorizontalSpread) SideChainPartBlock.getAllBlocksConnectedTo(LevelAccessor level, BlockPos pos) ComposterBlock.getContainer(BlockState state, LevelAccessor level, BlockPos pos) intDropExperienceBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemStack tool) intRedStoneOreBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemStack tool) intSculkCatalystBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemStack tool) intSculkSensorBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemStack tool) intSculkShriekerBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemStack tool) intSpawnerBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemStack tool) private SideChainPartBlock.NeighborsSideChainPartBlock.getNeighbors(LevelAccessor level, BlockPos center, Direction facing) private BlockStateSculkBlock.getRandomGrowthState(LevelAccessor level, BlockPos pos, RandomSource random, boolean isWorldGen) private static @Nullable BlockPosSculkSpreader.ChargeCursor.getValidMovementPos(LevelAccessor level, BlockPos pos, RandomSource random) private static voidChorusFlowerBlock.growTreeRecursive(LevelAccessor level, BlockPos current, RandomSource random, BlockPos startPos, int maxHorizontalSpread, int depth) static booleanSculkVeinBlock.hasSubstrateAccess(LevelAccessor level, BlockState state, BlockPos pos) private static booleanChestBlock.isCatSittingOnChest(LevelAccessor level, BlockPos pos) static booleanChestBlock.isChestBlockedAt(LevelAccessor level, BlockPos pos) private static booleanSculkSpreader.ChargeCursor.isMovementUnobstructed(LevelAccessor level, BlockPos from, BlockPos to) private static booleanCreakingHeartBlock.isSurroundedByLogs(LevelAccessor level, BlockPos pos) private static booleanSculkSpreader.ChargeCursor.isUnobstructed(LevelAccessor level, BlockPos from, Direction direction) private static voidLeverBlock.makeParticle(BlockState state, LevelAccessor level, BlockPos pos, float scale) default voidSculkBehaviour.onDischarged(LevelAccessor level, BlockState state, BlockPos pos, RandomSource random) voidSculkVeinBlock.onDischarged(LevelAccessor level, BlockState state, BlockPos pos, RandomSource random) BarrierBlock.pickupBlock(@Nullable LivingEntity user, LevelAccessor level, BlockPos pos, BlockState state) BubbleColumnBlock.pickupBlock(@Nullable LivingEntity user, LevelAccessor level, BlockPos pos, BlockState state) BucketPickup.pickupBlock(@Nullable LivingEntity user, LevelAccessor level, BlockPos pos, BlockState state) LiquidBlock.pickupBlock(@Nullable LivingEntity user, LevelAccessor level, BlockPos pos, BlockState state) PowderSnowBlock.pickupBlock(@Nullable LivingEntity user, LevelAccessor level, BlockPos pos, BlockState state) default ItemStackSimpleWaterloggedBlock.pickupBlock(@Nullable LivingEntity user, LevelAccessor level, BlockPos pos, BlockState state) protected static booleanBigDripleafBlock.place(LevelAccessor level, BlockPos pos, FluidState fluidState, Direction facing) protected static booleanBigDripleafStemBlock.place(LevelAccessor level, BlockPos pos, FluidState fluidState, Direction facing) static voidDoublePlantBlock.placeAt(LevelAccessor level, BlockState state, BlockPos lowerPos, int updateType) static voidMossyCarpetBlock.placeAt(LevelAccessor level, BlockPos pos, RandomSource random, int updateType) default booleanMultifaceSpreader.SpreadConfig.placeBlock(LevelAccessor level, MultifaceSpreader.SpreadPos spreadPos, BlockState oldState, boolean postProcess) booleanCampfireBlock.placeLiquid(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState) booleanCandleBlock.placeLiquid(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState) booleanDriedGhastBlock.placeLiquid(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState) booleanKelpBlock.placeLiquid(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState) booleanKelpPlantBlock.placeLiquid(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState) booleanLiquidBlockContainer.placeLiquid(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState) booleanSeagrassBlock.placeLiquid(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState) default booleanSimpleWaterloggedBlock.placeLiquid(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState) booleanSlabBlock.placeLiquid(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState) booleanTallSeagrassBlock.placeLiquid(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState) static voidBigDripleafBlock.placeWithRandomHeight(LevelAccessor level, RandomSource random, BlockPos stemBottomPos, Direction facing) protected voidButtonBlock.playSound(@Nullable Player player, LevelAccessor level, BlockPos pos, boolean pressed) protected static voidLeverBlock.playSound(@Nullable Player player, LevelAccessor level, BlockPos pos, BlockState stateAfter) private voidShelfBlock.playSound(LevelAccessor level, BlockPos pos, SoundEvent sound) static BlockStateBlock.pushEntitiesUp(BlockState state, BlockState newState, LevelAccessor level, BlockPos pos) static booleanSculkVeinBlock.regrow(LevelAccessor level, BlockPos pos, BlockState existing, Collection<Direction> faces) private static voidAbstractCandleBlock.setLit(LevelAccessor level, BlockState state, BlockPos pos, boolean lit) private static voidTargetBlock.setOutputPower(LevelAccessor level, BlockState state, int outputStrength, BlockPos pos, int duration) private voidSideChainPartBlock.setPart(LevelAccessor level, BlockPos pos, SideChainPart newPart) private booleanSculkSpreader.ChargeCursor.shouldUpdate(LevelAccessor level, BlockPos pos, boolean isWorldGen) longMultifaceSpreader.spreadAll(BlockState state, LevelAccessor level, BlockPos pos, boolean postProcess) private longMultifaceSpreader.spreadFromFaceTowardAllDirections(BlockState state, LevelAccessor level, BlockPos pos, Direction startingFace, boolean postProcess) MultifaceSpreader.spreadFromFaceTowardDirection(BlockState state, LevelAccessor level, BlockPos pos, Direction fromFace, Direction spreadDirection, boolean postProcess) MultifaceSpreader.spreadFromFaceTowardRandomDirection(BlockState state, LevelAccessor level, BlockPos pos, Direction startingFace, RandomSource random, boolean postProcess) MultifaceSpreader.spreadFromRandomFaceTowardRandomDirection(BlockState state, LevelAccessor level, BlockPos pos, RandomSource random) MultifaceSpreader.spreadToFace(LevelAccessor level, MultifaceSpreader.SpreadPos spreadPos, boolean postProcess) voidSculkSpreader.ChargeCursor.update(LevelAccessor level, BlockPos originPos, RandomSource random, SculkSpreader spreader, boolean spreadVeins) static voidBubbleColumnBlock.updateColumn(Block bubbleColumn, LevelAccessor level, BlockPos occupyAt, BlockState belowState) static voidBubbleColumnBlock.updateColumn(Block bubbleColumn, LevelAccessor level, BlockPos occupyAt, BlockState occupyState, BlockState belowState) voidSculkSpreader.updateCursors(LevelAccessor level, BlockPos originPos, RandomSource random, boolean spreadVeins) private static BlockStateLeavesBlock.updateDistance(BlockState state, LevelAccessor level, BlockPos pos) static BlockStateBlock.updateFromNeighbourShapes(BlockState state, LevelAccessor level, BlockPos pos) 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 state, LevelAccessor level, BlockPos pos, int updateFlags, int updateLimit) default voidSideChainPartBlock.updateNeighborsAfterPoweringDown(LevelAccessor level, BlockPos pos, BlockState state) static voidBlock.updateOrDestroy(BlockState blockState, BlockState newState, LevelAccessor level, BlockPos blockPos, int updateFlags) Replaces oldState with newState, possibly playing effects and creating drops.static voidBlock.updateOrDestroy(BlockState blockState, BlockState newState, LevelAccessor level, BlockPos blockPos, int updateFlags, int updateLimit) private static intTargetBlock.updateRedstoneOutput(LevelAccessor level, BlockState state, BlockHitResult hitResult, Entity entity) default voidSideChainPartBlock.updateSelfAndNeighborsOnPoweringUp(LevelAccessor level, BlockPos pos, BlockState state, BlockState oldState) 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> entityType, Function<BlockState, DoubleBlockCombiner.BlockType> typeResolver, Function<BlockState, Direction> connectionResolver, Property<Direction> facingProperty, BlockState state, LevelAccessor level, BlockPos pos, BiPredicate<LevelAccessor, BlockPos> blockedChecker) Constructors in net.minecraft.world.level.block with parameters of type LevelAccessorModifierConstructorDescriptionInputContainer(BlockState state, LevelAccessor level, BlockPos pos) Neighbors(SideChainPartBlock block, LevelAccessor level, Direction facing, BlockPos center, Map<BlockPos, SideChainPartBlock.Neighbor> cache) Creates an instance of aNeighborsrecord class.OutputContainer(BlockState state, LevelAccessor level, BlockPos pos, ItemStack contents) SideChainNeighbor(LevelAccessor level, SideChainPartBlock block, BlockPos pos, SideChainPart part) Creates an instance of aSideChainNeighborrecord class. -
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 level, BlockPos pos) -
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 level, BlockPos pos, BlockState state) PistonBaseBlock.rotate(BlockState state, LevelAccessor world, BlockPos pos, Rotation direction) -
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 level, BlockPos pos, int updateFlags) voidBlockBehaviour.BlockStateBase.updateIndirectNeighbourShapes(LevelAccessor level, BlockPos pos, int updateFlags, int updateLimit) protected voidBlockBehaviour.updateIndirectNeighbourShapes(BlockState state, LevelAccessor level, BlockPos pos, int updateFlags, int updateLimit) Updates the shapes of indirect neighbors of this block.final voidBlockBehaviour.BlockStateBase.updateNeighbourShapes(LevelAccessor level, BlockPos pos, int updateFlags) final voidBlockBehaviour.BlockStateBase.updateNeighbourShapes(LevelAccessor level, BlockPos pos, int updateFlags, int updateLimit) -
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 level) UpgradeData.BlockFixer.updateShape(BlockState state, Direction direction, BlockState neighbour, LevelAccessor level, BlockPos pos, BlockPos neighbourPos) private static BlockStateUpgradeData.updateState(BlockState state, Direction direction, LevelAccessor level, BlockPos pos, BlockPos neighbourPos) 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 level, BlockPos pos) private static booleanBasaltColumnsFeature.canPlaceAt(LevelAccessor level, int lavaSeaLevel, BlockPos.MutableBlockPos cursor) private booleanSculkPatchFeature.canSpreadFrom(LevelAccessor level, BlockPos origin) private voidIcebergFeature.carve(int radius, int yOff, BlockPos globalOrigin, LevelAccessor level, boolean underWater, double angle, BlockPos localOrigin, int shapeEllipseA, int shapeEllipseC) private static voidPointedDripstoneFeature.createPatchOfDripstoneBlocks(LevelAccessor level, RandomSource random, BlockPos pos, PointedDripstoneConfiguration config) private static @Nullable BlockPosBasaltColumnsFeature.findAir(LevelAccessor level, BlockPos.MutableBlockPos cursor, int limit) private static booleanTwistingVinesFeature.findFirstAirBlockAboveGround(LevelAccessor level, BlockPos.MutableBlockPos placePos) private static @Nullable BlockPosBasaltColumnsFeature.findSurface(LevelAccessor level, int lavaSeaLevel, BlockPos.MutableBlockPos cursor, int limit) private static @Nullable BlockPosReplaceBlobsFeature.findTarget(LevelAccessor level, BlockPos.MutableBlockPos cursor, Block target) private voidIcebergFeature.generateCutOut(RandomSource random, LevelAccessor level, int width, int height, BlockPos globalOrigin, boolean isEllipse, int shapeEllipseA, double shapeAngle, int shapeEllipseC) private voidIcebergFeature.generateIcebergBlock(LevelAccessor level, RandomSource random, BlockPos origin, int height, int xo, int yOff, int zo, int radius, int a, boolean isEllipse, int shapeEllipseC, double shapeAngle, boolean snowOnTop, BlockState mainBlockState) PointedDripstoneFeature.getTipDirection(LevelAccessor level, BlockPos pos, RandomSource random) protected static voidDripstoneUtils.growPointedDripstone(LevelAccessor level, BlockPos startPos, Direction tipDirection, int height, boolean mergedTip) private static booleanBasaltColumnsFeature.isAirOrLavaOcean(LevelAccessor level, int lavaSeaLevel, BlockPos blockPos) private static booleanDeltaFeature.isClear(LevelAccessor level, BlockPos pos, DeltaFeatureConfiguration config) protected static booleanDripstoneUtils.isEmptyOrWater(LevelAccessor level, BlockPos pos) protected static booleanDripstoneUtils.isEmptyOrWaterOrLava(LevelAccessor level, BlockPos pos) private static booleanTwistingVinesFeature.isInvalidPlacementLocation(LevelAccessor level, BlockPos pos) private booleanFallenTreeFeature.isOverSolidGround(LevelAccessor level, BlockPos blockPos) private booleanUnderwaterMagmaFeature.isVisibleFromOutside(LevelAccessor level, BlockPos pos, Direction coveredDirection) protected abstract voidAbstractHugeMushroomFeature.makeCap(LevelAccessor level, RandomSource random, BlockPos origin, int treeHeight, BlockPos.MutableBlockPos blockPos, HugeMushroomFeatureConfiguration config) protected voidHugeBrownMushroomFeature.makeCap(LevelAccessor level, RandomSource random, BlockPos origin, int treeHeight, BlockPos.MutableBlockPos blockPos, HugeMushroomFeatureConfiguration config) protected voidHugeRedMushroomFeature.makeCap(LevelAccessor level, RandomSource random, BlockPos origin, int treeHeight, BlockPos.MutableBlockPos blockPos, HugeMushroomFeatureConfiguration config) private booleanBlockPileFeature.mayPlaceOn(LevelAccessor level, BlockPos blockPos, RandomSource random) private booleanFallenTreeFeature.mayPlaceOn(LevelAccessor level, BlockPos blockPos) private voidBasaltPillarFeature.placeBaseHangOff(LevelAccessor level, RandomSource random, BlockPos pos) private booleanBasaltColumnsFeature.placeColumn(LevelAccessor level, int lavaSeaLevel, BlockPos origin, int columnHeight, int reach) protected booleanCoralFeature.placeCoralBlock(LevelAccessor level, RandomSource random, BlockPos pos, BlockState state) protected static booleanDripstoneUtils.placeDripstoneBlockIfPossible(LevelAccessor level, BlockPos pos) protected booleanCoralClawFeature.placeFeature(LevelAccessor level, RandomSource random, BlockPos origin, BlockState state) protected abstract booleanCoralFeature.placeFeature(LevelAccessor level, RandomSource random, BlockPos origin, BlockState state) protected booleanCoralMushroomFeature.placeFeature(LevelAccessor level, RandomSource random, BlockPos origin, BlockState state) protected booleanCoralTreeFeature.placeFeature(LevelAccessor level, RandomSource random, BlockPos origin, BlockState state) private booleanBasaltPillarFeature.placeHangOff(LevelAccessor level, RandomSource random, BlockPos hangOffPos) private voidHugeFungusFeature.placeHatBlock(LevelAccessor level, RandomSource random, HugeFungusConfiguration config, BlockPos.MutableBlockPos blockPos, float decorBlockProbability, float hatBlockProbability, float vinesProbability) private voidHugeFungusFeature.placeHatDropBlock(LevelAccessor level, RandomSource random, BlockPos blockPos, BlockState hatState, boolean placeVines) protected voidAbstractHugeMushroomFeature.placeMushroomBlock(LevelAccessor level, BlockPos.MutableBlockPos blockPos, BlockState newState) private voidWeepingVinesFeature.placeRoofNetherWart(LevelAccessor level, RandomSource random, BlockPos origin) private voidWeepingVinesFeature.placeRoofWeepingVines(LevelAccessor level, RandomSource random, BlockPos origin) protected voidAbstractHugeMushroomFeature.placeTrunk(LevelAccessor level, RandomSource random, BlockPos origin, HugeMushroomFeatureConfiguration config, int treeHeight, BlockPos.MutableBlockPos blockPos) static voidTwistingVinesFeature.placeWeepingVinesColumn(LevelAccessor level, RandomSource random, BlockPos.MutableBlockPos placePos, int totalHeight, int minAge, int naxAge) static voidWeepingVinesFeature.placeWeepingVinesColumn(LevelAccessor level, RandomSource random, BlockPos.MutableBlockPos placePos, int totalHeight, int minAge, int naxAge) private voidIcebergFeature.removeFloatingSnowLayer(LevelAccessor level, BlockPos pos) private voidIcebergFeature.setIcebergBlock(BlockPos pos, LevelAccessor level, RandomSource random, int hDiff, int height, boolean isEllipse, boolean snowOnTop, BlockState mainBlockState) private voidIcebergFeature.smooth(LevelAccessor level, BlockPos origin, int width, int height, boolean isEllipse, int shapeEllipseA) 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 level, BlockPos blockPos, RandomSource random, BlockPileConfiguration config) private static voidHugeFungusFeature.tryPlaceWeepingVines(BlockPos hatBlockPos, LevelAccessor level, RandomSource random) private static DiscreteVoxelShapeTreeFeature.updateLeaves(LevelAccessor level, BoundingBox bounds, Set<BlockPos> logs, Set<BlockPos> decorationSet, Set<BlockPos> rootPositions) -
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 level, BoundingBox chunkBB, int offset) protected booleanScatteredFeaturePiece.updateHeightPositionToLowestGroundHeight(LevelAccessor level, int offset) -
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 level, StructureTemplate.StructureBlockInfo dataMarker, BlockPos position, Rotation rotation, RandomSource random, BoundingBox chunkBB) -
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 random, LevelAccessor level, BlockPos pos) private voidRuinedPortalPiece.addNetherrackDripColumnsBelowPortal(RandomSource random, LevelAccessor level) private booleanRuinedPortalPiece.canBlockBeReplacedByNetherrackOrMagma(LevelAccessor level, BlockPos pos) private static intRuinedPortalPiece.getSurfaceY(LevelAccessor level, int x, int z, RuinedPortalPiece.VerticalPlacement verticalPlacement) protected booleanMineshaftPieces.MineShaftPiece.isInInvalidLocation(LevelAccessor level, BoundingBox chunkBB) private voidRuinedPortalPiece.maybeAddLeavesAbove(RandomSource random, LevelAccessor level, BlockPos pos) private voidRuinedPortalPiece.maybeAddVines(RandomSource random, LevelAccessor level, BlockPos pos) private voidRuinedPortalPiece.placeNetherrackOrMagma(RandomSource random, LevelAccessor level, BlockPos pos) private voidRuinedPortalPiece.spreadNetherrack(RandomSource random, LevelAccessor level) -
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(@Nullable StructureTemplate template, LevelAccessor p_215387_0_, BlockPos p_215387_1_, StructurePlaceSettings p_215387_2_, List<StructureTemplate.StructureEntityInfo> p_215387_3_) static voidStructureTemplate.updateShapeAtEdge(LevelAccessor level, int updateMode, DiscreteVoxelShape shape, int startX, int startY, int startZ) static voidStructureTemplate.updateShapeAtEdge(LevelAccessor level, int updateMode, DiscreteVoxelShape shape, BlockPos pos) -
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 level, BlockPos pos, BlockState state) protected voidLavaFluid.beforeDestroyingBlock(LevelAccessor level, BlockPos pos, BlockState state) protected voidWaterFluid.beforeDestroyingBlock(LevelAccessor level, BlockPos pos, BlockState state) private voidLavaFluid.fizz(LevelAccessor level, BlockPos pos) protected voidFlowingFluid.spreadTo(LevelAccessor level, BlockPos pos, BlockState state, Direction direction, FluidState target) protected voidLavaFluid.spreadTo(LevelAccessor level, BlockPos pos, BlockState state, Direction direction, FluidState target) -
Uses of LevelAccessor in net.minecraft.world.level.portal
Methods in net.minecraft.world.level.portal with parameters of type LevelAccessorModifier and TypeMethodDescriptionvoidPortalShape.createPortalBlocks(LevelAccessor level) static Optional<PortalShape> PortalShape.findEmptyPortalShape(LevelAccessor level, BlockPos pos, Direction.Axis preferredAxis) static Optional<PortalShape> PortalShape.findPortalShape(LevelAccessor level, BlockPos pos, Predicate<PortalShape> isValid, Direction.Axis preferredAxis) -
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 level, Direction direction, BlockPos pos, BlockPos neighborPos, BlockState neighborState, int updateFlags, int updateLimit) -
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> type, @Nullable LevelAccessor level, String key, double xPos, double zPos, double yRot, @Nullable Component name) private @Nullable MapItemSavedData.MapDecorationLocationMapItemSavedData.calculateDecorationLocationAndType(Holder<MapDecorationType> type, @Nullable LevelAccessor level, double yRot, float xDeltaFromCenter, float yDeltaFromCenter) private byteMapItemSavedData.calculateRotation(@Nullable LevelAccessor level, double yRot) private @Nullable com.mojang.datafixers.util.Pair<Holder<MapDecorationType>, Byte> MapItemSavedData.playerDecorationTypeAndRotation(Holder<MapDecorationType> type, @Nullable LevelAccessor level, double yRot, float xDeltaFromCenter, float yDeltaFromCenter) booleanMapItemSavedData.toggleBanner(LevelAccessor level, BlockPos pos) -
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, WeightedList<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, SerializableChunkData data) ChunkEvent(T 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, WeightedList<MobSpawnSettings.SpawnerData> oldList) Save(ChunkAccess chunk, LevelAccessor world, SerializableChunkData 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)