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 TypeMethodDescription(package private) static BlockState
ComposterBlock.addToComposter
(@Nullable Entity user, BlockState state, WorldAccess world, BlockPos pos, ItemStack stack) private boolean
SaplingGenerator.areFlowersNearby
(WorldAccess world, BlockPos pos) protected void
CoralParentBlock.checkLivingConditions
(BlockState state, WorldAccess world, BlockPos pos) private boolean
SculkVeinBlock.convertToBlock
(SculkSpreadManager spreadManager, WorldAccess world, BlockPos pos, Random random) static void
Block.dropStacks
(BlockState state, WorldAccess world, BlockPos pos, @Nullable BlockEntity blockEntity) (package private) static BlockState
ComposterBlock.emptyComposter
(@Nullable Entity user, 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) private BlockState
SculkBlock.getExtraBlockState
(WorldAccess world, BlockPos pos, Random random, boolean allowShrieker) 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.protected BlockState
AbstractBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
AbstractPlantBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
AbstractPlantStemBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
AbstractPressurePlateBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
AbstractRailBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
AbstractSignBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
AbstractTorchBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
AmethystClusterBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
AttachedStemBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
BambooBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
BambooShootBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
BannerBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
BarrierBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
BedBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
BeehiveBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
BellBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
BigDripleafBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
BigDripleafStemBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.BrushableBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
BubbleColumnBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
CactusBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
CakeBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
CampfireBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
CandleBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
CandleCakeBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
CarpetBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
ChainBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
ChestBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
ChorusFlowerBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
ChorusPlantBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
CocoaBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.ComparatorBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
ConcretePowderBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
ConduitBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
CoralBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
CoralBlockBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
CoralFanBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
CoralParentBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
CoralWallFanBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
DeadCoralWallFanBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
DecoratedPotBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
DirtPathBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
DoorBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
EnderChestBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
FallingBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
FarmlandBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
FenceBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
FenceGateBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
FireBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
FlowerPotBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
FluidBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
FrogspawnBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
GlowLichenBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
GrateBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
HangingRootsBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
HangingSignBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
HeavyCoreBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
LadderBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
LanternBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
LeavesBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
LightBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
LightningRodBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
MagmaBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
MangroveRootsBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
MultifaceGrowthBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
MushroomBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
NetherPortalBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
NoteBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
ObserverBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
PaneBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
PistonHeadBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.PitcherCropBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
PlantBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
PointedDripstoneBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
PropaguleBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
RedstoneWireBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
RepeaterBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
ScaffoldingBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
SculkSensorBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
SculkShriekerBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
SculkVeinBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
SeagrassBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
SeaPickleBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
SignBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
SlabBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
SmallDripleafBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
SnowBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
SnowyBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
SoulFireBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
SoulSandBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
SporeBlossomBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
StairsBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
SugarCaneBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
TallPlantBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
TrapdoorBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
TripwireBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
TripwireHookBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
VineBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
WallBannerBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
WallBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
WallHangingSignBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
WallMountedBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
WallRedstoneTorchBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
WallSignBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.protected BlockState
WallTorchBlock.getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Returns the state of the block after a neighboring block's state change.private BlockState
FireBlock.getStateWithAge
(WorldAccess world, BlockPos pos, int age) private BlockState
NoteBlock.getStateWithInstrument
(WorldAccess world, BlockPos pos, BlockState state) PointedDripstoneBlock.getTipPos
(BlockState state, WorldAccess world, BlockPos pos, int range, boolean allowMerged) static void
BigDripleafBlock.grow
(WorldAccess world, Random random, BlockPos pos, Direction direction) long
LichenGrower.grow
(BlockState state, WorldAccess world, BlockPos pos, boolean markForPostProcessing) private long
LichenGrower.grow
(BlockState state, WorldAccess world, BlockPos pos, Direction direction, boolean markForPostProcessing) LichenGrower.grow
(BlockState state, WorldAccess world, BlockPos pos, Direction oldDirection, Direction newDirection, boolean markForPostProcessing) LichenGrower.grow
(BlockState state, WorldAccess world, BlockPos pos, Direction direction, Random random, boolean markForPostProcessing) LichenGrower.grow
(BlockState state, WorldAccess world, BlockPos pos, Random random) private static void
PointedDripstoneBlock.growMerged
(BlockState state, WorldAccess world, BlockPos pos) private static boolean
ChestBlock.hasCatOnTop
(WorldAccess world, BlockPos pos) static boolean
ChestBlock.isChestBlocked
(WorldAccess world, BlockPos pos) default boolean
SculkSpreadable.method_41470
(WorldAccess world, BlockPos pos, Random random) void
Block.onBroken
(WorldAccess world, BlockPos pos, BlockState state) Called after a player breaks a block and the block is removed from the world.void
PistonExtensionBlock.onBroken
(WorldAccess world, BlockPos pos, BlockState state) Called after a player breaks a block and the block is removed from the world.default boolean
LichenGrower.GrowChecker.place
(WorldAccess world, LichenGrower.GrowPos growPos, BlockState state, boolean markForPostProcessing) LichenGrower.place
(WorldAccess world, LichenGrower.GrowPos pos, boolean markForPostProcessing) private static void
PointedDripstoneBlock.place
(WorldAccess world, BlockPos pos, Direction direction, Thickness thickness) static boolean
SculkVeinBlock.place
(WorldAccess world, BlockPos pos, BlockState state, Collection<Direction> directions) 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
ButtonBlock.playClickSound
(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, boolean powered) protected static void
LeverBlock.playClickSound
(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) private void
FluidBlock.playExtinguishSound
(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) protected void
AbstractBlock.prepare
(BlockState state, WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth) Called when the block state changes, before the neighbor-triggered state update on the original block, and after the neighbor-triggered state update on the replaced block.protected void
RedstoneWireBlock.prepare
(BlockState state, WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth) Called when the block state changes, before the neighbor-triggered state update on the original block, and after the neighbor-triggered state update on the replaced block.static BlockState
Block.pushEntitiesUpBeforeBlockChange
(BlockState from, BlockState to, WorldAccess world, BlockPos pos) Pushes entities standing on a block up before changing the block to taller ones.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
ObserverBlock.scheduleTick
(WorldAccess world, BlockPos pos) PointedDripstoneBlock.searchInDirection
(WorldAccess world, BlockPos pos, Direction.AxisDirection direction, BiPredicate<BlockPos, 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) private static boolean
SculkBlock.shouldNotDecay
(WorldAccess world, BlockPos pos) private static void
LeverBlock.spawnParticles
(BlockState state, WorldAccess world, BlockPos pos, float alpha) int
SculkBlock.spread
(SculkSpreadManager.Cursor cursor, WorldAccess world, BlockPos catalystPos, Random random, SculkSpreadManager spreadManager, boolean shouldConvertToBlock) int
SculkSpreadable.spread
(SculkSpreadManager.Cursor cursor, WorldAccess world, BlockPos catalystPos, Random random, SculkSpreadManager spreadManager, boolean shouldConvertToBlock) default boolean
SculkSpreadable.spread
(WorldAccess world, BlockPos pos, BlockState state, @Nullable Collection<Direction> directions, boolean markForPostProcessing) int
SculkVeinBlock.spread
(SculkSpreadManager.Cursor cursor, WorldAccess world, BlockPos catalystPos, Random random, SculkSpreadManager spreadManager, boolean shouldConvertToBlock) default void
SculkSpreadable.spreadAtSamePosition
(WorldAccess world, BlockState state, BlockPos pos, Random random) void
SculkVeinBlock.spreadAtSamePosition
(WorldAccess world, BlockState state, BlockPos pos, Random random) static <S extends BlockEntity>
DoubleBlockProperties.PropertySource<S> DoubleBlockProperties.toPropertySource
(BlockEntityType<S> blockEntityType, Function<BlockState, DoubleBlockProperties.Type> typeMapper, Function<BlockState, Direction> directionMapper, 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) BarrierBlock.tryDrainFluid
(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) BubbleColumnBlock.tryDrainFluid
(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) FluidBlock.tryDrainFluid
(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) FluidDrainable.tryDrainFluid
(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) PowderSnowBlock.tryDrainFluid
(@Nullable PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) default ItemStack
Waterloggable.tryDrainFluid
(@Nullable PlayerEntity player, 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) 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) static boolean
SculkVeinBlock.veinCoversSculkReplaceable
(WorldAccess world, BlockState state, BlockPos pos) Modifier and TypeMethodDescriptionstatic <S extends BlockEntity>
DoubleBlockProperties.PropertySource<S> DoubleBlockProperties.toPropertySource
(BlockEntityType<S> blockEntityType, Function<BlockState, DoubleBlockProperties.Type> typeMapper, Function<BlockState, Direction> directionMapper, 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.entity
Modifier and TypeMethodDescriptionprivate boolean
SculkSpreadManager.Cursor.canSpread
(WorldAccess world, BlockPos pos, boolean worldGen) private static boolean
SculkSpreadManager.Cursor.canSpread
(WorldAccess world, BlockPos sourcePos, BlockPos targetPos) private static boolean
SculkSpreadManager.Cursor.canSpread
(WorldAccess world, BlockPos pos, Direction direction) SculkSpreadManager.Cursor.getSpreadPos
(WorldAccess world, BlockPos pos, Random random) void
SculkSpreadManager.Cursor.spread
(WorldAccess world, BlockPos pos, Random random, SculkSpreadManager spreadManager, boolean shouldConvertToBlock) void
SculkSpreadManager.tick
(WorldAccess world, BlockPos pos, Random random, boolean shouldConvertToBlock) -
Uses of WorldAccess in net.minecraft.block.jukebox
Modifier and TypeMethodDescriptionprivate static void
JukeboxManager.spawnNoteParticles
(WorldAccess world, BlockPos pos) void
JukeboxManager.startPlaying
(WorldAccess world, RegistryEntry<JukeboxSong> song) void
JukeboxManager.stopPlaying
(WorldAccess world, @Nullable BlockState state) void
JukeboxManager.tick
(WorldAccess world, @Nullable BlockState state) -
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
SkeletonHorseEntity.canSpawn
(EntityType<? extends AnimalEntity> type, WorldAccess world, SpawnReason reason, 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
ZombieHorseEntity.canSpawn
(EntityType<? extends AnimalEntity> 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
ArmadilloEntity.canSpawn
(EntityType<ArmadilloEntity> entityType, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static 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
FrogEntity.canSpawn
(EntityType<? extends AnimalEntity> type, WorldAccess world, SpawnReason reason, 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 static RabbitEntity.RabbitType
RabbitEntity.getTypeFromPos
(WorldAccess world, BlockPos pos) 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
LavaFluid.playExtinguishEvent
(WorldAccess world, BlockPos pos) -
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.addDecoration
(RegistryEntry<MapDecorationType> type, @Nullable WorldAccess world, String key, double x, double z, double rotation, @Nullable Text text) -
Uses of WorldAccess in net.minecraft.particle
Modifier and TypeMethodDescriptionstatic void
ParticleUtil.spawnParticlesAround
(WorldAccess world, BlockPos pos, int count, double horizontalOffset, double verticalOffset, boolean force, ParticleEffect effect) static void
ParticleUtil.spawnParticlesAround
(WorldAccess world, BlockPos pos, int count, ParticleEffect effect) static void
ParticleUtil.spawnSmashAttackParticles
(WorldAccess world, BlockPos pos, int count) -
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 yOffset) private boolean
RuinedPortalStructurePiece.canFillNetherrack
(WorldAccess world, BlockPos pos) protected boolean
MineshaftGenerator.MineshaftPart.cannotGenerate
(WorldAccess world, BlockBox box) 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 void
StructureTemplate.updateCorner
(WorldAccess world, int flags, VoxelSet set, int startX, int startY, int startZ) static void
StructureTemplate.updateCorner
(WorldAccess world, int flags, VoxelSet set, BlockPos startPos) 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, StructureTemplate.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.block
Modifier and TypeMethodDescriptionstatic void
NeighborUpdater.replaceWithStateForNeighborUpdate
(WorldAccess world, Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth) -
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
<NetherPortal> NetherPortal.getNewPortal
(WorldAccess world, BlockPos pos, Direction.Axis axis) static Optional
<NetherPortal> NetherPortal.getOrEmpty
(WorldAccess world, BlockPos pos, Predicate<NetherPortal> validator, 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 mutablePos, HugeMushroomFeatureConfig config) private boolean
SculkPatchFeature.canGenerate
(WorldAccess world, BlockPos pos) 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
WeepingVinesFeature.generateNetherWartBlocksInArea
(WorldAccess world, Random random, BlockPos pos) protected void
HugeMushroomFeature.generateStem
(WorldAccess world, Random random, BlockPos pos, HugeMushroomFeatureConfig config, int height, BlockPos.Mutable mutablePos) 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 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 void
HugeFungusFeature.placeHatBlock
(WorldAccess world, Random random, HugeFungusFeatureConfig config, BlockPos.Mutable pos, float decorationChance, float generationChance, float vineChance) private static VoxelSet
TreeFeature.placeLogsAndLeaves
(WorldAccess world, BlockBox box, Set<BlockPos> trunkPositions, Set<BlockPos> decorationPositions, Set<BlockPos> rootPositions) private void
HugeFungusFeature.placeWithOptionalVines
(WorldAccess world, Random random, BlockPos pos, BlockState state, boolean vines) private boolean
BasaltPillarFeature.stopOrPlaceBasalt
(WorldAccess world, Random random, BlockPos pos) 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)