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 xzSpread, double ySpread, boolean allowInAir, ParticleOptions particle) static voidParticleUtils.spawnSmashAttackParticles(LevelAccessor level, BlockPos pos, int power) -
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, MobSpawnType spawnType, BlockPos pos, RandomSource random) booleanMob.checkSpawnRules(LevelAccessor level, MobSpawnType reason) booleanPathfinderMob.checkSpawnRules(LevelAccessor level, MobSpawnType 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> bat, LevelAccessor level, MobSpawnType spawnType, 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> animal, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanFox.checkFoxSpawnRules(EntityType<Fox> fox, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanMushroomCow.checkMushroomSpawnRules(EntityType<MushroomCow> mushroomCow, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource randomSource) static booleanOcelot.checkOcelotSpawnRules(EntityType<Ocelot> ocelot, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanParrot.checkParrotSpawnRules(EntityType<Parrot> parrot, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanPolarBear.checkPolarBearSpawnRules(EntityType<PolarBear> polarBear, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanRabbit.checkRabbitSpawnRules(EntityType<Rabbit> rabbit, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanWaterAnimal.checkSurfaceWaterAnimalSpawnRules(EntityType<? extends WaterAnimal> waterAnimal, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanTropicalFish.checkTropicalFishSpawnRules(EntityType<TropicalFish> tropicalFish, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanTurtle.checkTurtleSpawnRules(EntityType<Turtle> turtle, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanWolf.checkWolfSpawnRules(EntityType<Wolf> wolf, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) private static Rabbit.VariantRabbit.getRandomRabbitVariant(LevelAccessor level, BlockPos pos) -
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> entityType, LevelAccessor level, MobSpawnType spawnType, 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> animal, LevelAccessor level, MobSpawnType spawnType, 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> goat, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) -
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> animal, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanZombieHorse.checkZombieHorseSpawnRules(EntityType<? extends Animal> animal, LevelAccessor level, MobSpawnType spawnType, 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, MobSpawnType spawnType, BlockPos pos, RandomSource random) Static predicate for determining whether a monster can spawn at the provided location.static booleanEndermite.checkEndermiteSpawnRules(EntityType<Endermite> endermite, LevelAccessor serverLevel, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanGhast.checkGhastSpawnRules(EntityType<Ghast> ghast, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanGuardian.checkGuardianSpawnRules(EntityType<? extends Guardian> guardian, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanMagmaCube.checkMagmaCubeSpawnRules(EntityType<MagmaCube> magmaCube, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanPatrollingMonster.checkPatrollingMonsterSpawnRules(EntityType<? extends PatrollingMonster> patrollingMonster, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanSilverfish.checkSilverfishSpawnRules(EntityType<Silverfish> silverfish, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanSlime.checkSlimeSpawnRules(EntityType<Slime> slime, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanStrider.checkStriderSpawnRules(EntityType<Strider> strider, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) static booleanZombifiedPiglin.checkZombifiedPiglinSpawnRules(EntityType<ZombifiedPiglin> zombifiedPiglin, LevelAccessor level, MobSpawnType spawnType, 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.entity.monster.hoglin
Methods in net.minecraft.world.entity.monster.hoglin with parameters of type LevelAccessorModifier and TypeMethodDescriptionstatic booleanHoglin.checkHoglinSpawnRules(EntityType<Hoglin> hoglin, LevelAccessor level, MobSpawnType spawnType, 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> piglin, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) -
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 data) private booleanDebugStickItem.handleInteraction(Player player, BlockState stateClicked, LevelAccessor accessor, BlockPos pos, boolean shouldCycleState, ItemStack debugStack) voidJukeboxSongPlayer.play(LevelAccessor level, Holder<JukeboxSong> song) protected voidBucketItem.playEmptySound(Player player, LevelAccessor level, BlockPos pos) protected voidMobBucketItem.playEmptySound(Player player, LevelAccessor level, BlockPos pos) private static voidJukeboxSongPlayer.spawnMusicParticles(LevelAccessor level, BlockPos pos) voidJukeboxSongPlayer.stop(LevelAccessor level, BlockState state) voidJukeboxSongPlayer.tick(LevelAccessor level, BlockState state) -
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.levelMethods in net.minecraft.world.level.block with parameters of type LevelAccessorModifier and TypeMethodDescription(package private) static BlockStateComposterBlock.addItem(Entity entity, BlockState state, LevelAccessor level, BlockPos pos, ItemStack stack) private booleanSculkVeinBlock.attemptPlaceSculk(SculkSpreader spreader, LevelAccessor level, BlockPos pos, RandomSource random) default booleanSculkBehaviour.attemptSpreadVein(LevelAccessor level, BlockPos pos, BlockState state, Collection<Direction> directions, boolean markForPostprocessing) intSculkBehaviour.attemptUseCharge(SculkSpreader.ChargeCursor cursor, LevelAccessor level, BlockPos pos, RandomSource random, SculkSpreader spreader, boolean shouldConvertBlocks) intSculkBlock.attemptUseCharge(SculkSpreader.ChargeCursor cursor, LevelAccessor level, BlockPos pos, RandomSource random, SculkSpreader spreader, boolean shouldConvertBlocks) intSculkVeinBlock.attemptUseCharge(SculkSpreader.ChargeCursor cursor, LevelAccessor level, BlockPos pos, RandomSource random, SculkSpreader spreader, boolean shouldConvertBlocks) private static booleanSculkBlock.canPlaceGrowth(LevelAccessor level, BlockPos pos) static <S extends BlockEntity>
DoubleBlockCombiner.NeighborCombineResult<S> DoubleBlockCombiner.combineWithNeigbour(BlockEntityType<S> blockEntityType, Function<BlockState, DoubleBlockCombiner.BlockType> doubleBlockTypeGetter, Function<BlockState, Direction> directionGetter, DirectionProperty directionProperty, BlockState state, LevelAccessor level, BlockPos pos, BiPredicate<LevelAccessor, BlockPos> blockedChestTest) private static voidPointedDripstoneBlock.createDripstone(LevelAccessor level, BlockPos pos, Direction direction, DripstoneThickness thickness) private static voidPointedDripstoneBlock.createMergedTips(BlockState state, LevelAccessor level, BlockPos pos) 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(Entity entity, LevelAccessor level, BlockPos pos, BlockState state) static voidBlock.dropResources(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity) protected static InteractionResultCakeBlock.eat(LevelAccessor level, BlockPos pos, BlockState state, Player player) (package private) static BlockStateComposterBlock.empty(Entity entity, BlockState state, LevelAccessor level, BlockPos pos) static voidAbstractCandleBlock.extinguish(Player player, BlockState state, LevelAccessor level, BlockPos pos) PointedDripstoneBlock.findBlockVertical(LevelAccessor level, BlockPos pos, Direction.AxisDirection axis, BiPredicate<BlockPos, BlockState> positionalStatePredicate, Predicate<BlockState> statePredicate, int maxIterations) private static BlockPosPointedDripstoneBlock.findTip(BlockState state, LevelAccessor level, BlockPos pos, int maxIterations, boolean isTipMerge) private voidLiquidBlock.fizz(LevelAccessor level, BlockPos pos) static voidChorusFlowerBlock.generatePlant(LevelAccessor level, BlockPos pos, RandomSource random, int maxHorizontalDistance) ComposterBlock.getContainer(BlockState state, LevelAccessor level, BlockPos pos) 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 level, BlockPos pos, RandomSource random, boolean isWorldGeneration) GrowingPlantBlock.getStateForPlacement(LevelAccessor level) GrowingPlantHeadBlock.getStateForPlacement(LevelAccessor level) private BlockStateFireBlock.getStateWithAge(LevelAccessor level, BlockPos pos, int age) private static BlockPosSculkSpreader.ChargeCursor.getValidMovementPos(LevelAccessor level, BlockPos pos, RandomSource random) private static voidChorusFlowerBlock.growTreeRecursive(LevelAccessor level, BlockPos branchPos, RandomSource random, BlockPos originalBranchPos, int maxHorizontalDistance, int iterations) 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 fromPos, BlockPos toPos) private static booleanSculkSpreader.ChargeCursor.isUnobstructed(LevelAccessor level, BlockPos pos, Direction direction) private static voidLeverBlock.makeParticle(BlockState state, LevelAccessor level, BlockPos pos, float alpha) default voidSculkBehaviour.onDischarged(LevelAccessor level, BlockState state, BlockPos pos, RandomSource random) voidSculkVeinBlock.onDischarged(LevelAccessor level, BlockState state, BlockPos pos, RandomSource random) BarrierBlock.pickupBlock(Player player, LevelAccessor level, BlockPos pos, BlockState state) BubbleColumnBlock.pickupBlock(Player player, LevelAccessor level, BlockPos pos, BlockState state) BucketPickup.pickupBlock(Player player, LevelAccessor level, BlockPos pos, BlockState state) LiquidBlock.pickupBlock(Player player, LevelAccessor level, BlockPos pos, BlockState state) PowderSnowBlock.pickupBlock(Player player, LevelAccessor level, BlockPos pos, BlockState state) default ItemStackSimpleWaterloggedBlock.pickupBlock(Player player, LevelAccessor level, BlockPos pos, BlockState state) protected static booleanBigDripleafBlock.place(LevelAccessor level, BlockPos pos, FluidState fluidState, Direction direction) protected static booleanBigDripleafStemBlock.place(LevelAccessor level, BlockPos pos, FluidState fluidState, Direction direction) static voidDoublePlantBlock.placeAt(LevelAccessor level, BlockState state, BlockPos pos, int flags) default booleanMultifaceSpreader.SpreadConfig.placeBlock(LevelAccessor level, MultifaceSpreader.SpreadPos pos, BlockState state, boolean markForPostprocessing) booleanCampfireBlock.placeLiquid(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState) booleanCandleBlock.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 p_154520_, BlockPos p_154521_, BlockState p_154522_, FluidState p_154523_) default booleanSimpleWaterloggedBlock.placeLiquid(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState) booleanSlabBlock.placeLiquid(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState) booleanTallSeagrassBlock.placeLiquid(LevelAccessor p_154758_, BlockPos p_154759_, BlockState p_154760_, FluidState p_154761_) static voidBigDripleafBlock.placeWithRandomHeight(LevelAccessor level, RandomSource random, BlockPos pos, Direction direction) protected voidButtonBlock.playSound(Player player, LevelAccessor level, BlockPos pos, boolean hitByArrow) protected static voidLeverBlock.playSound(Player player, LevelAccessor level, BlockPos pos, BlockState state) static BlockStateBlock.pushEntitiesUp(BlockState oldState, BlockState newState, LevelAccessor level, BlockPos pos) static booleanSculkVeinBlock.regrow(LevelAccessor level, BlockPos pos, BlockState state, Collection<Direction> directions) private BlockStateNoteBlock.setInstrument(LevelAccessor level, BlockPos pos, BlockState state) private static voidAbstractCandleBlock.setLit(LevelAccessor level, BlockState state, BlockPos pos, boolean lit) private static voidTargetBlock.setOutputPower(LevelAccessor level, BlockState state, int power, BlockPos pos, int waitTime) private booleanSculkSpreader.ChargeCursor.shouldUpdate(LevelAccessor level, BlockPos pos, boolean isWorldGeneration) longMultifaceSpreader.spreadAll(BlockState state, LevelAccessor level, BlockPos pos, boolean markForPostprocessing) private longMultifaceSpreader.spreadFromFaceTowardAllDirections(BlockState state, LevelAccessor level, BlockPos pos, Direction spreadDirection, boolean markForPostprocessing) MultifaceSpreader.spreadFromFaceTowardDirection(BlockState state, LevelAccessor level, BlockPos pos, Direction spreadDirection, Direction face, boolean markForPostprocessing) MultifaceSpreader.spreadFromFaceTowardRandomDirection(BlockState state, LevelAccessor level, BlockPos pos, Direction spreadDirection, RandomSource random, boolean markForPostprocessing) MultifaceSpreader.spreadFromRandomFaceTowardRandomDirection(BlockState state, LevelAccessor level, BlockPos pos, RandomSource random) MultifaceSpreader.spreadToFace(LevelAccessor level, MultifaceSpreader.SpreadPos pos, boolean markForPostprocessing) private voidObserverBlock.startSignal(LevelAccessor level, BlockPos pos) protected voidBaseCoralPlantTypeBlock.tryScheduleDieTick(BlockState state, LevelAccessor level, BlockPos pos) voidSculkSpreader.ChargeCursor.update(LevelAccessor level, BlockPos pos, RandomSource random, SculkSpreader spreader, boolean shouldConvertBlocks) static voidBubbleColumnBlock.updateColumn(LevelAccessor level, BlockPos pos, BlockState state) static voidBubbleColumnBlock.updateColumn(LevelAccessor level, BlockPos pos, BlockState fluid, BlockState state) voidSculkSpreader.updateCursors(LevelAccessor level, BlockPos pos, RandomSource random, boolean shouldConvertBlocks) private static BlockStateLeavesBlock.updateDistance(BlockState state, LevelAccessor level, BlockPos pos) static BlockStateBlock.updateFromNeighbourShapes(BlockState currentState, 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 flags, int recursionLeft) Updates the shapes of indirect neighbors of this block.static voidBlock.updateOrDestroy(BlockState oldState, BlockState newState, LevelAccessor level, BlockPos pos, int flags) Replaces oldState with newState, possibly playing effects and creating drops.static voidBlock.updateOrDestroy(BlockState oldState, BlockState newState, LevelAccessor level, BlockPos pos, int flags, int recursionLeft) private static intTargetBlock.updateRedstoneOutput(LevelAccessor level, BlockState state, BlockHitResult hit, Entity projectile) protected BlockStateAmethystClusterBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateAttachedStemBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) protected BlockStateBambooSaplingBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBambooStalkBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBannerBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBarrierBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBaseCoralPlantTypeBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBaseCoralWallFanBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBasePressurePlateBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBaseRailBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) 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 state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBeehiveBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBellBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBigDripleafBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBigDripleafStemBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.BrushableBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBubbleColumnBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateBushBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCactusBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCakeBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCampfireBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCandleBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCandleCakeBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) 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 state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) protected BlockStateChainBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateChestBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor facing and neighbor state, returning a new state.protected BlockStateChorusFlowerBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateChorusPlantBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCocoaBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.ComparatorBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateConcretePowderBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) protected BlockStateConduitBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCoralBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCoralFanBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCoralPlantBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateCoralWallFanBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) 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 state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateDoublePlantBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateEnderChestBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFaceAttachedHorizontalDirectionalBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFallingBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFarmBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFenceBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFenceGateBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFireBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFlowerPotBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateFrogspawnBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateGlowLichenBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateGrowingPlantBodyBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateGrowingPlantHeadBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) 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 state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateIronBarsBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateLadderBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateLanternBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateLeavesBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateLightBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateLightningRodBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateLiquidBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateMagmaBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateMangrovePropaguleBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) 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 state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateNetherPortalBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateNoteBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateObserverBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.PitcherCropBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStatePointedDripstoneBlock.updateShape(BlockState state, Direction p_direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateRedstoneWallTorchBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateRedStoneWireBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateRepeaterBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateScaffoldingBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSculkSensorBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSculkShriekerBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSculkVeinBlock.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) 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 state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSignBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSlabBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) 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 state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSnowyDirtBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSoulFireBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSoulSandBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) 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 state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateStandingSignBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateSugarCaneBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateTrapDoorBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateTripWireBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateTripWireHookBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateVineBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateWallBannerBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateWallBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateWallHangingSignBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateWallSignBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) Update the provided state given the provided neighbor direction and neighbor state, returning a new state.protected BlockStateWallTorchBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) 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> blockEntityType, Function<BlockState, DoubleBlockCombiner.BlockType> doubleBlockTypeGetter, Function<BlockState, Direction> directionGetter, DirectionProperty directionProperty, BlockState state, LevelAccessor level, BlockPos pos, BiPredicate<LevelAccessor, BlockPos> blockedChestTest) Constructors in net.minecraft.world.level.block with parameters of type LevelAccessorModifierConstructorDescriptionInputContainer(BlockState state, LevelAccessor level, BlockPos pos) OutputContainer(BlockState state, LevelAccessor level, BlockPos pos, ItemStack stack) -
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) Called after this block has been removed by a player.PistonBaseBlock.rotate(BlockState state, LevelAccessor world, BlockPos pos, Rotation direction) protected BlockStatePistonHeadBlock.updateShape(BlockState state, Direction facing, BlockState facingState, LevelAccessor level, BlockPos currentPos, BlockPos facingPos) 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 level, BlockPos pos, int flags) voidBlockBehaviour.BlockStateBase.updateIndirectNeighbourShapes(LevelAccessor level, BlockPos pos, int flags, int recursionLeft) protected voidBlockBehaviour.updateIndirectNeighbourShapes(BlockState state, LevelAccessor level, BlockPos pos, int flags, int recursionLeft) Updates the shapes of indirect neighbors of this block.final voidBlockBehaviour.BlockStateBase.updateNeighbourShapes(LevelAccessor level, BlockPos pos, int flags) final voidBlockBehaviour.BlockStateBase.updateNeighbourShapes(LevelAccessor level, BlockPos pos, int flags, int recursionLeft) BlockBehaviour.BlockStateBase.updateShape(Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) protected BlockStateBlockBehaviour.updateShape(BlockState state, Direction direction, BlockState neighborState, LevelAccessor level, BlockPos pos, BlockPos neighborPos) 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 level) UpgradeData.BlockFixer.updateShape(BlockState state, Direction direction, BlockState offsetState, LevelAccessor level, BlockPos pos, BlockPos offsetPos) private static BlockStateUpgradeData.updateState(BlockState state, Direction direction, LevelAccessor level, BlockPos pos, BlockPos offsetPos) 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 seaLevel, BlockPos.MutableBlockPos pos) private booleanSculkPatchFeature.canSpreadFrom(LevelAccessor level, BlockPos pos) private voidIcebergFeature.carve(int radius, int localY, BlockPos pos, LevelAccessor level, boolean placeWater, double perpendicularAngle, BlockPos ellipseOrigin, int majorRadius, int minorRadius) private static voidPointedDripstoneFeature.createPatchOfDripstoneBlocks(LevelAccessor level, RandomSource random, BlockPos pos, PointedDripstoneConfiguration config) private static BlockPosBasaltColumnsFeature.findAir(LevelAccessor level, BlockPos.MutableBlockPos pos, int distance) private static booleanTwistingVinesFeature.findFirstAirBlockAboveGround(LevelAccessor level, BlockPos.MutableBlockPos pos) private static BlockPosBasaltColumnsFeature.findSurface(LevelAccessor level, int seaLevel, BlockPos.MutableBlockPos pos, int distance) private static BlockPosReplaceBlobsFeature.findTarget(LevelAccessor level, BlockPos.MutableBlockPos topPos, Block block) private voidIcebergFeature.generateCutOut(RandomSource random, LevelAccessor level, int majorAxis, int height, BlockPos pos, boolean elliptical, int ellipseRadius, double angle, int minorAxis) private voidIcebergFeature.generateIcebergBlock(LevelAccessor level, RandomSource random, BlockPos pos, int height, int localX, int localY, int localZ, int radius, int majorRadius, boolean elliptical, int minorRadius, double angle, boolean placeSnow, BlockState state) PointedDripstoneFeature.getTipDirection(LevelAccessor level, BlockPos pos, RandomSource random) protected static voidDripstoneUtils.growPointedDripstone(LevelAccessor level, BlockPos pos, Direction direction, int height, boolean mergeTip) private static booleanBasaltColumnsFeature.isAirOrLavaOcean(LevelAccessor level, int seaLevel, BlockPos pos) 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) protected booleanAbstractHugeMushroomFeature.isValidPosition(LevelAccessor level, BlockPos pos, int maxHeight, BlockPos.MutableBlockPos mutablePos, HugeMushroomFeatureConfiguration config) private booleanUnderwaterMagmaFeature.isWaterOrAir(LevelAccessor level, BlockPos pos) protected abstract voidAbstractHugeMushroomFeature.makeCap(LevelAccessor level, RandomSource random, BlockPos pos, int treeHeight, BlockPos.MutableBlockPos mutablePos, HugeMushroomFeatureConfiguration config) 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 level, BlockPos pos, RandomSource random) private voidBasaltPillarFeature.placeBaseHangOff(LevelAccessor level, RandomSource random, BlockPos pos) private booleanBasaltColumnsFeature.placeColumn(LevelAccessor level, int seaLevel, BlockPos pos, int distance, 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 p_224959_, RandomSource p_224960_, BlockPos p_224961_, BlockState p_224962_) protected abstract booleanCoralFeature.placeFeature(LevelAccessor level, RandomSource random, BlockPos pos, BlockState state) 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 level, RandomSource random, BlockPos pos) private voidHugeFungusFeature.placeHatBlock(LevelAccessor level, RandomSource random, HugeFungusConfiguration config, BlockPos.MutableBlockPos pos, float decorationChance, float hatChance, float weepingVineChance) private voidHugeFungusFeature.placeHatDropBlock(LevelAccessor level, RandomSource random, BlockPos pos, BlockState state, boolean weepingVines) private voidWeepingVinesFeature.placeRoofNetherWart(LevelAccessor level, RandomSource random, BlockPos pos) private voidWeepingVinesFeature.placeRoofWeepingVines(LevelAccessor level, RandomSource random, BlockPos pos) protected voidAbstractHugeMushroomFeature.placeTrunk(LevelAccessor level, RandomSource random, BlockPos pos, HugeMushroomFeatureConfiguration config, int maxHeight, BlockPos.MutableBlockPos mutablePos) static voidTwistingVinesFeature.placeWeepingVinesColumn(LevelAccessor level, RandomSource random, BlockPos.MutableBlockPos pos, int length, int minAge, int maxAge) static voidWeepingVinesFeature.placeWeepingVinesColumn(LevelAccessor level, RandomSource random, BlockPos.MutableBlockPos pos, int height, int minAge, int maxAge) private voidIcebergFeature.removeFloatingSnowLayer(LevelAccessor level, BlockPos pos) private voidIcebergFeature.setIcebergBlock(BlockPos pos, LevelAccessor level, RandomSource random, int heightRemaining, int height, boolean elliptical, boolean placeSnow, BlockState state) private voidIcebergFeature.smooth(LevelAccessor level, BlockPos pos, int majorRadius, int height, boolean elliptical, int minorRadius) 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 pos, RandomSource random, BlockPileConfiguration config) private static voidHugeFungusFeature.tryPlaceWeepingVines(BlockPos pos, LevelAccessor level, RandomSource random) private static DiscreteVoxelShapeTreeFeature.updateLeaves(LevelAccessor level, BoundingBox box, Set<BlockPos> rootPositions, Set<BlockPos> trunkPositions, Set<BlockPos> foliagePositions) -
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 bounds, int height) protected booleanScatteredFeaturePiece.updateHeightPositionToLowestGroundHeight(LevelAccessor level, int height) -
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 blockInfo, BlockPos pos, Rotation rotation, RandomSource random, BoundingBox box) -
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 boundingBox) 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(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 flags, DiscreteVoxelShape shape, int x, int y, int z) static voidStructureTemplate.updateShapeAtEdge(LevelAccessor level, int flags, 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 blockState, Direction direction, FluidState fluidState) protected voidLavaFluid.spreadTo(LevelAccessor level, BlockPos pos, BlockState blockState, Direction direction, FluidState fluidState) -
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 level, BlockPos bottomLeft, Direction.Axis axis) static Optional<PortalShape> PortalShape.findPortalShape(LevelAccessor level, BlockPos bottomLeft, Predicate<PortalShape> predicate, Direction.Axis axis) Constructors in net.minecraft.world.level.portal with parameters of type LevelAccessorModifierConstructorDescriptionPortalShape(LevelAccessor level, BlockPos bottomLeft, Direction.Axis axis) -
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, BlockState state, BlockPos pos, BlockPos neighborPos, int flags, int recursionLevel) -
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> decorationType, LevelAccessor level, String id, double x, double z, double yRot, Component displayName) booleanMapItemSavedData.toggleBanner(LevelAccessor accessor, 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, 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)