Uses of Interface
net.minecraft.world.WorldAccess
Package
Description
The basic AI system for Minecraft living entities.
-
Uses of WorldAccess in net.minecraft.block
Modifier and TypeFieldDescriptionprivate final WorldAccess
ComposterBlock.ComposterInventory.world
private final WorldAccess
ComposterBlock.FullComposterInventory.world
Modifier and TypeMethodDescriptionprivate boolean
AbstractLichenBlock.addDirection
(WorldAccess world, BlockPos pos, Direction direction, boolean postProcess) (package private) static BlockState
ComposterBlock.addToComposter
(BlockState state, WorldAccess world, BlockPos pos, ItemStack item) protected void
CoralParentBlock.checkLivingConditions
(BlockState state, WorldAccess world, BlockPos pos) static void
Block.dropStacks
(BlockState state, WorldAccess world, BlockPos pos, @Nullable BlockEntity blockEntity) (package private) static BlockState
ComposterBlock.emptyComposter
(BlockState state, WorldAccess world, BlockPos pos) static void
AbstractCandleBlock.extinguish
(@Nullable PlayerEntity player, BlockState state, WorldAccess world, BlockPos pos) static void
CampfireBlock.extinguish
(@Nullable Entity entity, WorldAccess world, BlockPos pos, BlockState state) static void
ChorusFlowerBlock.generate
(WorldAccess world, BlockPos pos, Random random, int size) private static void
ChorusFlowerBlock.generate
(WorldAccess world, BlockPos pos, Random random, BlockPos rootPos, int size, int layer) ComposterBlock.getInventory
(BlockState state, WorldAccess world, BlockPos pos) InventoryProvider.getInventory
(BlockState state, WorldAccess world, BlockPos pos) AbstractPlantPartBlock.getRandomGrowthState
(WorldAccess world) AbstractPlantStemBlock.getRandomGrowthState
(WorldAccess world) AbstractBlock.AbstractBlockState.getStateForNeighborUpdate
(Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.AbstractBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Deprecated.AbstractLichenBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.AbstractPlantBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.AbstractPlantStemBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.AbstractPressurePlateBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.AbstractRailBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.AbstractSignBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.AmethystClusterBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.AttachedStemBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.BambooBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.BambooSaplingBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.BannerBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.BedBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.BeehiveBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.BellBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.BigDripleafBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.BigDripleafStemBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.BubbleColumnBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CactusBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CakeBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CampfireBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CandleBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CandleCakeBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CarpetBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.ChainBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.ChestBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.ChorusFlowerBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.ChorusPlantBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CocoaBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.ConcretePowderBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.ConduitBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CoralBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CoralBlockBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CoralFanBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CoralParentBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CoralWallFanBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.DeadCoralWallFanBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.DirtPathBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.DoorBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.EnderChestBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.FallingBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.FarmlandBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.FenceBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.FenceGateBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.FireBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.FlowerPotBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.FluidBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.GlowLichenBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.HangingRootsBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.LadderBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.LanternBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.LeavesBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.LightBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.LightningRodBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.MagmaBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.MushroomBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.NetherPortalBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.NoteBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.ObserverBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.PaneBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.PistonHeadBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.PlantBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.PointedDripstoneBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.RedstoneWireBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.RepeaterBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.ScaffoldingBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SculkSensorBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SeagrassBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SeaPickleBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SignBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SlabBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SmallDripleafBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SnowBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SnowyBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SoulFireBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SoulSandBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SporeBlossomBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.StairsBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SugarCaneBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.TallPlantBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.TorchBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.TrapdoorBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.TripwireBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.TripwireHookBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.VineBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.WallBannerBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.WallBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.WallMountedBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.WallRedstoneTorchBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.WallSignBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.WallTorchBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.private BlockState
FireBlock.getStateWithAge
(WorldAccess world, BlockPos pos, int age) PointedDripstoneBlock.getTipPos
(BlockState state, WorldAccess world, BlockPos pos, int range, boolean allowMerged) static void
BigDripleafBlock.grow
(WorldAccess world, Random random, BlockPos pos, Direction direction) private static void
PointedDripstoneBlock.growMerged
(BlockState state, WorldAccess world, BlockPos pos) private static boolean
ChestBlock.hasOcelotOnTop
(WorldAccess world, BlockPos pos) static boolean
ChestBlock.isChestBlocked
(WorldAccess world, BlockPos pos) void
Block.onBroken
(WorldAccess world, BlockPos pos, BlockState state) void
PistonExtensionBlock.onBroken
(WorldAccess world, BlockPos pos, BlockState state) void
StairsBlock.onBroken
(WorldAccess world, BlockPos pos, BlockState state) private static void
PointedDripstoneBlock.place
(WorldAccess world, BlockPos pos, Direction direction, Thickness thickness) static void
TallPlantBlock.placeAt
(WorldAccess world, BlockState state, BlockPos pos, int flags) protected static boolean
BigDripleafBlock.placeDripleafAt
(WorldAccess world, BlockPos pos, FluidState fluidState, Direction direction) protected static boolean
BigDripleafStemBlock.placeStemAt
(WorldAccess world, BlockPos pos, FluidState fluidState, Direction direction) protected void
AbstractButtonBlock.playClickSound
(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, boolean powered) protected abstract void
AbstractPressurePlateBlock.playDepressSound
(WorldAccess world, BlockPos pos) protected void
PressurePlateBlock.playDepressSound
(WorldAccess world, BlockPos pos) protected void
WeightedPressurePlateBlock.playDepressSound
(WorldAccess world, BlockPos pos) private void
FluidBlock.playExtinguishSound
(WorldAccess world, BlockPos pos) protected abstract void
AbstractPressurePlateBlock.playPressSound
(WorldAccess world, BlockPos pos) protected void
PressurePlateBlock.playPressSound
(WorldAccess world, BlockPos pos) protected void
WeightedPressurePlateBlock.playPressSound
(WorldAccess world, BlockPos pos) static BlockState
Block.postProcessState
(BlockState state, WorldAccess world, BlockPos pos) final void
AbstractBlock.AbstractBlockState.prepare
(WorldAccess world, BlockPos pos, int flags) void
AbstractBlock.AbstractBlockState.prepare
(WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth) void
AbstractBlock.prepare
(BlockState state, WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth) Deprecated.Consider callingAbstractBlock.AbstractBlockState.prepare(WorldAccess, BlockPos, int, int)
instead.void
RedstoneWireBlock.prepare
(BlockState state, WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth) static void
Block.replace
(BlockState state, BlockState newState, WorldAccess world, BlockPos pos, int flags) Replaces thestate
with thenewState
at thepos
.static void
Block.replace
(BlockState state, BlockState newState, WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth) Replaces thestate
with thenewState
at thepos
.private void
PointedDripstoneBlock.scheduleFall
(BlockState state, WorldAccess world, BlockPos pos) private void
ObserverBlock.scheduleTick
(WorldAccess world, BlockPos pos) PointedDripstoneBlock.searchInDirection
(WorldAccess world, BlockPos pos, Direction.AxisDirection direction, Predicate<BlockState> continuePredicate, Predicate<BlockState> stopPredicate, int range) private static void
AbstractCandleBlock.setLit
(WorldAccess world, BlockState state, BlockPos pos, boolean lit) private static void
TargetBlock.setPower
(WorldAccess world, BlockState state, int power, BlockPos pos, int delay) void
JukeboxBlock.setRecord
(WorldAccess world, BlockPos pos, BlockState state, ItemStack stack) private static void
LeverBlock.spawnParticles
(BlockState state, WorldAccess world, BlockPos pos, float alpha) static <S extends BlockEntity>
DoubleBlockProperties.PropertySource<S>DoubleBlockProperties.toPropertySource
(BlockEntityType<S> blockEntityType, Function<BlockState, DoubleBlockProperties.Type> typeMapper, Function<BlockState, Direction> function, DirectionProperty directionProperty, BlockState state, WorldAccess world, BlockPos pos, BiPredicate<WorldAccess, BlockPos> fallbackTester) private static int
TargetBlock.trigger
(WorldAccess world, BlockState state, BlockHitResult hitResult, Entity entity) BubbleColumnBlock.tryDrainFluid
(WorldAccess world, BlockPos pos, BlockState state) FluidBlock.tryDrainFluid
(WorldAccess world, BlockPos pos, BlockState state) FluidDrainable.tryDrainFluid
(WorldAccess world, BlockPos pos, BlockState state) PowderSnowBlock.tryDrainFluid
(WorldAccess world, BlockPos pos, BlockState state) default ItemStack
Waterloggable.tryDrainFluid
(WorldAccess world, BlockPos pos, BlockState state) protected static ActionResult
CakeBlock.tryEat
(WorldAccess world, BlockPos pos, BlockState state, PlayerEntity player) boolean
CampfireBlock.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) boolean
CandleBlock.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) boolean
FluidFillable.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) boolean
KelpBlock.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) boolean
KelpPlantBlock.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) boolean
SeagrassBlock.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) boolean
SlabBlock.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) boolean
TallSeagrassBlock.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) default boolean
Waterloggable.tryFillWithFluid
(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) boolean
AbstractLichenBlock.trySpreadRandomly
(BlockState state, WorldAccess world, BlockPos pos, Direction from, Random random, boolean postProcess) boolean
AbstractLichenBlock.trySpreadTo
(BlockState state, WorldAccess world, BlockPos pos, Direction from, Direction to, boolean postProcess) static void
BubbleColumnBlock.update
(WorldAccess world, BlockPos pos, BlockState state) static void
BubbleColumnBlock.update
(WorldAccess world, BlockPos pos, BlockState water, BlockState bubbleSource) private static BlockState
LeavesBlock.updateDistanceFromLogs
(BlockState state, WorldAccess world, BlockPos pos) final void
AbstractBlock.AbstractBlockState.updateNeighbors
(WorldAccess world, BlockPos pos, int flags) final void
AbstractBlock.AbstractBlockState.updateNeighbors
(WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth) Modifier and TypeMethodDescriptionstatic <S extends BlockEntity>
DoubleBlockProperties.PropertySource<S>DoubleBlockProperties.toPropertySource
(BlockEntityType<S> blockEntityType, Function<BlockState, DoubleBlockProperties.Type> typeMapper, Function<BlockState, Direction> function, DirectionProperty directionProperty, BlockState state, WorldAccess world, BlockPos pos, BiPredicate<WorldAccess, BlockPos> fallbackTester) ModifierConstructorDescriptionComposterInventory
(BlockState state, WorldAccess world, BlockPos pos) FullComposterInventory
(BlockState state, WorldAccess world, BlockPos pos, ItemStack outputItem) -
Uses of WorldAccess in net.minecraft.block.sapling
Modifier and TypeMethodDescriptionprivate boolean
SaplingGenerator.areFlowersNearby
(WorldAccess world, BlockPos pos) -
Uses of WorldAccess in net.minecraft.client.world
-
Uses of WorldAccess in net.minecraft.entity.ai.goal
Modifier and TypeMethodDescriptionvoid
StepAndDestroyBlockGoal.tickStepping
(WorldAccess world, BlockPos pos) -
Uses of WorldAccess in net.minecraft.entity.mob
Modifier and TypeMethodDescriptionstatic boolean
MagmaCubeEntity.canMagmaCubeSpawn
(EntityType<MagmaCubeEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
MobEntity.canMobSpawn
(EntityType<? extends MobEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
EndermiteEntity.canSpawn
(EntityType<EndermiteEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
GhastEntity.canSpawn
(EntityType<GhastEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
GuardianEntity.canSpawn
(EntityType<? extends GuardianEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
HoglinEntity.canSpawn
(EntityType<HoglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) boolean
MobEntity.canSpawn
(WorldAccess world, SpawnReason spawnReason) boolean
PathAwareEntity.canSpawn
(WorldAccess world, SpawnReason spawnReason) static boolean
PatrolEntity.canSpawn
(EntityType<? extends PatrolEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
PiglinEntity.canSpawn
(EntityType<PiglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
SilverfishEntity.canSpawn
(EntityType<SilverfishEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
SlimeEntity.canSpawn
(EntityType<SlimeEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
WaterCreatureEntity.canSpawn
(EntityType<? extends WaterCreatureEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random) static boolean
ZombifiedPiglinEntity.canSpawn
(EntityType<ZombifiedPiglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
HostileEntity.canSpawnIgnoreLightLevel
(EntityType<? extends HostileEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) private static boolean
DrownedEntity.isValidSpawnDepth
(WorldAccess world, BlockPos pos) void
ZombieEntity.DestroyEggGoal.tickStepping
(WorldAccess world, BlockPos pos) -
Uses of WorldAccess in net.minecraft.entity.passive
Modifier and TypeMethodDescriptionstatic boolean
BatEntity.canSpawn
(EntityType<BatEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
FoxEntity.canSpawn
(EntityType<FoxEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
GoatEntity.canSpawn
(EntityType<? extends AnimalEntity> entityType, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
MooshroomEntity.canSpawn
(EntityType<MooshroomEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
OcelotEntity.canSpawn
(EntityType<OcelotEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
ParrotEntity.canSpawn
(EntityType<ParrotEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
PolarBearEntity.canSpawn
(EntityType<PolarBearEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
RabbitEntity.canSpawn
(EntityType<RabbitEntity> entity, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
StriderEntity.canSpawn
(EntityType<StriderEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
TurtleEntity.canSpawn
(EntityType<TurtleEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
WolfEntity.canSpawn
(EntityType<WolfEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
TropicalFishEntity.canTropicalFishSpawn
(EntityType<TropicalFishEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random) private int
RabbitEntity.chooseType
(WorldAccess world) static boolean
AnimalEntity.isValidNaturalSpawn
(EntityType<? extends AnimalEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) -
Uses of WorldAccess in net.minecraft.fluid
Modifier and TypeMethodDescriptionprotected abstract void
FlowableFluid.beforeBreakingBlock
(WorldAccess world, BlockPos pos, BlockState state) protected void
LavaFluid.beforeBreakingBlock
(WorldAccess world, BlockPos pos, BlockState state) protected void
WaterFluid.beforeBreakingBlock
(WorldAccess world, BlockPos pos, BlockState state) protected void
FlowableFluid.flow
(WorldAccess world, BlockPos pos, BlockState state, Direction direction, FluidState fluidState) protected void
LavaFluid.flow
(WorldAccess world, BlockPos pos, BlockState state, Direction direction, FluidState fluidState) private void
FlowableFluid.method_15744
(WorldAccess world, BlockPos pos, FluidState fluidState, BlockState blockState) private void
LavaFluid.playExtinguishEvent
(WorldAccess world, BlockPos pos) protected void
FlowableFluid.tryFlow
(WorldAccess world, BlockPos fluidPos, FluidState state) -
Uses of WorldAccess in net.minecraft.item
Modifier and TypeMethodDescriptionstatic void
BoneMealItem.createParticles
(WorldAccess world, BlockPos pos, int count) protected void
BucketItem.playEmptyingSound
(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos) protected void
EntityBucketItem.playEmptyingSound
(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos) private boolean
DebugStickItem.use
(PlayerEntity player, BlockState state, WorldAccess world, BlockPos pos, boolean update, ItemStack stack) -
Uses of WorldAccess in net.minecraft.item.map
Modifier and TypeMethodDescriptionboolean
MapState.addBanner
(WorldAccess world, BlockPos pos) private void
MapState.addIcon
(MapIcon.Type type, @Nullable WorldAccess world, String key, double x, double z, double rotation, @Nullable Text text) -
Uses of WorldAccess in net.minecraft.server.world
-
Uses of WorldAccess in net.minecraft.structure
Modifier and TypeMethodDescriptionprotected boolean
ShiftableStructurePiece.adjustToAverageHeight
(WorldAccess world, BlockBox boundingBox, int deltaY) protected boolean
ShiftableStructurePiece.adjustToMinHeight
(WorldAccess world, int int2) private boolean
RuinedPortalStructurePiece.canFillNetherrack
(WorldAccess world, BlockPos pos) private void
RuinedPortalStructurePiece.generateOvergrownLeaves
(Random random, WorldAccess world, BlockPos pos) private void
RuinedPortalStructurePiece.generateVines
(Random random, WorldAccess world, BlockPos pos) private static int
RuinedPortalStructurePiece.getBaseHeight
(WorldAccess world, int x, int y, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement) private void
RuinedPortalStructurePiece.placeNetherrackBase
(Random random, WorldAccess world) private void
RuinedPortalStructurePiece.placeNetherrackBottom
(Random random, WorldAccess world, BlockPos pos) static List<Structure.StructureBlockInfo>
Structure.process
(WorldAccess world, BlockPos pos, BlockPos pivot, StructurePlacementData placementData, List<Structure.StructureBlockInfo> list) static void
Structure.updateCorner
(WorldAccess world, int flags, VoxelSet voxelSet, int startX, int startY, int startZ) private void
RuinedPortalStructurePiece.updateNetherracks
(Random random, WorldAccess world, BlockPos pos) private void
RuinedPortalStructurePiece.updateNetherracksInBound
(Random random, WorldAccess world) -
Uses of WorldAccess in net.minecraft.structure.pool
Modifier and TypeMethodDescriptionvoid
StructurePoolElement.method_16756
(WorldAccess world, Structure.StructureBlockInfo structureBlockInfo, BlockPos pos, BlockRotation rotation, Random random, BlockBox box) -
Uses of WorldAccess in net.minecraft.world
Modifier and TypeInterfaceDescriptioninterface
Represents access to a world on a logical Minecraft server.interface
-
Uses of WorldAccess in net.minecraft.world.chunk
Modifier and TypeMethodDescriptionprivate static BlockState
UpgradeData.applyAdjacentBlock
(BlockState oldState, Direction dir, WorldAccess world, BlockPos currentPos, BlockPos otherPos) UpgradeData.Logic.getUpdatedState
(BlockState oldState, Direction direction, BlockState otherState, WorldAccess world, BlockPos currentPos, BlockPos otherPos) default void
UpgradeData.Logic.postUpdate
(WorldAccess world) -
Uses of WorldAccess in net.minecraft.world.dimension
Modifier and TypeMethodDescriptionstatic Optional<AreaHelper>
AreaHelper.getNewPortal
(WorldAccess world, BlockPos pos, Direction.Axis axis) static Optional<AreaHelper>
AreaHelper.getOrEmpty
(WorldAccess world, BlockPos pos, Predicate<AreaHelper> predicate, Direction.Axis axis) -
Uses of WorldAccess in net.minecraft.world.gen
ModifierConstructorDescriptionStructureAccessor
(WorldAccess world, GeneratorOptions options, StructureLocator locator) -
Uses of WorldAccess in net.minecraft.world.gen.feature
Modifier and TypeMethodDescriptionprivate void
BlockPileFeature.addPileBlock
(WorldAccess world, BlockPos pos, Random random, BlockPileFeatureConfig config) protected boolean
HugeMushroomFeature.canGenerate
(WorldAccess world, BlockPos pos, int height, BlockPos.Mutable mutable, HugeMushroomFeatureConfig config) private static boolean
TwistingVinesFeature.canGenerate
(WorldAccess world, BlockPos.Mutable pos) private boolean
BlockPileFeature.canPlace
(WorldAccess world, BlockPos pos, Random random) private static boolean
DeltaFeature.canPlace
(WorldAccess world, BlockPos pos, DeltaFeatureConfig config) private static boolean
BasaltColumnsFeature.canPlaceAt
(WorldAccess world, int seaLevel, BlockPos.Mutable mutablePos) private void
IcebergFeature.clearSnowAbove
(WorldAccess world, BlockPos pos) protected void
HugeBrownMushroomFeature.generateCap
(WorldAccess world, Random random, BlockPos start, int y, BlockPos.Mutable mutable, HugeMushroomFeatureConfig config) protected abstract void
HugeMushroomFeature.generateCap
(WorldAccess world, Random random, BlockPos start, int y, BlockPos.Mutable mutable, HugeMushroomFeatureConfig config) protected void
HugeRedMushroomFeature.generateCap
(WorldAccess world, Random random, BlockPos start, int y, BlockPos.Mutable mutable, HugeMushroomFeatureConfig config) protected boolean
CoralClawFeature.generateCoral
(WorldAccess world, Random random, BlockPos pos, BlockState state) protected abstract boolean
CoralFeature.generateCoral
(WorldAccess world, Random random, BlockPos pos, BlockState state) protected boolean
CoralMushroomFeature.generateCoral
(WorldAccess world, Random random, BlockPos pos, BlockState state) protected boolean
CoralTreeFeature.generateCoral
(WorldAccess world, Random random, BlockPos pos, BlockState state) protected boolean
CoralFeature.generateCoralPiece
(WorldAccess world, Random random, BlockPos pos, BlockState state) private static void
SmallDripstoneFeature.generateDripstoneBlocks
(WorldAccess world, Random random, BlockPos pos, SmallDripstoneFeatureConfig config) private void
HugeFungusFeature.generateHat
(WorldAccess world, Random random, HugeFungusFeatureConfig config, BlockPos pos, int hatHeight, boolean thickStem) private void
HugeFungusFeature.generateHatBlock
(WorldAccess world, Random random, HugeFungusFeatureConfig config, BlockPos.Mutable pos, float decorationChance, float generationChance, float vineChance) private void
WeepingVinesFeature.generateNetherWartBlocksInArea
(WorldAccess world, Random random, BlockPos pos) private void
HugeFungusFeature.generateStem
(WorldAccess world, Random random, HugeFungusFeatureConfig config, BlockPos pos, int stemHeight, boolean thickStem) protected void
HugeMushroomFeature.generateStem
(WorldAccess world, Random random, BlockPos pos, HugeMushroomFeatureConfig config, int height, BlockPos.Mutable mutable) static void
TwistingVinesFeature.generateVineColumn
(WorldAccess world, Random random, BlockPos.Mutable pos, int maxLength, int minAge, int maxAge) static void
WeepingVinesFeature.generateVineColumn
(WorldAccess world, Random random, BlockPos.Mutable pos, int length, int minAge, int maxAge) private static void
HugeFungusFeature.generateVines
(BlockPos pos, WorldAccess world, Random random) private void
WeepingVinesFeature.generateVinesInArea
(WorldAccess world, Random random, BlockPos pos) SmallDripstoneFeature.getDirection
(WorldAccess world, BlockPos pos, Random random) private static boolean
BasaltColumnsFeature.isAirOrLavaOcean
(WorldAccess world, int seaLevel, BlockPos pos) private static boolean
TwistingVinesFeature.isNotSuitable
(WorldAccess world, BlockPos pos) private static boolean
HugeFungusFeature.isReplaceable
(WorldAccess world, BlockPos pos, boolean replacePlants) private boolean
DripstoneClusterFeature.isStoneOrWater
(WorldAccess world, BlockPos pos) private boolean
UnderwaterMagmaFeature.isWaterOrAir
(WorldAccess world, BlockPos pos) private void
IcebergFeature.method_13415
(int int2, int y, BlockPos pos, WorldAccess world, boolean placeWater, double double2, BlockPos blockPos, int int3, int int4) private void
IcebergFeature.method_13418
(WorldAccess world, BlockPos pos, int int2, int height, boolean bool, int int3) private void
IcebergFeature.method_13428
(Random random, WorldAccess world, int int2, int int3, BlockPos pos, boolean bool, int int4, double double2, int int5) BasaltColumnsFeature.moveDownToGround
(WorldAccess world, int seaLevel, BlockPos.Mutable mutablePos, int distance) ReplaceBlobsFeature.moveDownToTarget
(WorldAccess world, BlockPos.Mutable mutablePos, Block target) BasaltColumnsFeature.moveUpToAir
(WorldAccess world, BlockPos.Mutable mutablePos, int distance) private void
IcebergFeature.placeAt
(WorldAccess world, Random random, BlockPos pos, int height, int offsetX, int offsetY, int offsetZ, int int2, int int3, boolean bool, int int4, double randomSine, boolean placeSnow, BlockState state) private boolean
BasaltColumnsFeature.placeBasaltColumn
(WorldAccess world, int seaLevel, BlockPos pos, int height, int reach) private void
IcebergFeature.placeBlockOrSnow
(BlockPos pos, WorldAccess world, Random random, int heightRemaining, int height, boolean lessSnow, boolean placeSnow, BlockState state) private static VoxelSet
TreeFeature.placeLogsAndLeaves
(WorldAccess world, BlockBox box, Set<BlockPos> trunkPositions, Set<BlockPos> decorationPositions) private boolean
BasaltPillarFeature.stopOrPlaceBasalt
(WorldAccess world, Random random, BlockPos pos) private void
HugeFungusFeature.tryGenerateVines
(WorldAccess world, Random random, BlockPos pos, BlockState state, boolean bool) private void
BasaltPillarFeature.tryPlaceBasalt
(WorldAccess world, Random random, BlockPos pos) -
Uses of WorldAccess in net.minecraft.world.gen.feature.util
Modifier and TypeMethodDescriptionprotected static boolean
DripstoneHelper.canGenerate
(WorldAccess world, BlockPos pos) protected static boolean
DripstoneHelper.canGenerateOrLava
(WorldAccess world, BlockPos pos) protected static boolean
DripstoneHelper.generateDripstoneBlock
(WorldAccess world, BlockPos pos) protected static void
DripstoneHelper.generatePointedDripstone
(WorldAccess world, BlockPos pos, Direction direction, int height, boolean merge)
AbstractBlock.AbstractBlockState.getStateForNeighborUpdate(net.minecraft.util.math.Direction, net.minecraft.block.BlockState, net.minecraft.world.WorldAccess, net.minecraft.util.math.BlockPos, net.minecraft.util.math.BlockPos)
instead.