Uses of Class
net.minecraft.world.World
Package
Description
Provides the cauldron behavior system,
which determines what happens when a player interacts with a cauldron.
The basic AI system for Minecraft living entities.
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of World in net.minecraft.advancement.criterion
Modifier and TypeFieldDescriptionprivate final @Nullable RegistryKey<World>
ChangedDimensionCriterion.Conditions.from
private final @Nullable RegistryKey<World>
ChangedDimensionCriterion.Conditions.to
Modifier and TypeMethodDescriptionChangedDimensionCriterion.Conditions.create
(RegistryKey<World> from, RegistryKey<World> to) ChangedDimensionCriterion.Conditions.from
(RegistryKey<World> from) boolean
ChangedDimensionCriterion.Conditions.matches
(RegistryKey<World> from, RegistryKey<World> to) ChangedDimensionCriterion.Conditions.to
(RegistryKey<World> to) void
ChangedDimensionCriterion.trigger
(ServerPlayerEntity player, RegistryKey<World> from, RegistryKey<World> to) ModifierConstructorDescriptionConditions
(EntityPredicate.Extended player, @Nullable RegistryKey<World> from, @Nullable RegistryKey<World> to) -
Uses of World in net.minecraft.block
Modifier and TypeMethodDescriptionprivate boolean
SpongeBlock.absorbWater
(World world, BlockPos pos) private void
HoneyBlock.addCollisionEffects
(World world, Entity entity) private void
BeehiveBlock.addHoneyParticle
(World world, double minX, double maxX, double minZ, double maxZ, double height) private void
BeehiveBlock.addHoneyParticle
(World world, BlockPos pos, VoxelShape shape, double height) private void
RedstoneWireBlock.addPoweredParticles
(World world, Random random, BlockPos pos, Vec3d color, Direction direction, Direction direction2, float float2, float float3) void
BeehiveBlock.afterBreak
(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack) Called server-side when the block is broken by the player using correct tool.void
Block.afterBreak
(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack) Called server-side when the block is broken by the player using correct tool.void
IceBlock.afterBreak
(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack) Called server-side when the block is broken by the player using correct tool.void
TallPlantBlock.afterBreak
(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack) Called server-side when the block is broken by the player using correct tool.void
TurtleEggBlock.afterBreak
(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack) Called server-side when the block is broken by the player using correct tool.private void
BeehiveBlock.angerNearbyBees
(World world, BlockPos pos) void
CropBlock.applyGrowth
(World world, BlockPos pos, BlockState state) private void
TurtleEggBlock.breakEgg
(World world, BlockPos pos, BlockState state) static void
CarvedPumpkinBlock.breakPatternBlocks
(World world, BlockPattern.Result patternResult) private boolean
private void
FrogspawnBlock.breakWithoutDrop
(World world, BlockPos pos) private int
ComparatorBlock.calculateOutputSignal
(World world, BlockPos pos, BlockState state) static boolean
EnchantingTableBlock.canAccessBookshelf
(World world, BlockPos tablePos, BlockPos bookshelfOffset) static boolean
WitherSkullBlock.canDispense
(World world, BlockPos pos, ItemStack stack) protected static boolean
CauldronBlock.canFillWithPrecipitation
(World world, Biome.Precipitation precipitation) boolean
AbstractPlantBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
AbstractPlantStemBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
AzaleaBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
BambooBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
BambooSaplingBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
BigDripleafBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
BigDripleafStemBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
CaveVinesBodyBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
CaveVinesHeadBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
CocoaBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
CropBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
FernBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
Fertilizable.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
FungusBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
GlowLichenBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
GrassBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
MangroveLeavesBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
MossBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
MushroomPlantBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
NetherrackBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
NyliumBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
PropaguleBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
RootedDirtBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
SaplingBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
SeagrassBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
SeaPickleBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
SmallDripleafBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
StemBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
SweetBerryBushBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
TallFlowerBlock.canGrow
(World world, Random random, BlockPos pos, BlockState state) private static boolean
ShulkerBoxBlock.canOpen
(BlockState state, World world, BlockPos pos, ShulkerBoxBlockEntity entity) static boolean
AbstractFireBlock.canPlaceAt
(World world, BlockPos pos, Direction direction) private static void
BigDripleafBlock.changeTilt
(BlockState state, World world, BlockPos pos, Tilt tilt) private void
BigDripleafBlock.changeTilt
(BlockState state, World world, BlockPos pos, Tilt tilt, @Nullable SoundEvent sound) static void
RespawnAnchorBlock.charge
(World world, BlockPos pos, BlockState state) protected static <T extends BlockEntity>
@Nullable BlockEntityTicker<T>AbstractFurnaceBlock.checkType
(World world, BlockEntityType<T> givenType, BlockEntityType<? extends AbstractFurnaceBlockEntity> expectedType) static void
PointedDripstoneBlock.createParticle
(World world, BlockPos pos, BlockState state) private static void
PointedDripstoneBlock.createParticle
(World world, BlockPos pos, BlockState state, Fluid fluid) AbstractBlock.AbstractBlockState.createScreenHandlerFactory
(World world, BlockPos pos) AbstractBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Deprecated.AnvilBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.BlockWithEntity.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.CartographyTableBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.ChestBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.CraftingTableBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.EnchantingTableBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.GrindstoneBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.LecternBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.LoomBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.SmithingTableBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.StonecutterBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.static void
LeveledCauldronBlock.decrementFluidLevel
(BlockState state, World world, BlockPos pos) private void
private void
LecternBlock.dropBook
(BlockState state, World world, BlockPos pos) static void
BeehiveBlock.dropHoneycomb
(World world, BlockPos pos) private static void
Block.dropStack
(World world, Supplier<ItemEntity> itemEntitySupplier, ItemStack stack) static void
static void
static void
Block.dropStacks
(BlockState state, World world, BlockPos pos) static void
Block.dropStacks
(BlockState state, World world, BlockPos pos, @Nullable BlockEntity blockEntity, Entity entity, ItemStack stack) static BlockState
ComposterBlock.emptyFullComposter
(BlockState state, World world, BlockPos pos) private void
CommandBlock.execute
(BlockState state, World world, BlockPos pos, CommandBlockExecutor executor, boolean hasCommand) private static void
CommandBlock.executeCommandChain
(World world, BlockPos pos, Direction facing) private void
RespawnAnchorBlock.explode
(BlockState state, World world, BlockPos explodedPos) protected void
AbstractCauldronBlock.fillFromDripstone
(BlockState state, World world, BlockPos pos, Fluid fluid) Fills a cauldron with one level of the specified fluid if possible.protected void
CauldronBlock.fillFromDripstone
(BlockState state, World world, BlockPos pos, Fluid fluid) Fills a cauldron with one level of the specified fluid if possible.protected void
LeveledCauldronBlock.fillFromDripstone
(BlockState state, World world, BlockPos pos, Fluid fluid) Fills a cauldron with one level of the specified fluid if possible.private @Nullable ItemFrameEntity
ComparatorBlock.getAttachedItemFrame
(World world, Direction facing, BlockPos pos) abstract DoubleBlockProperties.PropertySource<? extends ChestBlockEntity>
AbstractChestBlock.getBlockEntitySource
(BlockState state, World world, BlockPos pos, boolean ignoreBlocked) ChestBlock.getBlockEntitySource
(BlockState state, World world, BlockPos pos, boolean ignoreBlocked) EnderChestBlock.getBlockEntitySource
(BlockState state, World world, BlockPos pos, boolean ignoreBlocked) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>AbstractBlock.AbstractBlockState.getBlockEntityTicker
(World world, BlockEntityType<T> blockEntityType) private <T extends AbstractMinecartEntity>
List<T>DetectorRailBlock.getCarts
(World world, BlockPos pos, Class<T> entityClass, Predicate<Entity> entityPredicate) PointedDripstoneBlock.getCauldronPos
(World world, BlockPos pos, Fluid fluid) int
AbstractBlock.AbstractBlockState.getComparatorOutput
(World world, BlockPos pos) int
AbstractBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Deprecated.int
AbstractFurnaceBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
BarrelBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
BeehiveBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
BrewingStandBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
CakeBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
CandleCakeBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
ChestBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
ChiseledBookshelfBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
CommandBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
ComposterBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
DetectorRailBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
DispenserBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
EndPortalFrameBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
HopperBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
JukeboxBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
LavaCauldronBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
LecternBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
LeveledCauldronBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
RespawnAnchorBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
SculkSensorBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.int
ShulkerBoxBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.private @Nullable Identifier
NoteBlock.getCustomSound
(World world, BlockPos pos) private static Fluid
PointedDripstoneBlock.getDripFluid
(World world, Fluid fluid) PointedDripstoneBlock.getDripPos
(World world, BlockPos pos) private static Optional<PointedDripstoneBlock.DrippingFluid>
PointedDripstoneBlock.getFluid
(World world, BlockPos pos, BlockState state) protected int
BeetrootsBlock.getGrowthAmount
(World world) protected int
CropBlock.getGrowthAmount
(World world) ChestBlock.getInventory
(ChestBlock block, BlockState state, World world, BlockPos pos, boolean ignoreBlocked) protected int
AbstractRedstoneGateBlock.getPower
(World world, BlockPos pos, BlockState state) protected int
ComparatorBlock.getPower
(World world, BlockPos pos, BlockState state) private int
RedstoneWireBlock.getReceivedRedstonePower
(World world, BlockPos pos) protected abstract int
AbstractPressurePlateBlock.getRedstoneOutput
(World world, BlockPos pos) protected int
PressurePlateBlock.getRedstoneOutput
(World world, BlockPos pos) protected int
WeightedPressurePlateBlock.getRedstoneOutput
(World world, BlockPos pos) PointedDripstoneBlock.getSupportingPos
(World world, BlockPos pos, BlockState state, int range) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>AbstractSkullBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>BeaconBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>BeehiveBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>BellBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>BlastFurnaceBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.default <T extends BlockEntity>
@Nullable BlockEntityTicker<T>BlockEntityProvider.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>BrewingStandBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>CampfireBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>ChestBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>ConduitBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>DaylightDetectorBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>EnchantingTableBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>EnderChestBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>EndGatewayBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>FurnaceBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>HopperBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>JukeboxBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>PistonExtensionBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>SculkCatalystBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>SculkSensorBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>SculkShriekerBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>ShulkerBoxBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>SmokerBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.<T extends BlockEntity>
@Nullable BlockEntityTicker<T>SpawnerBlock.getTicker
(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornull
if the block entity does not need to be ticked.protected void
private void
private boolean
protected boolean
AbstractRedstoneGateBlock.hasPower
(World world, BlockPos pos, BlockState state) protected boolean
ComparatorBlock.hasPower
(World world, BlockPos pos, BlockState state) private static boolean
RespawnAnchorBlock.hasStillWater
(BlockPos pos, World world) private boolean
FrostedIceBlock.increaseAge
(BlockState state, World world, BlockPos pos) static boolean
BedBlock.isBedWorking
(World world) Returns whether the world's dimension type allows beds to be respawned at and slept in without exploding.private static boolean
RedstoneTorchBlock.isBurnedOut
(World world, BlockPos pos, boolean addNew) static boolean
CampfireBlock.isLitCampfireInRange
(World world, BlockPos pos) static boolean
PistonBlock.isMovable
(BlockState state, World world, BlockPos pos, Direction direction, boolean canBreak, Direction pistonDir) static boolean
private static boolean
AbstractFireBlock.isOverworldOrNether
(World world) protected boolean
PoweredRailBlock.isPoweredByOtherRails
(World world, BlockPos pos, boolean bool, int distance, RailShape shape) protected boolean
PoweredRailBlock.isPoweredByOtherRails
(World world, BlockPos pos, BlockState state, boolean bool, int distance) static boolean
protected boolean
FireBlock.isRainingAround
(World world, BlockPos pos) static boolean
DoorBlock.isWoodenDoor
(World world, BlockPos pos) private static void
RedstoneOreBlock.light
(BlockState state, World world, BlockPos pos) protected void
IceBlock.melt
(BlockState state, World world, BlockPos pos) private boolean
void
AbstractBlock.AbstractBlockState.neighborUpdate
(World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Deprecated.void
AbstractBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) void
AbstractRailBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
AbstractRedstoneGateBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
BellBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
BigDripleafBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
CommandBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
DispenserBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
DoorBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
FenceGateBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
FluidBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
FrostedIceBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
HopperBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
NoteBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
PistonBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
PistonHeadBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
RedstoneLampBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
RedstoneTorchBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
RedstoneWireBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
SpongeBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
StructureBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
TntBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
TrapdoorBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.void
AbstractBlock.AbstractBlockState.onBlockAdded
(World world, BlockPos pos, BlockState state, boolean notify) void
AbstractBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Deprecated.void
AbstractFireBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
AbstractRailBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
AbstractRedstoneGateBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
CarvedPumpkinBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
ComposterBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
CoralBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
CoralFanBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
CoralWallFanBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
DetectorRailBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
FallingBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
FireBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
FluidBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
FrogspawnBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
HopperBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
LightningRodBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
MagmaBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
ObserverBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
PistonBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
RedstoneTorchBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
RedstoneWireBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
ScaffoldingBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
SculkSensorBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
SoulSandBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
SpongeBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
StairsBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
TargetBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
TntBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
TripwireBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
TurtleEggBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
WetSpongeBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.void
AbstractBlock.AbstractBlockState.onBlockBreakStart
(World world, BlockPos pos, PlayerEntity player) void
AbstractBlock.onBlockBreakStart
(BlockState state, World world, BlockPos pos, PlayerEntity player) void
DragonEggBlock.onBlockBreakStart
(BlockState state, World world, BlockPos pos, PlayerEntity player) Called when a player starts breaking the block (including when instant-mining).void
NoteBlock.onBlockBreakStart
(BlockState state, World world, BlockPos pos, PlayerEntity player) Called when a player starts breaking the block (including when instant-mining).void
RedstoneOreBlock.onBlockBreakStart
(BlockState state, World world, BlockPos pos, PlayerEntity player) Called when a player starts breaking the block (including when instant-mining).void
StairsBlock.onBlockBreakStart
(BlockState state, World world, BlockPos pos, PlayerEntity player) Called when a player starts breaking the block (including when instant-mining).void
AbstractFireBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.void
BedBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.void
BeehiveBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.void
Block.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.void
DoorBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.void
PistonHeadBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.void
ShulkerBoxBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.void
TallPlantBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.void
TntBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.void
TripwireBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.protected static void
TallPlantBlock.onBreakInCreative
(World world, BlockPos pos, BlockState state, PlayerEntity player) Destroys a bottom half of a tall double block (such as a plant or a door) without dropping an item when broken in creative.void
Block.onDestroyedByExplosion
(World world, BlockPos pos, Explosion explosion) Called when this block is destroyed by an explosion.void
StairsBlock.onDestroyedByExplosion
(World world, BlockPos pos, Explosion explosion) Called when this block is destroyed by an explosion.void
TntBlock.onDestroyedByExplosion
(World world, BlockPos pos, Explosion explosion) Called when this block is destroyed by an explosion.void
AnvilBlock.onDestroyedOnLanding
(World world, BlockPos pos, FallingBlockEntity fallingBlockEntity) default void
LandingBlock.onDestroyedOnLanding
(World world, BlockPos pos, FallingBlockEntity fallingBlockEntity) void
PointedDripstoneBlock.onDestroyedOnLanding
(World world, BlockPos pos, FallingBlockEntity fallingBlockEntity) void
AbstractBlock.AbstractBlockState.onEntityCollision
(World world, BlockPos pos, Entity entity) void
AbstractBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Deprecated.void
AbstractFireBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
AbstractPressurePlateBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
BigDripleafBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
BubbleColumnBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
ButtonBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
CactusBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
CampfireBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
CobwebBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
CropBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
DetectorRailBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
EndPortalBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
FrogspawnBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
HoneyBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
HopperBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
LavaCauldronBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
LeveledCauldronBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
LilyPadBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
NetherPortalBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
PowderSnowBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
SweetBerryBushBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
TripwireBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
WitherRoseBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
LeveledCauldronBlock.onFireCollision
(BlockState state, World world, BlockPos pos) protected void
PowderSnowCauldronBlock.onFireCollision
(BlockState state, World world, BlockPos pos) void
BedBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.void
Block.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.void
FarmlandBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.void
HayBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.void
HoneyBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.void
PointedDripstoneBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.void
PowderSnowBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.void
SlimeBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.void
TurtleEggBlock.onLandedUpon
(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.void
AnvilBlock.onLanding
(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity) void
ConcretePowderBlock.onLanding
(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity) default void
LandingBlock.onLanding
(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity) void
AbstractBannerBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
AbstractFurnaceBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
AbstractRedstoneGateBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
BarrelBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
BeaconBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
BedBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
Block.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
BrewingStandBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
ChestBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
CommandBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
ConduitBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
DispenserBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
DoorBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
EnchantingTableBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
HopperBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
JukeboxBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
PistonBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
PlayerSkullBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
ShulkerBoxBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
SmallDripleafBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
StructureBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
TallPlantBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
TripwireHookBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
WallPlayerSkullBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
WallWitherSkullBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
WitherSkullBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.static void
WitherSkullBlock.onPlaced
(World world, BlockPos pos, SkullBlockEntity blockEntity) void
AbstractBlock.AbstractBlockState.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) void
AbstractBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) void
AbstractCandleBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.void
AmethystBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.void
BellBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.void
BigDripleafBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.void
CampfireBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.void
ChorusFlowerBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.void
LightningRodBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.void
PointedDripstoneBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.void
TargetBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.void
TntBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.void
AbstractBlock.AbstractBlockState.onStateReplaced
(World world, BlockPos pos, BlockState state, boolean moved) void
AbstractBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Deprecated.void
AbstractFurnaceBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
AbstractPressurePlateBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
AbstractRailBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
AbstractRedstoneGateBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
BarrelBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
BrewingStandBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
ButtonBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
CampfireBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
ChestBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
ChiseledBookshelfBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
DispenserBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
HopperBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
JukeboxBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
LecternBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
LeverBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
LightningRodBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
ObserverBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
PistonExtensionBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
PistonHeadBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
RedstoneTorchBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
RedstoneWireBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
SculkSensorBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
SculkShriekerBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
ShulkerBoxBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
StairsBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
TripwireBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
TripwireHookBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.void
Block.onSteppedOn
(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.void
MagmaBlock.onSteppedOn
(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.void
RedstoneOreBlock.onSteppedOn
(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.void
SculkSensorBlock.onSteppedOn
(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.void
SculkShriekerBlock.onSteppedOn
(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.void
SlimeBlock.onSteppedOn
(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.void
StairsBlock.onSteppedOn
(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.void
TurtleEggBlock.onSteppedOn
(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.boolean
AbstractBlock.AbstractBlockState.onSyncedBlockEvent
(World world, BlockPos pos, int type, int data) boolean
AbstractBlock.onSyncedBlockEvent
(BlockState state, World world, BlockPos pos, int type, int data) Deprecated.boolean
BlockWithEntity.onSyncedBlockEvent
(BlockState state, World world, BlockPos pos, int type, int data) Handles the block event, which is an event specific to a block with an integer ID and data.boolean
ComparatorBlock.onSyncedBlockEvent
(BlockState state, World world, BlockPos pos, int type, int data) Handles the block event, which is an event specific to a block with an integer ID and data.boolean
NoteBlock.onSyncedBlockEvent
(BlockState state, World world, BlockPos pos, int type, int data) Handles the block event, which is an event specific to a block with an integer ID and data.boolean
PistonBlock.onSyncedBlockEvent
(BlockState state, World world, BlockPos pos, int type, int data) Handles the block event, which is an event specific to a block with an integer ID and data.AbstractBlock.AbstractBlockState.onUse
(World world, PlayerEntity player, Hand hand, BlockHitResult hit) AbstractBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) AbstractCauldronBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.AbstractFurnaceBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.AbstractSignBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.AnvilBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BarrelBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BeaconBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BedBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BeehiveBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BellBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BrewingStandBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ButtonBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CakeBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CampfireBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CandleBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CandleCakeBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CartographyTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CaveVinesBodyBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CaveVinesHeadBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ChestBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ChiseledBookshelfBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CommandBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ComparatorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ComposterBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CraftingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.DaylightDetectorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.DispenserBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.DoorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.DragonEggBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.EnchantingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.EnderChestBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.FenceBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.FenceGateBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.FletchingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.FlowerPotBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.GrindstoneBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.HangingSignBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.HopperBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.JigsawBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.JukeboxBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.LecternBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.LeverBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.LightBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.LoomBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.NoteBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.PistonExtensionBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.PumpkinBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.RedstoneOreBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.RedstoneWireBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.RepeaterBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.RespawnAnchorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ShulkerBoxBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.SmithingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.StairsBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.StonecutterBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.StructureBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.SweetBerryBushBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.TntBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.TrapdoorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.WallHangingSignBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.protected abstract void
AbstractFurnaceBlock.openScreen
(World world, BlockPos pos, PlayerEntity player) protected void
BlastFurnaceBlock.openScreen
(World world, BlockPos pos, PlayerEntity player) protected void
FurnaceBlock.openScreen
(World world, BlockPos pos, PlayerEntity player) private void
LecternBlock.openScreen
(World world, BlockPos pos, PlayerEntity player) protected void
SmokerBlock.openScreen
(World world, BlockPos pos, PlayerEntity player) static ActionResult
CaveVines.pickBerries
(BlockState state, World world, BlockPos pos) static void
ComposterBlock.playEffects
(World world, BlockPos pos, boolean fill) private void
private void
DoorBlock.playOpenCloseSound
(@Nullable Entity entity, World world, BlockPos pos, boolean open) private void
TripwireHookBlock.playSound
(World world, BlockPos pos, boolean attached, boolean on, boolean detached, boolean off) private static void
BigDripleafBlock.playTiltSound
(World world, BlockPos pos, SoundEvent soundEvent) protected void
TrapdoorBlock.playToggleSound
(@Nullable PlayerEntity player, World world, BlockPos pos, boolean open) void
ButtonBlock.powerOn
(BlockState state, World world, BlockPos pos) void
Block.precipitationTick
(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation) Called randomly server-side on blocks with unobstructed sky access when it is raining or snowing.void
CauldronBlock.precipitationTick
(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation) Called randomly server-side on blocks with unobstructed sky access when it is raining or snowing.void
LeveledCauldronBlock.precipitationTick
(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation) Called randomly server-side on blocks with unobstructed sky access when it is raining or snowing.static void
private static void
TntBlock.primeTnt
(World world, BlockPos pos, @Nullable LivingEntity igniter) private static void
LecternBlock.putBook
(@Nullable PlayerEntity player, World world, BlockPos pos, BlockState state, ItemStack stack) static boolean
LecternBlock.putBookIfAbsent
(@Nullable PlayerEntity player, World world, BlockPos pos, BlockState state, ItemStack stack) void
AbstractCandleBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
AbstractFireBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
BeehiveBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
BlastFurnaceBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
Block.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
BrewingStandBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
BubbleColumnBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
CampfireBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
CryingObsidianBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
EnchantingTableBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
EnderChestBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
EndGatewayBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
EndPortalBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
EndRodBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
FallingBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
FurnaceBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
LeavesBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
LeverBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
LightningRodBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
MyceliumBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
NetherPortalBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
PointedDripstoneBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
RedstoneOreBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
RedstoneTorchBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
RedstoneWireBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
RepeaterBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
RespawnAnchorBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
SculkSensorBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
SmokerBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
SporeBlossomBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
StairsBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
TorchBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
WallRedstoneTorchBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
WallTorchBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
WetSpongeBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.void
WitherRoseBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.private boolean
FluidBlock.receiveNeighborFluids
(World world, BlockPos pos, BlockState state) private void
JukeboxBlock.removeRecord
(World world, BlockPos pos) private static void
BigDripleafBlock.resetTilt
(BlockState state, World world, BlockPos pos) boolean
boolean
BellBlock.ring
(World world, BlockState state, BlockHitResult hitResult, @Nullable PlayerEntity player, boolean checkHitPos) boolean
static void
SculkSensorBlock.setActive
(@Nullable Entity entity, World world, BlockPos pos, BlockState state, int power) static void
SculkSensorBlock.setCooldown
(World world, BlockPos pos, BlockState state) static void
LecternBlock.setHasBook
(World world, BlockPos pos, BlockState state, boolean hasBook) void
DoorBlock.setOpen
(@Nullable Entity entity, World world, BlockState state, BlockPos pos, boolean open) static void
LecternBlock.setPowered
(World world, BlockPos pos, BlockState state) private static void
LecternBlock.setPowered
(World world, BlockPos pos, BlockState state, boolean powered) void
LightningRodBlock.setPowered
(BlockState state, World world, BlockPos pos) static void
FarmlandBlock.setToDirt
(BlockState state, World world, BlockPos pos) private static boolean
AbstractRailBlock.shouldDropRail
(BlockPos pos, World world, RailShape shape) Checks if this rail should be dropped.private boolean
PistonBlock.shouldExtend
(World world, BlockPos pos, Direction pistonFace) private boolean
TurtleEggBlock.shouldHatchProgress
(World world) private static boolean
AbstractFireBlock.shouldLightPortalAt
(World world, BlockPos pos, Direction direction) protected boolean
RedstoneTorchBlock.shouldUnpower
(World world, BlockPos pos, BlockState state) protected boolean
WallRedstoneTorchBlock.shouldUnpower
(World world, BlockPos pos, BlockState state) protected void
AbstractFireBlock.spawnBreakParticles
(World world, PlayerEntity player, BlockPos pos, BlockState state) protected void
Block.spawnBreakParticles
(World world, PlayerEntity player, BlockPos pos, BlockState state) private static void
AbstractCandleBlock.spawnCandleParticles
(World world, Vec3d vec3d, Random random) private static void
CarvedPumpkinBlock.spawnEntity
(World world, BlockPattern.Result patternResult, Entity entity, BlockPos pos) private void
BeehiveBlock.spawnHoneyParticles
(World world, BlockPos pos, BlockState state) private static void
RedstoneOreBlock.spawnParticles
(World world, BlockPos pos) static void
CampfireBlock.spawnSmokeParticle
(World world, BlockPos pos, boolean isSignal, boolean lotsOfSmoke) void
BeehiveBlock.takeHoney
(World world, BlockState state, BlockPos pos) void
BeehiveBlock.takeHoney
(World world, BlockState state, BlockPos pos, @Nullable PlayerEntity player, BeehiveBlockEntity.BeeState beeState) private void
DragonEggBlock.teleport
(BlockState state, World world, BlockPos pos) private static void
DaylightDetectorBlock.tick
(World world, BlockPos pos, BlockState state, DaylightDetectorBlockEntity blockEntity) LeverBlock.togglePower
(BlockState state, World world, BlockPos pos) private static void
ChiseledBookshelfBlock.tryAddBook
(World world, BlockPos pos, PlayerEntity player, ChiseledBookshelfBlockEntity blockEntity, ItemStack stack, int slot) private void
TurtleEggBlock.tryBreakEgg
(World world, BlockState state, BlockPos pos, Entity entity, int inverseChance) private void
PistonBlock.tryMove
(World world, BlockPos pos, BlockState state) protected void
ButtonBlock.tryPowerWithProjectiles
(BlockState state, World world, BlockPos pos) private static void
ChiseledBookshelfBlock.tryRemoveBook
(World world, BlockPos pos, PlayerEntity player, ChiseledBookshelfBlockEntity blockEntity, int slot) private void
CarvedPumpkinBlock.trySpawnEntity
(World world, BlockPos pos) private void
FireBlock.trySpreadingFire
(World world, BlockPos pos, int spreadFactor, Random random, int currentAge) private void
ComparatorBlock.update
(World world, BlockPos pos, BlockState state) private void
RedstoneWireBlock.update
(World world, BlockPos pos, BlockState state) protected void
private void
TripwireBlock.update
(World world, BlockPos pos, BlockState state) void
TripwireHookBlock.update
(World world, BlockPos pos, BlockState state, boolean beingRemoved, boolean bool, int int2, @Nullable BlockState blockState) protected void
AbstractRailBlock.updateBlockState
(BlockState state, World world, BlockPos pos, Block neighbor) protected BlockState
AbstractRailBlock.updateBlockState
(World world, BlockPos pos, BlockState state, boolean forceUpdate) protected void
PoweredRailBlock.updateBlockState
(BlockState state, World world, BlockPos pos, Block neighbor) protected void
RailBlock.updateBlockState
(BlockState state, World world, BlockPos pos, Block neighbor) protected BlockState
AbstractRailBlock.updateCurves
(BlockState state, World world, BlockPos pos, boolean notify) private void
HopperBlock.updateEnabled
(World world, BlockPos pos, BlockState state) private void
RedstoneWireBlock.updateForNewState
(World world, BlockPos pos, BlockState oldState, BlockState newState) protected void
BambooBlock.updateLeaves
(BlockState state, World world, BlockPos pos, Random random, int height) protected void
DetectorRailBlock.updateNearbyRails
(World world, BlockPos pos, BlockState state, boolean unpowering) private static void
LecternBlock.updateNeighborAlways
(World world, BlockPos pos, BlockState state) protected void
AbstractPressurePlateBlock.updateNeighbors
(World world, BlockPos pos) private void
ButtonBlock.updateNeighbors
(BlockState state, World world, BlockPos pos) private void
LeverBlock.updateNeighbors
(BlockState state, World world, BlockPos pos) private void
LightningRodBlock.updateNeighbors
(BlockState state, World world, BlockPos pos) protected void
ObserverBlock.updateNeighbors
(World world, BlockPos pos, BlockState state) private void
RedstoneWireBlock.updateNeighbors
(World world, BlockPos pos) private static void
SculkSensorBlock.updateNeighbors
(World world, BlockPos pos) private void
TripwireHookBlock.updateNeighborsOnAxis
(World world, BlockPos pos, Direction direction) private void
RedstoneWireBlock.updateOffsetNeighbors
(World world, BlockPos pos) static void
CarvedPumpkinBlock.updatePatternBlocks
(World world, BlockPattern.Result patternResult) protected void
AbstractPressurePlateBlock.updatePlateState
(@Nullable Entity entity, World world, BlockPos pos, BlockState state, int output) protected void
AbstractRedstoneGateBlock.updatePowered
(World world, BlockPos pos, BlockState state) protected void
ComparatorBlock.updatePowered
(World world, BlockPos pos, BlockState state) private void
TripwireBlock.updatePowered
(World world, BlockPos pos) private void
DetectorRailBlock.updatePoweredStatus
(World world, BlockPos pos, BlockState state) private static void
DaylightDetectorBlock.updateState
(BlockState state, World world, BlockPos pos) protected void
AbstractRedstoneGateBlock.updateTarget
(World world, BlockPos pos, BlockState state) private boolean
BedBlock.wakeVillager
(World world, BlockPos pos) Wakes up a sleeping villager atpos
, if any. -
Uses of World in net.minecraft.block.cauldron
Modifier and TypeMethodDescriptionstatic ActionResult
CauldronBehavior.emptyCauldron
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack, ItemStack output, Predicate<BlockState> fullPredicate, SoundEvent soundEvent) Empties a cauldron if it's full.static ActionResult
CauldronBehavior.fillCauldron
(World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack, BlockState state, SoundEvent soundEvent) Fills a cauldron from a bucket stack.CauldronBehavior.interact
(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack) Called when a player interacts with a cauldron. -
Uses of World in net.minecraft.block.dispenser
Modifier and TypeMethodDescriptionprotected abstract ProjectileEntity
ProjectileDispenserBehavior.createProjectile
(World world, Position position, ItemStack stack) Creates the entity that will be spawned in front of the dispenser.static void
ItemDispenserBehavior.spawnItem
(World world, ItemStack stack, int speed, Direction side, Position pos) -
Uses of World in net.minecraft.block.entity
Modifier and TypeMethodDescriptionBlockEntity.getWorld()
Returns the world the block entity belongs to.Modifier and TypeMethodDescriptionprivate static void
BellBlockEntity.applyGlowToRaiders
(World world, BlockPos pos, List<LivingEntity> hearingEntities) private static void
BellBlockEntity.applyParticlesToRaiders
(World world, BlockPos pos, List<LivingEntity> hearingEntities) SpawnsParticleTypes.ENTITY_EFFECT
particles around raiders within 48 blocks.private static void
BeaconBlockEntity.applyPlayerEffects
(World world, BlockPos pos, int beaconLevel, @Nullable StatusEffect primaryEffect, @Nullable StatusEffect secondaryEffect) private static void
ConduitBlockEntity.attackHostileEntity
(World world, BlockPos pos, BlockState state, List<BlockPos> activatingBlocks, ConduitBlockEntity blockEntity) static void
BellBlockEntity.clientTick
(World world, BlockPos pos, BlockState state, BellBlockEntity blockEntity) static void
CampfireBlockEntity.clientTick
(World world, BlockPos pos, BlockState state, CampfireBlockEntity campfire) static void
ChestBlockEntity.clientTick
(World world, BlockPos pos, BlockState state, ChestBlockEntity blockEntity) static void
ConduitBlockEntity.clientTick
(World world, BlockPos pos, BlockState state, ConduitBlockEntity blockEntity) static void
EnderChestBlockEntity.clientTick
(World world, BlockPos pos, BlockState state, EnderChestBlockEntity blockEntity) static void
EndGatewayBlockEntity.clientTick
(World world, BlockPos pos, BlockState state, EndGatewayBlockEntity blockEntity) static void
MobSpawnerBlockEntity.clientTick
(World world, BlockPos pos, BlockState state, MobSpawnerBlockEntity blockEntity) void
ViewerCountManager.closeContainer
(PlayerEntity player, World world, BlockPos pos, BlockState state) private static void
BrewingStandBlockEntity.craft
(World world, BlockPos pos, DefaultedList<ItemStack> slots) static boolean
private static BlockPos
EndGatewayBlockEntity.findBestPortalExitPos
(World world, BlockPos pos) private static @Nullable LivingEntity
ConduitBlockEntity.findTargetEntity
(World world, BlockPos pos, UUID uuid) private static WorldChunk
private static int
AbstractFurnaceBlockEntity.getCookTime
(World world, AbstractFurnaceBlockEntity furnace) HopperBlockEntity.getInputInventory
(World world, Hopper hopper) static List<ItemEntity>
HopperBlockEntity.getInputItemEntities
(World world, Hopper hopper) private int
ViewerCountManager.getInRangeViewerCount
(World world, BlockPos pos) HopperBlockEntity.getInventoryAt
(World world, double x, double y, double z) HopperBlockEntity.getInventoryAt
(World world, BlockPos pos) HopperBlockEntity.getOutputInventory
(World world, BlockPos pos, BlockState state) private static void
ConduitBlockEntity.givePlayersEffects
(World world, BlockPos pos, List<BlockPos> activatingBlocks) private static boolean
HopperBlockEntity.insert
(World world, BlockPos pos, BlockState state, Inventory inventory) private static boolean
HopperBlockEntity.insertAndExtract
(World world, BlockPos pos, BlockState state, HopperBlockEntity blockEntity, BooleanSupplier booleanSupplier) static void
CampfireBlockEntity.litServerTick
(World world, BlockPos pos, BlockState state, CampfireBlockEntity campfire) protected static void
BlockEntity.markDirty
(World world, BlockPos pos, BlockState state) private static void
PistonBlockEntity.moveEntitiesInHoneyBlock
(World world, BlockPos pos, float float2, PistonBlockEntity blockEntity) protected abstract void
ViewerCountManager.onContainerClose
(World world, BlockPos pos, BlockState state) Run when this container closes (when the viewer count reaches zero).protected abstract void
ViewerCountManager.onContainerOpen
(World world, BlockPos pos, BlockState state) Run when this container is opened (when the viewer count becomes nonzero).static void
HopperBlockEntity.onEntityCollided
(World world, BlockPos pos, BlockState state, Entity entity, HopperBlockEntity blockEntity) protected void
ChestBlockEntity.onInvOpenOrClose
(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount) protected void
TrappedChestBlockEntity.onInvOpenOrClose
(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount) protected abstract void
ViewerCountManager.onViewerCountUpdate
(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount) Called when the viewer count updates, such as when a player interact with this container or when distance-based checks are run.void
ViewerCountManager.openContainer
(PlayerEntity player, World world, BlockPos pos, BlockState state) static void
BeaconBlockEntity.playSound
(World world, BlockPos pos, SoundEvent sound) (package private) static void
ChestBlockEntity.playSound
(World world, BlockPos pos, BlockState state, SoundEvent soundEvent) private static void
PistonBlockEntity.pushEntities
(World world, BlockPos pos, float float2, PistonBlockEntity blockEntity) private void
ShulkerBoxBlockEntity.pushEntities
(World world, BlockPos pos, BlockState state) private static boolean
BeehiveBlockEntity.releaseBee
(World world, BlockPos pos, BlockState state, BeehiveBlockEntity.Bee bee, @Nullable List<Entity> entities, BeehiveBlockEntity.BeeState beeState, @Nullable BlockPos flowerPos) void
BellBlockEntity.Effect.run
(World world, BlockPos pos, List<LivingEntity> hearingEntities) private static void
ViewerCountManager.scheduleBlockTick
(World world, BlockPos pos, BlockState state) static void
BeehiveBlockEntity.serverTick
(World world, BlockPos pos, BlockState state, BeehiveBlockEntity blockEntity) static void
BellBlockEntity.serverTick
(World world, BlockPos pos, BlockState state, BellBlockEntity blockEntity) static void
ConduitBlockEntity.serverTick
(World world, BlockPos pos, BlockState state, ConduitBlockEntity blockEntity) static void
EndGatewayBlockEntity.serverTick
(World world, BlockPos pos, BlockState state, EndGatewayBlockEntity blockEntity) static void
HopperBlockEntity.serverTick
(World world, BlockPos pos, BlockState state, HopperBlockEntity blockEntity) static void
MobSpawnerBlockEntity.serverTick
(World world, BlockPos pos, BlockState state, MobSpawnerBlockEntity blockEntity) void
Sets the world the block entity belongs to.void
Sets the world the block entity belongs to.void
Sets the world the block entity belongs to.private static void
ConduitBlockEntity.spawnNautilusParticles
(World world, BlockPos pos, List<BlockPos> activatingBlocks, @Nullable Entity entity, int ticks) private static void
EndGatewayBlockEntity.startTeleportCooldown
(World world, BlockPos pos, BlockState state, EndGatewayBlockEntity blockEntity) static void
AbstractFurnaceBlockEntity.tick
(World world, BlockPos pos, BlockState state, AbstractFurnaceBlockEntity blockEntity) static void
BeaconBlockEntity.tick
(World world, BlockPos pos, BlockState state, BeaconBlockEntity blockEntity) private static void
BellBlockEntity.tick
(World world, BlockPos pos, BlockState state, BellBlockEntity blockEntity, BellBlockEntity.Effect bellEffect) void
BlockEntityTicker.tick
(World world, BlockPos pos, BlockState state, T blockEntity) Ticks the block entity.static void
BrewingStandBlockEntity.tick
(World world, BlockPos pos, BlockState state, BrewingStandBlockEntity blockEntity) static void
EnchantingTableBlockEntity.tick
(World world, BlockPos pos, BlockState state, EnchantingTableBlockEntity blockEntity) static void
JukeboxBlockEntity.tick
(World world, BlockPos pos, BlockState state, JukeboxBlockEntity blockEntity) static void
PistonBlockEntity.tick
(World world, BlockPos pos, BlockState state, PistonBlockEntity blockEntity) static void
SculkCatalystBlockEntity.tick
(World world, BlockPos pos, BlockState state, SculkCatalystBlockEntity blockEntity) static void
ShulkerBoxBlockEntity.tick
(World world, BlockPos pos, BlockState state, ShulkerBoxBlockEntity blockEntity) static void
SkullBlockEntity.tick
(World world, BlockPos pos, BlockState state, SkullBlockEntity blockEntity) private static void
BeehiveBlockEntity.tickBees
(World world, BlockPos pos, BlockState state, List<BeehiveBlockEntity.Bee> bees, @Nullable BlockPos flowerPos) static void
EndGatewayBlockEntity.tryTeleportingEntity
(World world, BlockPos pos, BlockState state, Entity entity, EndGatewayBlockEntity blockEntity) static void
CampfireBlockEntity.unlitServerTick
(World world, BlockPos pos, BlockState state, CampfireBlockEntity campfire) private static boolean
ConduitBlockEntity.updateActivatingBlocks
(World world, BlockPos pos, List<BlockPos> activatingBlocks) private void
ShulkerBoxBlockEntity.updateAnimation
(World world, BlockPos pos, BlockState state) private static int
BeaconBlockEntity.updateLevel
(World world, int x, int y, int z) private static void
ShulkerBoxBlockEntity.updateNeighborStates
(World world, BlockPos pos, BlockState state) private static void
ConduitBlockEntity.updateTargetEntity
(World world, BlockPos pos, ConduitBlockEntity blockEntity) void
ViewerCountManager.updateViewerCount
(World world, BlockPos pos, BlockState state) -
Uses of World in net.minecraft.block.piston
ModifierConstructorDescriptionPistonHandler
(World world, BlockPos pos, Direction dir, boolean retracted) -
Uses of World in net.minecraft.client.color.block
Modifier and TypeMethodDescriptionint
BlockColors.getParticleColor
(BlockState state, World world, BlockPos pos) Returns the particle color of the block state. -
Uses of World in net.minecraft.client.gui.hud
-
Uses of World in net.minecraft.client.gui.screen.world
Modifier and TypeFieldDescriptionprivate static final Object2IntMap<RegistryKey<World>>
OptimizeWorldScreen.DIMENSION_COLORS
-
Uses of World in net.minecraft.client.network
Modifier and TypeFieldDescriptionprivate Set<RegistryKey<World>>
ClientPlayNetworkHandler.worldKeys
Modifier and TypeMethodDescriptionClientCommandSource.getWorldKeys()
ClientPlayNetworkHandler.getWorldKeys()
-
Uses of World in net.minecraft.client.render
Modifier and TypeMethodDescriptionprivate void
WorldRenderer.updateEntitiesForSong
(World world, BlockPos pos, boolean playing) ModifierConstructorDescriptionBuiltChunkStorage
(ChunkBuilder chunkBuilder, World world, int viewDistance, WorldRenderer worldRenderer) -
Uses of World in net.minecraft.client.render.block.entity
Modifier and TypeMethodDescriptionvoid
private void
PistonBlockEntityRenderer.renderModel
(BlockPos pos, BlockState state, MatrixStack matrices, VertexConsumerProvider vertexConsumers, World world, boolean cull, int overlay) void
-
Uses of World in net.minecraft.client.render.chunk
Modifier and TypeMethodDescriptionModifierConstructorDescription(package private)
ChunkRendererRegion
(World world, int chunkX, int chunkZ, RenderedChunk[][] chunks) -
Uses of World in net.minecraft.client.render.debug
-
Uses of World in net.minecraft.client.render.entity
-
Uses of World in net.minecraft.client.render.item
Modifier and TypeMethodDescriptionItemRenderer.getModel
(ItemStack stack, @Nullable World world, @Nullable LivingEntity entity, int seed) void
ItemRenderer.renderItem
(@Nullable LivingEntity entity, ItemStack item, ModelTransformation.Mode renderMode, boolean leftHanded, MatrixStack matrices, VertexConsumerProvider vertexConsumers, @Nullable World world, int light, int overlay, int seed) -
Uses of World in net.minecraft.client.util
Modifier and TypeMethodDescriptionstatic void
ParticleUtil.spawnParticle
(Direction.Axis axis, World world, BlockPos pos, double variance, ParticleEffect effect, UniformIntProvider range) static void
ParticleUtil.spawnParticle
(World world, BlockPos pos, ParticleEffect effect, IntProvider count) static void
ParticleUtil.spawnParticle
(World world, BlockPos pos, Direction direction, ParticleEffect effect, Vec3d velocity, double offsetMultiplier) static void
ParticleUtil.spawnParticles
(World world, BlockPos pos, ParticleEffect effect, IntProvider count, Direction direction, Supplier<Vec3d> velocity, double offsetMultiplier) -
Uses of World in net.minecraft.client.world
ModifierConstructorDescriptionClientWorld
(ClientPlayNetworkHandler networkHandler, ClientWorld.Properties properties, RegistryKey<World> registryRef, RegistryEntry<DimensionType> dimensionTypeEntry, int loadDistance, int simulationDistance, Supplier<Profiler> profiler, WorldRenderer worldRenderer, boolean debugWorld, long seed) -
Uses of World in net.minecraft.command
-
Uses of World in net.minecraft.enchantment
Modifier and TypeMethodDescriptionstatic void
FrostWalkerEnchantment.freezeWater
(LivingEntity entity, World world, BlockPos blockPos, int level) -
Uses of World in net.minecraft.entity
Modifier and TypeMethodDescriptionstatic Vec3d
Entity.adjustMovementForCollisions
(@Nullable Entity entity, Vec3d movement, Box entityBoundingBox, World world, List<VoxelShape> collisions) private void
LivingEntity.applyFoodEffects
(ItemStack stack, World world, LivingEntity targetEntity) boolean
Entity.canModifyAt
(World world, BlockPos pos) Returns whether the entity can modify the world atpos
.private static void
LightningEntity.cleanOxidation
(World world, BlockPos pos) LightningEntity.cleanOxidationAround
(World world, BlockPos pos) private static void
LightningEntity.cleanOxidationAround
(World world, BlockPos pos, BlockPos.Mutable mutablePos, int count) EntityType.EntityFactory.create
(EntityType<T> type, World world) EntityType.getEntityFromNbt
(NbtCompound nbt, World world) EntityType.loadEntityFromNbt
(NbtCompound nbt, World world) EntityType.loadEntityWithPassengers
(NbtCompound nbt, World world, Function<Entity, Entity> entityProcessor) static void
EntityType.loadFromEntityNbt
(World world, @Nullable PlayerEntity player, @Nullable Entity entity, @Nullable NbtCompound itemNbt) static FallingBlockEntity
FallingBlockEntity.spawnFromBlock
(World world, BlockPos pos, BlockState state) Spawns a falling block entity atpos
from the blockstate
.EntityType.streamFromNbt
(List<? extends NbtElement> entityNbtList, World world) ModifierConstructorDescriptionAreaEffectCloudEntity
(EntityType<? extends AreaEffectCloudEntity> type, World world) AreaEffectCloudEntity
(World world, double x, double y, double z) Entity
(EntityType<?> type, World world) ExperienceOrbEntity
(EntityType<? extends ExperienceOrbEntity> type, World world) ExperienceOrbEntity
(World world, double x, double y, double z, int amount) EyeOfEnderEntity
(EntityType<? extends EyeOfEnderEntity> type, World world) EyeOfEnderEntity
(World world, double x, double y, double z) FallingBlockEntity
(EntityType<? extends FallingBlockEntity> type, World world) private
FallingBlockEntity
(World world, double x, double y, double z, BlockState block) ItemEntity
(EntityType<? extends ItemEntity> type, World world) ItemEntity
(World world, double x, double y, double z, ItemStack stack) ItemEntity
(World world, double x, double y, double z, ItemStack stack, double velocityX, double velocityY, double velocityZ) LightningEntity
(EntityType<? extends LightningEntity> type, World world) protected
LivingEntity
(EntityType<? extends LivingEntity> type, World world) MarkerEntity
(EntityType<?> type, World world) TntEntity
(EntityType<? extends TntEntity> type, World world) TntEntity
(World world, double x, double y, double z, @Nullable LivingEntity igniter) -
Uses of World in net.minecraft.entity.ai.goal
Modifier and TypeFieldDescriptionprotected final World
AnimalMateGoal.world
private final World
EatGrassGoal.world
private final World
EscapeSunlightGoal.world
private final World
PowderSnowJumpGoal.world
private final World
WolfBegGoal.world
Modifier and TypeMethodDescriptionvoid
StepAndDestroyBlockGoal.onDestroyBlock
(World world, BlockPos pos) -
Uses of World in net.minecraft.entity.ai.pathing
ModifierConstructorDescriptionAmphibiousSwimNavigation
(MobEntity mobEntity, World world) BirdNavigation
(MobEntity entity, World world) EntityNavigation
(MobEntity entity, World world) MobNavigation
(MobEntity entity, World world) SpiderNavigation
(MobEntity entity, World world) SwimNavigation
(MobEntity entity, World world) -
Uses of World in net.minecraft.entity.boss
Modifier and TypeMethodDescriptionprotected EntityNavigation
WitherEntity.createNavigation
(World world) -
Uses of World in net.minecraft.entity.boss.dragon
ModifierConstructorDescriptionEnderDragonEntity
(EntityType<? extends EnderDragonEntity> type, World world) -
Uses of World in net.minecraft.entity.decoration
Modifier and TypeMethodDescriptionstatic LeashKnotEntity
LeashKnotEntity.getOrCreate
(World world, BlockPos pos) ModifierConstructorDescriptionprotected
AbstractDecorationEntity
(EntityType<? extends AbstractDecorationEntity> type, World world) protected
AbstractDecorationEntity
(EntityType<? extends AbstractDecorationEntity> type, World world, BlockPos pos) ArmorStandEntity
(EntityType<? extends ArmorStandEntity> type, World world) ArmorStandEntity
(World world, double x, double y, double z) EndCrystalEntity
(EntityType<? extends EndCrystalEntity> type, World world) EndCrystalEntity
(World world, double x, double y, double z) GlowItemFrameEntity
(EntityType<? extends ItemFrameEntity> type, World world) GlowItemFrameEntity
(World world, BlockPos pos, Direction facing) ItemFrameEntity
(EntityType<? extends ItemFrameEntity> type, World world) ItemFrameEntity
(EntityType<? extends ItemFrameEntity> type, World world, BlockPos pos, Direction facing) ItemFrameEntity
(World world, BlockPos pos, Direction facing) LeashKnotEntity
(EntityType<? extends LeashKnotEntity> type, World world) LeashKnotEntity
(World world, BlockPos pos) -
Uses of World in net.minecraft.entity.decoration.painting
Modifier and TypeMethodDescriptionstatic Optional<PaintingEntity>
PaintingEntity.placePainting
(World world, BlockPos pos, Direction facing) ModifierConstructorDescriptionPaintingEntity
(EntityType<? extends PaintingEntity> type, World world) private
PaintingEntity
(World world, BlockPos pos) PaintingEntity
(World world, BlockPos pos, Direction direction, RegistryEntry<PaintingVariant> variant) -
Uses of World in net.minecraft.entity.mob
Modifier and TypeFieldDescriptionprivate final World
DrownedEntity.WanderAroundOnSurfaceGoal.world
Modifier and TypeMethodDescriptionprivate boolean
EndermanEntity.PlaceBlockGoal.canPlaceOn
(World world, BlockPos posAbove, BlockState carriedState, BlockState stateAbove, BlockState state, BlockPos pos) protected EntityNavigation
GuardianEntity.createNavigation
(World world) protected EntityNavigation
MobEntity.createNavigation
(World world) protected EntityNavigation
RavagerEntity.createNavigation
(World world) protected EntityNavigation
SpiderEntity.createNavigation
(World world) protected EntityNavigation
WardenEntity.createNavigation
(World world) default boolean
Angerable.isUniversallyAngry
(World world) void
ZombieEntity.DestroyEggGoal.onDestroyBlock
(World world, BlockPos pos) default void
Angerable.readAngerFromNbt
(World world, NbtCompound nbt) ModifierConstructorDescriptionAbstractPiglinEntity
(EntityType<? extends AbstractPiglinEntity> type, World world) protected
AbstractSkeletonEntity
(EntityType<? extends AbstractSkeletonEntity> type, World world) protected
AmbientEntity
(EntityType<? extends AmbientEntity> type, World world) BlazeEntity
(EntityType<? extends BlazeEntity> type, World world) CaveSpiderEntity
(EntityType<? extends CaveSpiderEntity> type, World world) CreeperEntity
(EntityType<? extends CreeperEntity> type, World world) DrownedEntity
(EntityType<? extends DrownedEntity> type, World world) ElderGuardianEntity
(EntityType<? extends ElderGuardianEntity> type, World world) EndermanEntity
(EntityType<? extends EndermanEntity> type, World world) EndermiteEntity
(EntityType<? extends EndermiteEntity> type, World world) EvokerEntity
(EntityType<? extends EvokerEntity> type, World world) EvokerFangsEntity
(EntityType<? extends EvokerFangsEntity> type, World world) EvokerFangsEntity
(World world, double x, double y, double z, float yaw, int warmup, LivingEntity owner) protected
FlyingEntity
(EntityType<? extends FlyingEntity> type, World world) GhastEntity
(EntityType<? extends GhastEntity> type, World world) GiantEntity
(EntityType<? extends GiantEntity> type, World world) GuardianEntity
(EntityType<? extends GuardianEntity> type, World world) HoglinEntity
(EntityType<? extends HoglinEntity> type, World world) protected
HostileEntity
(EntityType<? extends HostileEntity> type, World world) HuskEntity
(EntityType<? extends HuskEntity> type, World world) protected
IllagerEntity
(EntityType<? extends IllagerEntity> type, World world) IllusionerEntity
(EntityType<? extends IllusionerEntity> type, World world) MagmaCubeEntity
(EntityType<? extends MagmaCubeEntity> type, World world) protected
MobEntity
(EntityType<? extends MobEntity> type, World world) Navigation
(MobEntity entity, World world) protected
PathAwareEntity
(EntityType<? extends PathAwareEntity> type, World world) protected
PatrolEntity
(EntityType<? extends PatrolEntity> type, World world) PhantomEntity
(EntityType<? extends PhantomEntity> type, World world) PiglinBruteEntity
(EntityType<? extends PiglinBruteEntity> type, World world) PiglinEntity
(EntityType<? extends AbstractPiglinEntity> type, World world) PillagerEntity
(EntityType<? extends PillagerEntity> type, World world) RavagerEntity
(EntityType<? extends RavagerEntity> type, World world) ShulkerEntity
(EntityType<? extends ShulkerEntity> type, World world) SilverfishEntity
(EntityType<? extends SilverfishEntity> type, World world) SkeletonEntity
(EntityType<? extends SkeletonEntity> type, World world) SkeletonHorseEntity
(EntityType<? extends SkeletonHorseEntity> type, World world) SlimeEntity
(EntityType<? extends SlimeEntity> type, World world) protected
SpellcastingIllagerEntity
(EntityType<? extends SpellcastingIllagerEntity> type, World world) SpiderEntity
(EntityType<? extends SpiderEntity> type, World world) StrayEntity
(EntityType<? extends StrayEntity> type, World world) VexEntity
(EntityType<? extends VexEntity> type, World world) VindicatorEntity
(EntityType<? extends VindicatorEntity> type, World world) WardenEntity
(EntityType<? extends HostileEntity> type, World world) protected
WaterCreatureEntity
(EntityType<? extends WaterCreatureEntity> type, World world) WitchEntity
(EntityType<? extends WitchEntity> type, World world) WitherSkeletonEntity
(EntityType<? extends WitherSkeletonEntity> type, World world) ZoglinEntity
(EntityType<? extends ZoglinEntity> type, World world) ZombieEntity
(EntityType<? extends ZombieEntity> type, World world) ZombieEntity
(World world) ZombieHorseEntity
(EntityType<? extends ZombieHorseEntity> type, World world) ZombieVillagerEntity
(EntityType<? extends ZombieVillagerEntity> type, World world) ZombifiedPiglinEntity
(EntityType<? extends ZombifiedPiglinEntity> type, World world) -
Uses of World in net.minecraft.entity.passive
Modifier and TypeMethodDescriptionprivate void
BeeEntity.addParticle
(World world, double lastX, double x, double lastZ, double z, double y, ParticleEffect effect) protected EntityNavigation
AllayEntity.createNavigation
(World world) protected EntityNavigation
AxolotlEntity.createNavigation
(World world) protected EntityNavigation
BeeEntity.createNavigation
(World world) protected EntityNavigation
DolphinEntity.createNavigation
(World world) protected EntityNavigation
FishEntity.createNavigation
(World world) protected EntityNavigation
FrogEntity.createNavigation
(World world) protected EntityNavigation
ParrotEntity.createNavigation
(World world) protected EntityNavigation
StriderEntity.createNavigation
(World world) protected EntityNavigation
TadpoleEntity.createNavigation
(World world) protected EntityNavigation
TurtleEntity.createNavigation
(World world) static SoundEvent
ParrotEntity.getRandomSound
(World world, Random random) static boolean
ParrotEntity.imitateNearbyMob
(World world, Entity parrot) ModifierConstructorDescriptionprotected
AbstractDonkeyEntity
(EntityType<? extends AbstractDonkeyEntity> type, World world) protected
AbstractHorseEntity
(EntityType<? extends AbstractHorseEntity> type, World world) AllayEntity
(EntityType<? extends AllayEntity> type, World world) protected
AnimalEntity
(EntityType<? extends AnimalEntity> type, World world) AxolotlEntity
(EntityType<? extends AxolotlEntity> type, World world) BatEntity
(EntityType<? extends BatEntity> type, World world) BeeEntity
(EntityType<? extends BeeEntity> type, World world) CamelEntity
(EntityType<? extends CamelEntity> type, World world) CatEntity
(EntityType<? extends CatEntity> type, World world) ChickenEntity
(EntityType<? extends ChickenEntity> type, World world) CodEntity
(EntityType<? extends CodEntity> type, World world) CowEntity
(EntityType<? extends CowEntity> type, World world) DolphinEntity
(EntityType<? extends DolphinEntity> type, World world) DonkeyEntity
(EntityType<? extends DonkeyEntity> type, World world) FishEntity
(EntityType<? extends FishEntity> type, World world) FoxEntity
(EntityType<? extends FoxEntity> type, World world) FrogEntity
(EntityType<? extends AnimalEntity> type, World world) (package private)
FrogSwimNavigation
(FrogEntity frog, World world) GlowSquidEntity
(EntityType<? extends GlowSquidEntity> type, World world) GoatEntity
(EntityType<? extends GoatEntity> type, World world) protected
GolemEntity
(EntityType<? extends GolemEntity> type, World world) HorseEntity
(EntityType<? extends HorseEntity> type, World world) IronGolemEntity
(EntityType<? extends IronGolemEntity> type, World world) LlamaEntity
(EntityType<? extends LlamaEntity> type, World world) MerchantEntity
(EntityType<? extends MerchantEntity> type, World world) MooshroomEntity
(EntityType<? extends MooshroomEntity> type, World world) MuleEntity
(EntityType<? extends MuleEntity> type, World world) (package private)
Navigation
(StriderEntity entity, World world) OcelotEntity
(EntityType<? extends OcelotEntity> type, World world) PandaEntity
(EntityType<? extends PandaEntity> type, World world) ParrotEntity
(EntityType<? extends ParrotEntity> type, World world) protected
PassiveEntity
(EntityType<? extends PassiveEntity> type, World world) PigEntity
(EntityType<? extends PigEntity> type, World world) PolarBearEntity
(EntityType<? extends PolarBearEntity> type, World world) PufferfishEntity
(EntityType<? extends PufferfishEntity> type, World world) RabbitEntity
(EntityType<? extends RabbitEntity> type, World world) SalmonEntity
(EntityType<? extends SalmonEntity> type, World world) SchoolingFishEntity
(EntityType<? extends SchoolingFishEntity> type, World world) SheepEntity
(EntityType<? extends SheepEntity> type, World world) SnowGolemEntity
(EntityType<? extends SnowGolemEntity> type, World world) SquidEntity
(EntityType<? extends SquidEntity> type, World world) StriderEntity
(EntityType<? extends StriderEntity> type, World world) TadpoleEntity
(EntityType<? extends FishEntity> type, World world) protected
TameableEntity
(EntityType<? extends TameableEntity> type, World world) protected
TameableShoulderEntity
(EntityType<? extends TameableShoulderEntity> type, World world) TraderLlamaEntity
(EntityType<? extends TraderLlamaEntity> type, World world) TropicalFishEntity
(EntityType<? extends TropicalFishEntity> type, World world) TurtleEntity
(EntityType<? extends TurtleEntity> type, World world) (package private)
TurtleSwimNavigation
(TurtleEntity owner, World world) VillagerEntity
(EntityType<? extends VillagerEntity> type, World world) VillagerEntity
(EntityType<? extends VillagerEntity> entityType, World world, VillagerType type) WanderingTraderEntity
(EntityType<? extends WanderingTraderEntity> type, World world) WolfEntity
(EntityType<? extends WolfEntity> type, World world) -
Uses of World in net.minecraft.entity.player
Modifier and TypeMethodDescriptionboolean
PlayerEntity.isBlockBreakingRestricted
(World world, BlockPos pos, GameMode gameMode) ModifierConstructorDescriptionPlayerEntity
(World world, BlockPos pos, float yaw, com.mojang.authlib.GameProfile gameProfile) -
Uses of World in net.minecraft.entity.projectile
Modifier and TypeMethodDescriptionboolean
ProjectileEntity.canModifyAt
(World world, BlockPos pos) Returns whether the entity can modify the world atpos
.static @Nullable EntityHitResult
ProjectileUtil.getEntityCollision
(World world, Entity entity, Vec3d min, Vec3d max, Box box, Predicate<Entity> predicate) static @Nullable EntityHitResult
ProjectileUtil.getEntityCollision
(World world, Entity entity, Vec3d min, Vec3d max, Box box, Predicate<Entity> predicate, float float2) ModifierConstructorDescriptionAbstractFireballEntity
(EntityType<? extends AbstractFireballEntity> type, double x, double y, double z, double directionX, double directionY, double directionZ, World world) AbstractFireballEntity
(EntityType<? extends AbstractFireballEntity> type, LivingEntity owner, double directionX, double directionY, double directionZ, World world) AbstractFireballEntity
(EntityType<? extends AbstractFireballEntity> type, World world) ArrowEntity
(EntityType<? extends ArrowEntity> type, World world) ArrowEntity
(World world, double x, double y, double z) ArrowEntity
(World world, LivingEntity owner) DragonFireballEntity
(EntityType<? extends DragonFireballEntity> type, World world) DragonFireballEntity
(World world, LivingEntity owner, double directionX, double directionY, double directionZ) ExplosiveProjectileEntity
(EntityType<? extends ExplosiveProjectileEntity> type, double x, double y, double z, double directionX, double directionY, double directionZ, World world) ExplosiveProjectileEntity
(EntityType<? extends ExplosiveProjectileEntity> type, LivingEntity owner, double directionX, double directionY, double directionZ, World world) protected
ExplosiveProjectileEntity
(EntityType<? extends ExplosiveProjectileEntity> type, World world) FireballEntity
(EntityType<? extends FireballEntity> type, World world) FireballEntity
(World world, LivingEntity owner, double velocityX, double velocityY, double velocityZ, int explosionPower) FireworkRocketEntity
(EntityType<? extends FireworkRocketEntity> type, World world) FireworkRocketEntity
(World world, double x, double y, double z, ItemStack stack) FireworkRocketEntity
(World world, @Nullable Entity entity, double x, double y, double z, ItemStack stack) FireworkRocketEntity
(World world, ItemStack stack, double x, double y, double z, boolean shotAtAngle) FireworkRocketEntity
(World world, ItemStack stack, Entity entity, double x, double y, double z, boolean shotAtAngle) FireworkRocketEntity
(World world, ItemStack stack, LivingEntity shooter) FishingBobberEntity
(EntityType<? extends FishingBobberEntity> type, World world) private
FishingBobberEntity
(EntityType<? extends FishingBobberEntity> type, World world, int luckOfTheSeaLevel, int lureLevel) FishingBobberEntity
(PlayerEntity thrower, World world, int luckOfTheSeaLevel, int lureLevel) LlamaSpitEntity
(EntityType<? extends LlamaSpitEntity> type, World world) LlamaSpitEntity
(World world, LlamaEntity owner) protected
PersistentProjectileEntity
(EntityType<? extends PersistentProjectileEntity> type, double x, double y, double z, World world) protected
PersistentProjectileEntity
(EntityType<? extends PersistentProjectileEntity> type, LivingEntity owner, World world) protected
PersistentProjectileEntity
(EntityType<? extends PersistentProjectileEntity> type, World world) (package private)
ProjectileEntity
(EntityType<? extends ProjectileEntity> type, World world) ShulkerBulletEntity
(EntityType<? extends ShulkerBulletEntity> type, World world) ShulkerBulletEntity
(World world, LivingEntity owner, Entity target, Direction.Axis axis) SmallFireballEntity
(EntityType<? extends SmallFireballEntity> type, World world) SmallFireballEntity
(World world, double x, double y, double z, double velocityX, double velocityY, double velocityZ) SmallFireballEntity
(World world, LivingEntity owner, double velocityX, double velocityY, double velocityZ) SpectralArrowEntity
(EntityType<? extends SpectralArrowEntity> type, World world) SpectralArrowEntity
(World world, double x, double y, double z) SpectralArrowEntity
(World world, LivingEntity owner) TridentEntity
(EntityType<? extends TridentEntity> type, World world) TridentEntity
(World world, LivingEntity owner, ItemStack stack) WitherSkullEntity
(EntityType<? extends WitherSkullEntity> type, World world) WitherSkullEntity
(World world, LivingEntity owner, double directionX, double directionY, double directionZ) -
Uses of World in net.minecraft.entity.projectile.thrown
ModifierConstructorDescriptionEggEntity
(EntityType<? extends EggEntity> type, World world) EggEntity
(World world, LivingEntity owner) EnderPearlEntity
(EntityType<? extends EnderPearlEntity> type, World world) EnderPearlEntity
(World world, LivingEntity owner) ExperienceBottleEntity
(EntityType<? extends ExperienceBottleEntity> type, World world) ExperienceBottleEntity
(World world, double x, double y, double z) ExperienceBottleEntity
(World world, LivingEntity owner) PotionEntity
(EntityType<? extends PotionEntity> type, World world) PotionEntity
(World world, double x, double y, double z) PotionEntity
(World world, LivingEntity owner) SnowballEntity
(EntityType<? extends SnowballEntity> type, World world) SnowballEntity
(World world, double x, double y, double z) SnowballEntity
(World world, LivingEntity owner) protected
ThrownEntity
(EntityType<? extends ThrownEntity> type, double x, double y, double z, World world) protected
ThrownEntity
(EntityType<? extends ThrownEntity> type, LivingEntity owner, World world) protected
ThrownEntity
(EntityType<? extends ThrownEntity> type, World world) ThrownItemEntity
(EntityType<? extends ThrownItemEntity> type, double x, double y, double z, World world) ThrownItemEntity
(EntityType<? extends ThrownItemEntity> type, LivingEntity owner, World world) ThrownItemEntity
(EntityType<? extends ThrownItemEntity> type, World world) -
Uses of World in net.minecraft.entity.raid
ModifierConstructorDescriptionprotected
RaiderEntity
(EntityType<? extends RaiderEntity> type, World world) -
Uses of World in net.minecraft.entity.vehicle
Modifier and TypeMethodDescriptionstatic AbstractMinecartEntity
AbstractMinecartEntity.create
(World world, double x, double y, double z, AbstractMinecartEntity.Type type) private Runnable
default void
VehicleInventory.onBroken
(DamageSource source, World world, Entity vehicle) ModifierConstructorDescriptionprotected
AbstractMinecartEntity
(EntityType<?> type, World world) protected
AbstractMinecartEntity
(EntityType<?> type, World world, double x, double y, double z) BoatEntity
(EntityType<? extends BoatEntity> type, World world) BoatEntity
(World world, double x, double y, double z) ChestBoatEntity
(EntityType<? extends BoatEntity> type, World world) ChestBoatEntity
(World world, double x, double y, double z) ChestMinecartEntity
(EntityType<? extends ChestMinecartEntity> type, World world) ChestMinecartEntity
(World world, double x, double y, double z) CommandBlockMinecartEntity
(EntityType<? extends CommandBlockMinecartEntity> type, World world) CommandBlockMinecartEntity
(World world, double x, double y, double z) FurnaceMinecartEntity
(EntityType<? extends FurnaceMinecartEntity> type, World world) FurnaceMinecartEntity
(World world, double x, double y, double z) HopperMinecartEntity
(EntityType<? extends HopperMinecartEntity> type, World world) HopperMinecartEntity
(World world, double x, double y, double z) MinecartEntity
(EntityType<?> type, World world) MinecartEntity
(World world, double x, double y, double z) SpawnerMinecartEntity
(EntityType<? extends SpawnerMinecartEntity> type, World world) SpawnerMinecartEntity
(World world, double x, double y, double z) protected
StorageMinecartEntity
(EntityType<?> type, double x, double y, double z, World world) protected
StorageMinecartEntity
(EntityType<?> type, World world) TntMinecartEntity
(EntityType<? extends TntMinecartEntity> type, World world) TntMinecartEntity
(World world, double x, double y, double z) -
Uses of World in net.minecraft.fluid
Modifier and TypeMethodDescriptionprivate void
FlowableFluid.flowToSides
(World world, BlockPos pos, FluidState fluidState, BlockState blockState) protected int
FlowableFluid.getNextTickDelay
(World world, BlockPos pos, FluidState oldState, FluidState newState) int
LavaFluid.getNextTickDelay
(World world, BlockPos pos, FluidState oldState, FluidState newState) protected Map<Direction,
FluidState> FlowableFluid.getSpread
(World world, BlockPos pos, BlockState state) protected FluidState
FlowableFluid.getUpdatedState
(World world, BlockPos pos, BlockState state) protected abstract boolean
FlowableFluid.isInfinite
(World world) protected boolean
LavaFluid.isInfinite
(World world) protected boolean
WaterFluid.isInfinite
(World world) protected void
Fluid.onRandomTick
(World world, BlockPos pos, FluidState state, Random random) void
FluidState.onRandomTick
(World world, BlockPos pos, Random random) void
LavaFluid.onRandomTick
(World world, BlockPos pos, FluidState state, Random random) void
FlowableFluid.onScheduledTick
(World world, BlockPos pos, FluidState state) protected void
Fluid.onScheduledTick
(World world, BlockPos pos, FluidState state) void
FluidState.onScheduledTick
(World world, BlockPos pos) protected void
Fluid.randomDisplayTick
(World world, BlockPos pos, FluidState state, Random random) void
FluidState.randomDisplayTick
(World world, BlockPos pos, Random random) void
LavaFluid.randomDisplayTick
(World world, BlockPos pos, FluidState state, Random random) void
WaterFluid.randomDisplayTick
(World world, BlockPos pos, FluidState state, Random random) protected void
FlowableFluid.tryFlow
(World world, BlockPos fluidPos, FluidState state) -
Uses of World in net.minecraft.item
Modifier and TypeMethodDescriptionprivate static Optional<RegistryKey<World>>
CompassItem.getLodestoneDimension
(NbtCompound nbt) Modifier and TypeMethodDescriptionprivate static int
FilledMapItem.allocateMapId
(World world, int x, int z, int scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension) void
AirBlockItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
BannerItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
BannerPatternItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
BlockItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
BundleItem.appendTooltip
(ItemStack stack, World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
CrossbowItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
DiscFragmentItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
EnchantedBookItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
EntityBucketItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
FilledMapItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
FireworkRocketItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
FireworkStarItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
GoatHornItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
Item.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
LingeringPotionItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
MusicDiscItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
PotionItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
ShieldItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
SuspiciousStewItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
TippedArrowItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
WrittenBookItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.static ActionResult
LeadItem.attachHeldMobsToBlock
(PlayerEntity player, World world, BlockPos pos) boolean
DebugStickItem.canMine
(BlockState state, World world, BlockPos pos, PlayerEntity miner) Returns whether a player can break a block while holding the item.boolean
Item.canMine
(BlockState state, World world, BlockPos pos, PlayerEntity miner) Returns whether a player can break a block while holding the item.boolean
SwordItem.canMine
(BlockState state, World world, BlockPos pos, PlayerEntity miner) Returns whether a player can break a block while holding the item.boolean
TridentItem.canMine
(BlockState state, World world, BlockPos pos, PlayerEntity miner) Returns whether a player can break a block while holding the item.static TypedActionResult<ItemStack>
ItemUsage.consumeHeldItem
(World world, PlayerEntity player, Hand hand) Consumes the item thatplayer
holds.static void
ArrowItem.createArrow
(World world, ItemStack stack, LivingEntity shooter) private static PersistentProjectileEntity
CrossbowItem.createArrow
(World world, LivingEntity entity, ItemStack crossbow, ItemStack arrow) SpectralArrowItem.createArrow
(World world, ItemStack stack, LivingEntity shooter) private BoatEntity
BoatItem.createEntity
(World world, HitResult hitResult) static ItemStack
FilledMapItem.createMap
(World world, int x, int z, byte scale, boolean showIcons, boolean unlimitedTracking) private static void
FilledMapItem.createMapState
(ItemStack stack, World world, int x, int z, int scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension) CompassItem.createSpawnPos
(World world) FilledMapItem.createSyncPacket
(ItemStack stack, World world, PlayerEntity player) Creates a packet that syncs additional item data to the client.NetworkSyncedItem.createSyncPacket
(ItemStack stack, World world, PlayerEntity player) Creates a packet that syncs additional item data to the client.ChorusFruitItem.finishUsing
(ItemStack stack, World world, LivingEntity user) Called when an entity finishes using the item, such as eating food or drinking a potion.HoneyBottleItem.finishUsing
(ItemStack stack, World world, LivingEntity user) Called when an entity finishes using the item, such as eating food or drinking a potion.Item.finishUsing
(ItemStack stack, World world, LivingEntity user) Called when an entity finishes using the item, such as eating food or drinking a potion.ItemStack.finishUsing
(World world, LivingEntity user) MilkBucketItem.finishUsing
(ItemStack stack, World world, LivingEntity user) Called when an entity finishes using the item, such as eating food or drinking a potion.PotionItem.finishUsing
(ItemStack stack, World world, LivingEntity user) Called when an entity finishes using the item, such as eating food or drinking a potion.SpyglassItem.finishUsing
(ItemStack stack, World world, LivingEntity user) Called when an entity finishes using the item, such as eating food or drinking a potion.StewItem.finishUsing
(ItemStack stack, World world, LivingEntity user) Called when an entity finishes using the item, such as eating food or drinking a potion.SuspiciousStewItem.finishUsing
(ItemStack stack, World world, LivingEntity user) Called when an entity finishes using the item, such as eating food or drinking a potion.private BlockState
FilledMapItem.getFluidStateIfVisible
(World world, BlockState state, BlockPos pos) FilledMapItem.getMapState
(@Nullable Integer id, World world) FilledMapItem.getOrCreateMapState
(ItemStack map, World world) void
CompassItem.inventoryTick
(ItemStack stack, World world, Entity entity, int slot, boolean selected) Called on both the client and the server every tick if the item is in the player's inventory.void
FilledMapItem.inventoryTick
(ItemStack stack, World world, Entity entity, int slot, boolean selected) Called on both the client and the server every tick if the item is in the player's inventory.void
Item.inventoryTick
(ItemStack stack, World world, Entity entity, int slot, boolean selected) Called on both the client and the server every tick if the item is in the player's inventory.void
ItemStack.inventoryTick
(World world, Entity entity, int slot, boolean selected) void
FilledMapItem.onCraft
(ItemStack stack, World world, PlayerEntity player) Called when a player acquires the item by crafting, smelting, smithing, etc.void
Item.onCraft
(ItemStack stack, World world, PlayerEntity player) Called when a player acquires the item by crafting, smelting, smithing, etc.void
ItemStack.onCraft
(World world, PlayerEntity player, int amount) void
void
EntityBucketItem.onEmptied
(@Nullable PlayerEntity player, World world, ItemStack stack, BlockPos pos) default void
FluidModificationItem.onEmptied
(@Nullable PlayerEntity player, World world, ItemStack stack, BlockPos pos) void
BowItem.onStoppedUsing
(ItemStack stack, World world, LivingEntity user, int remainingUseTicks) Called on both the client and the server when an entity stops using an item before reaching the maximum use time.void
CrossbowItem.onStoppedUsing
(ItemStack stack, World world, LivingEntity user, int remainingUseTicks) Called on both the client and the server when an entity stops using an item before reaching the maximum use time.void
Item.onStoppedUsing
(ItemStack stack, World world, LivingEntity user, int remainingUseTicks) Called on both the client and the server when an entity stops using an item before reaching the maximum use time.void
ItemStack.onStoppedUsing
(World world, LivingEntity user, int remainingUseTicks) void
SpyglassItem.onStoppedUsing
(ItemStack stack, World world, LivingEntity user, int remainingUseTicks) Called on both the client and the server when an entity stops using an item before reaching the maximum use time.void
TridentItem.onStoppedUsing
(ItemStack stack, World world, LivingEntity user, int remainingUseTicks) Called on both the client and the server when an entity stops using an item before reaching the maximum use time.boolean
BucketItem.placeFluid
(@Nullable PlayerEntity player, World world, BlockPos pos, @Nullable BlockHitResult hitResult) boolean
FluidModificationItem.placeFluid
(@Nullable PlayerEntity player, World world, BlockPos pos, @Nullable BlockHitResult hitResult) boolean
PowderSnowBucketItem.placeFluid
(@Nullable PlayerEntity player, World world, BlockPos pos, @Nullable BlockHitResult hitResult) private BlockState
BlockItem.placeFromNbt
(BlockPos pos, World world, ItemStack stack, BlockState state) private static void
GoatHornItem.playSound
(World world, PlayerEntity player, Instrument instrument) private void
FireChargeItem.playUseSound
(World world, BlockPos pos) boolean
Item.postMine
(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) Called on the server when the item is used to break a block.void
ItemStack.postMine
(World world, BlockState state, BlockPos pos, PlayerEntity miner) boolean
MiningToolItem.postMine
(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) Called on the server when the item is used to break a block.boolean
ShearsItem.postMine
(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) Called on the server when the item is used to break a block.boolean
SwordItem.postMine
(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) Called on the server when the item is used to break a block.boolean
TridentItem.postMine
(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) Called on the server when the item is used to break a block.protected boolean
BlockItem.postPlacement
(BlockPos pos, World world, @Nullable PlayerEntity player, ItemStack stack, BlockState state) protected boolean
HangingSignItem.postPlacement
(BlockPos pos, World world, @Nullable PlayerEntity player, ItemStack stack, BlockState state) protected boolean
SignItem.postPlacement
(BlockPos pos, World world, @Nullable PlayerEntity player, ItemStack stack, BlockState state) private static void
CrossbowItem.postShoot
(World world, LivingEntity entity, ItemStack stack) protected static BlockHitResult
Item.raycast
(World world, PlayerEntity player, RaycastContext.FluidHandling fluidHandling) private static void
private static void
CrossbowItem.shoot
(World world, LivingEntity shooter, Hand hand, ItemStack crossbow, ItemStack projectile, float soundPitch, boolean creative, float speed, float divergence, float simulated) static void
CrossbowItem.shootAll
(World world, LivingEntity entity, Hand hand, ItemStack stack, float speed, float divergence) void
FilledMapItem.updateColors
(World world, Entity entity, MapState state) void
CrossbowItem.usageTick
(World world, LivingEntity user, ItemStack stack, int remainingUseTicks) Called on both the server and the client every tick while an entity uses the item.void
Item.usageTick
(World world, LivingEntity user, ItemStack stack, int remainingUseTicks) Called on both the server and the client every tick while an entity uses the item.void
ItemStack.usageTick
(World world, LivingEntity user, int remainingUseTicks) ArmorItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.BoatItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.BowItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.BucketItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.BundleItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.CrossbowItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.EggItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.ElytraItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.EmptyMapItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.EnderEyeItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.EnderPearlItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.ExperienceBottleItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.FireworkRocketItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.FishingRodItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.GlassBottleItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.GoatHornItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.HoneyBottleItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.Item.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.ItemStack.use
(World world, PlayerEntity user, Hand hand) KnowledgeBookItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.LingeringPotionItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.MilkBucketItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.OnAStickItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.PlaceableOnWaterItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.PotionItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.ShieldItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.SnowballItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.SpawnEggItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.SplashPotionItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.SpyglassItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.ThrowablePotionItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.TridentItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.WritableBookItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.WrittenBookItem.use
(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.static boolean
BoneMealItem.useOnFertilizable
(ItemStack stack, World world, BlockPos pos) static boolean
BoneMealItem.useOnGround
(ItemStack stack, World world, BlockPos blockPos, @Nullable Direction facing) static boolean
BlockItem.writeNbtToBlockEntity
(World world, @Nullable PlayerEntity player, BlockPos pos, ItemStack stack) Modifier and TypeMethodDescriptionprivate static int
FilledMapItem.allocateMapId
(World world, int x, int z, int scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension) private static void
FilledMapItem.createMapState
(ItemStack stack, World world, int x, int z, int scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension) private void
CompassItem.writeNbt
(RegistryKey<World> worldKey, BlockPos pos, NbtCompound nbt) ModifierConstructorDescriptionAutomaticItemPlacementContext
(World world, BlockPos pos, Direction facing, ItemStack stack, Direction side) protected
ItemPlacementContext
(World world, @Nullable PlayerEntity player, Hand hand, ItemStack stack, BlockHitResult hit) protected
ItemUsageContext
(World world, @Nullable PlayerEntity player, Hand hand, ItemStack stack, BlockHitResult hit) -
Uses of World in net.minecraft.item.map
Modifier and TypeMethodDescriptionstatic MapState
MapState.of
(byte scale, boolean showIcons, RegistryKey<World> dimension) Creates a new map state instance for the client.static MapState
MapState.of
(double centerX, double centerZ, byte scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension) Creates a new map state instance.ModifierConstructorDescriptionprivate
MapState
(int centerX, int centerZ, byte scale, boolean showIcons, boolean unlimitedTracking, boolean locked, RegistryKey<World> dimension) -
Uses of World in net.minecraft.network.packet.c2s.play
Modifier and TypeMethodDescriptionUpdateCommandBlockMinecartC2SPacket.getMinecartCommandExecutor
(World world) -
Uses of World in net.minecraft.network.packet.s2c.play
Modifier and TypeFieldDescriptionprivate final RegistryKey<World>
PlayerRespawnS2CPacket.dimension
private final RegistryKey<World>
GameJoinS2CPacket.dimensionId
The field for thedimensionId
record component.private final Set<RegistryKey<World>>
GameJoinS2CPacket.dimensionIds
The field for thedimensionIds
record component.Modifier and TypeMethodDescriptionGameJoinS2CPacket.dimensionId()
Returns the value of thedimensionId
record component.GameJoinS2CPacket.dimensionIds()
Returns the value of thedimensionIds
record component.PlayerRespawnS2CPacket.getDimension()
ModifierConstructorDescriptionGameJoinS2CPacket
(int playerEntityId, boolean bool, GameMode previousGameMode, @Nullable GameMode gameMode, Set<RegistryKey<World>> set, DynamicRegistryManager.Immutable immutable, RegistryKey<DimensionType> registryKey, RegistryKey<World> registryKey2, long long2, int maxPlayers, int chunkLoadDistance, int int2, boolean bool2, boolean bool3, boolean bool4, boolean bool5, Optional<GlobalPos> optional) -
Uses of World in net.minecraft.predicate.entity
Modifier and TypeFieldDescriptionprivate @Nullable RegistryKey<World>
LocationPredicate.Builder.dimension
private final @Nullable RegistryKey<World>
LocationPredicate.dimension
Modifier and TypeMethodDescriptionLocationPredicate.Builder.dimension
(@Nullable RegistryKey<World> dimension) static LocationPredicate
LocationPredicate.dimension
(RegistryKey<World> dimension) -
Uses of World in net.minecraft.recipe
Modifier and TypeMethodDescriptionRecipeManager.getAllMatches
(RecipeType<T> type, C inventory, World world) Creates a list of all recipes of the giventype
that match the giveninventory
andworld
.RecipeManager.getFirstMatch
(RecipeType<T> type, C inventory, World world) Returns a recipe of the giventype
that match the giveninventory
andworld
.<C extends Inventory,
T extends Recipe<C>>
Optional<com.mojang.datafixers.util.Pair<Identifier,T>> RecipeManager.getFirstMatch
(RecipeType<T> type, C inventory, World world, @Nullable Identifier id) RecipeManager.MatchGetter.getFirstMatch
(C inventory, World world) <C extends Inventory,
T extends Recipe<C>>
DefaultedList<ItemStack>RecipeManager.getRemainingStacks
(RecipeType<T> type, C inventory, World world) Returns the remainder of a recipe of the giventype
that match the giveninventory
andworld
, or a shallow copy of theinventory
.boolean
Returns whether this recipe matches the contents inside theinventory
in the givenworld
.boolean
ArmorDyeRecipe.matches
(CraftingInventory craftingInventory, World world) boolean
BannerDuplicateRecipe.matches
(CraftingInventory craftingInventory, World world) boolean
BookCloningRecipe.matches
(CraftingInventory craftingInventory, World world) boolean
FireworkRocketRecipe.matches
(CraftingInventory craftingInventory, World world) boolean
FireworkStarFadeRecipe.matches
(CraftingInventory craftingInventory, World world) boolean
FireworkStarRecipe.matches
(CraftingInventory craftingInventory, World world) boolean
MapCloningRecipe.matches
(CraftingInventory craftingInventory, World world) boolean
MapExtendingRecipe.matches
(CraftingInventory craftingInventory, World world) boolean
Returns whether this recipe matches the contents inside theinventory
in the givenworld
.boolean
RepairItemRecipe.matches
(CraftingInventory craftingInventory, World world) boolean
ShapedRecipe.matches
(CraftingInventory craftingInventory, World world) boolean
ShapelessRecipe.matches
(CraftingInventory craftingInventory, World world) boolean
ShieldDecorationRecipe.matches
(CraftingInventory craftingInventory, World world) boolean
ShulkerBoxColoringRecipe.matches
(CraftingInventory craftingInventory, World world) boolean
Returns whether this recipe matches the contents inside theinventory
in the givenworld
.boolean
Returns whether this recipe matches the contents inside theinventory
in the givenworld
.boolean
SuspiciousStewRecipe.matches
(CraftingInventory craftingInventory, World world) boolean
TippedArrowRecipe.matches
(CraftingInventory craftingInventory, World world) default boolean
RecipeUnlocker.shouldCraftRecipe
(World world, ServerPlayerEntity player, Recipe<?> recipe) -
Uses of World in net.minecraft.registry
Modifier and TypeMethodDescriptionstatic RegistryKey<World>
RegistryKeys.toWorldKey
(RegistryKey<DimensionOptions> key) Modifier and TypeMethodDescriptionstatic RegistryKey<DimensionOptions>
RegistryKeys.toDimensionKey
(RegistryKey<World> key) -
Uses of World in net.minecraft.screen
Modifier and TypeFieldDescriptionprotected final World
AbstractFurnaceScreenHandler.world
private final World
SmithingScreenHandler.world
private final World
StonecutterScreenHandler.world
Modifier and TypeMethodDescriptionstatic ScreenHandlerContext
Returns an active screen handler context.protected static void
CraftingScreenHandler.updateResult
(ScreenHandler handler, World world, PlayerEntity player, CraftingInventory craftingInventory, CraftingResultInventory resultInventory) Modifier and TypeMethodDescription<T> Optional<T>
ScreenHandlerContext.get
(BiFunction<World, BlockPos, T> getter) Gets an optional value from this context's world and position with aBiFunction
getter.default <T> T
ScreenHandlerContext.get
(BiFunction<World, BlockPos, T> getter, T defaultValue) Gets a value from this context's world and position with aBiFunction
getter.default void
ScreenHandlerContext.run
(BiConsumer<World, BlockPos> function) Runs aBiConsumer
with this context's world and position if this context is active. -
Uses of World in net.minecraft.server
Modifier and TypeFieldDescriptionprivate final Map<RegistryKey<World>,
ServerWorld> MinecraftServer.worlds
Modifier and TypeMethodDescriptionMinecraftServer.getWorld
(RegistryKey<World> key) void
PlayerManager.sendToAround
(@Nullable PlayerEntity player, double x, double y, double z, double distance, RegistryKey<World> worldKey, Packet<?> packet) void
PlayerManager.sendToDimension
(Packet<?> packet, RegistryKey<World> dimension) -
Uses of World in net.minecraft.server.chase
Modifier and TypeFieldDescriptionprivate final RegistryKey<World>
ChaseClient.TeleportPos.dimension
The field for thedimension
record component.Modifier and TypeMethodDescriptionChaseClient.TeleportPos.dimension()
Returns the value of thedimension
record component.ModifierConstructorDescription(package private)
TeleportPos
(RegistryKey<World> dimension, Vec3d pos, Vec2f rot) Creates an instance of aTeleportPos
record class. -
Uses of World in net.minecraft.server.command
-
Uses of World in net.minecraft.server.network
Modifier and TypeFieldDescriptionprivate RegistryKey<World>
ServerPlayerEntity.spawnPointDimension
Modifier and TypeMethodDescriptionboolean
ServerPlayerEntity.canModifyAt
(World world, BlockPos pos) Returns whether the entity can modify the world atpos
.DemoServerPlayerInteractionManager.interactBlock
(ServerPlayerEntity player, World world, ItemStack stack, Hand hand, BlockHitResult hitResult) ServerPlayerInteractionManager.interactBlock
(ServerPlayerEntity player, World world, ItemStack stack, Hand hand, BlockHitResult hitResult) DemoServerPlayerInteractionManager.interactItem
(ServerPlayerEntity player, World world, ItemStack stack, Hand hand) ServerPlayerInteractionManager.interactItem
(ServerPlayerEntity player, World world, ItemStack stack, Hand hand) static void
DebugInfoSender.sendBeehiveDebugData
(World world, BlockPos pos, BlockState state, BeehiveBlockEntity blockEntity) static void
DebugInfoSender.sendGameEvent
(World world, GameEvent event, Vec3d pos) static void
DebugInfoSender.sendGameEventListener
(World world, GameEventListener eventListener) static void
DebugInfoSender.sendGoalSelector
(World world, MobEntity mob, GoalSelector goalSelector) static void
DebugInfoSender.sendNeighborUpdate
(World world, BlockPos pos) static void
DebugInfoSender.sendPathfindingData
(World world, MobEntity mob, @Nullable Path path, float nodeReachProximity) Modifier and TypeMethodDescriptionvoid
ServerPlayerEntity.setSpawnPoint
(RegistryKey<World> dimension, @Nullable BlockPos pos, float angle, boolean forced, boolean sendMessage) Sets the player's spawn point. -
Uses of World in net.minecraft.server.world
Modifier and TypeMethodDescriptionprivate void
ChunkHolder.sendBlockEntityUpdatePacket
(World world, BlockPos pos) private void
ChunkHolder.tryUpdateBlockEntityAt
(World world, BlockPos pos, BlockState state) ModifierConstructorDescriptionServerWorld
(MinecraftServer server, Executor workerExecutor, LevelStorage.Session session, ServerWorldProperties properties, RegistryKey<World> worldKey, DimensionOptions dimensionOptions, WorldGenerationProgressListener worldGenerationProgressListener, boolean debugWorld, long seed, List<Spawner> spawners, boolean shouldTickTime) -
Uses of World in net.minecraft.structure
Modifier and TypeMethodDescriptionprivate void
StructureTemplate.addEntitiesFromWorld
(World world, BlockPos firstCorner, BlockPos secondCorner) void
StructureTemplate.saveFromWorld
(World world, BlockPos start, Vec3i dimensions, boolean includeEntities, @Nullable Block ignoredBlock) -
Uses of World in net.minecraft.util
Modifier and TypeMethodDescriptionprivate static void
Spawns item entities frominventory
around the given position.static void
Spawns an item entity ofstack
around the given position.static void
Spawns item entities frominventory
aroundentity
's position.static void
Spawns item entities frominventory
aroundpos
.static void
ItemScatterer.spawn
(World world, BlockPos pos, DefaultedList<ItemStack> stacks) Spawns item entities fromstacks
aroundpos
. -
Uses of World in net.minecraft.util.math
Modifier and TypeMethodDescriptionstatic GlobalPos
GlobalPos.create
(RegistryKey<World> dimension, BlockPos pos) -
Uses of World in net.minecraft.util.profiling.jfr
Modifier and TypeMethodDescriptionFlightProfiler.NoopProfiler.startChunkGenerationProfiling
(ChunkPos chunkPos, RegistryKey<World> world, String targetStatus) FlightProfiler.startChunkGenerationProfiling
(ChunkPos chunkPos, RegistryKey<World> world, String targetStatus) JfrProfiler.startChunkGenerationProfiling
(ChunkPos chunkPos, RegistryKey<World> world, String targetStatus) -
Uses of World in net.minecraft.util.profiling.jfr.event
ModifierConstructorDescriptionChunkGenerationEvent
(ChunkPos chunkPos, RegistryKey<World> world, String targetStatus) -
Uses of World in net.minecraft.village.raid
-
Uses of World in net.minecraft.world
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<RegistryKey<World>>
World.CODEC
static final RegistryKey<World>
World.END
static final RegistryKey<World>
World.NETHER
static final RegistryKey<World>
World.OVERWORLD
private final RegistryKey<World>
World.registryKey
private final RegistryKey<World>
StructureLocator.worldKey
Modifier and TypeMethodDescriptionvoid
MobSpawnerLogic.clientTick
(World world, BlockPos pos) boolean
private static BlockPos
SpawnHelper.getRandomPosInChunkSection
(World world, WorldChunk chunk) MobSpawnerLogic.getRenderedEntity
(World world, Random random, BlockPos pos) private MobSpawnerEntry
MobSpawnerLogic.getSpawnEntry
(@Nullable World world, Random random, BlockPos pos) boolean
MobSpawnerLogic.handleStatus
(World world, int status) private boolean
MobSpawnerLogic.isPlayerInRange
(World world, BlockPos pos) void
MobSpawnerLogic.readNbt
(@Nullable World world, BlockPos pos, NbtCompound nbt) abstract void
MobSpawnerLogic.sendStatus
(World world, BlockPos pos, int status) void
MobSpawnerLogic.setEntityId
(EntityType<?> type, @Nullable World world, Random random, BlockPos pos) protected void
MobSpawnerLogic.setSpawnEntry
(@Nullable World world, BlockPos pos, MobSpawnerEntry spawnEntry) private void
MobSpawnerLogic.updateSpawns
(World world, BlockPos pos) Modifier and TypeMethodDescriptionstatic FeatureUpdater
FeatureUpdater.create
(RegistryKey<World> world, @Nullable PersistentStateManager persistentStateManager) ModifierConstructorDescriptionStructureLocator
(NbtScannable chunkIoWorker, DynamicRegistryManager registryManager, StructureTemplateManager structureTemplateManager, RegistryKey<World> worldKey, ChunkGenerator chunkGenerator, NoiseConfig noiseConfig, HeightLimitView world, BiomeSource biomeSource, long seed, com.mojang.datafixers.DataFixer dataFixer) protected
World
(MutableWorldProperties properties, RegistryKey<World> registryRef, RegistryEntry<DimensionType> dimension, Supplier<Profiler> profiler, boolean isClient, boolean debugWorld, long seed, int maxChainedNeighborUpdates) -
Uses of World in net.minecraft.world.block
Modifier and TypeFieldDescriptionprivate final World
ChainRestrictedNeighborUpdater.world
private final World
SimpleNeighborUpdater.world
Modifier and TypeMethodDescriptionstatic void
NeighborUpdater.tryNeighborUpdate
(World world, BlockState state, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) boolean
boolean
boolean
boolean
boolean
ModifierConstructorDescriptionChainRestrictedNeighborUpdater
(World world, int maxChainDepth) SimpleNeighborUpdater
(World world) -
Uses of World in net.minecraft.world.chunk
Modifier and TypeFieldDescriptionprotected final World
ChunkCache.world
(package private) final World
WorldChunk.world
ModifierConstructorDescriptionChunkCache
(World world, BlockPos minPos, BlockPos maxPos) EmptyChunk
(World world, ChunkPos pos, RegistryEntry<Biome> biomeEntry) WorldChunk
(World world, ChunkPos pos) WorldChunk
(World world, ChunkPos pos, UpgradeData upgradeData, ChunkTickScheduler<Block> blockTickScheduler, ChunkTickScheduler<Fluid> fluidTickScheduler, long inhabitedTime, @Nullable ChunkSection[] sectionArrayInitializer, @Nullable WorldChunk.EntityLoader entityLoader, @Nullable BlendingData blendingData) -
Uses of World in net.minecraft.world.dimension
Modifier and TypeMethodDescriptionDimensionOptionsRegistryHolder.getWorldKeys()
static com.mojang.serialization.DataResult<RegistryKey<World>>
DimensionType.worldFromDimensionNbt
(com.mojang.serialization.Dynamic<?> nbt) Deprecated.Modifier and TypeMethodDescriptionstatic Path
DimensionType.getSaveDirectory
(RegistryKey<World> worldRef, Path worldDirectory) -
Uses of World in net.minecraft.world.event
-
Uses of World in net.minecraft.world.event.listener
Modifier and TypeMethodDescriptionprivate static boolean
VibrationListener.isOccluded
(World world, Vec3d start, Vec3d end) void
EntityGameEventHandler.setListener
(T listener, @Nullable World world) void
-
Uses of World in net.minecraft.world.explosion
ModifierConstructorDescriptionExplosion
(World world, @Nullable Entity entity, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType) Explosion
(World world, @Nullable Entity entity, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType, List<BlockPos> affectedBlocks) Explosion
(World world, @Nullable Entity entity, double x, double y, double z, float power, List<BlockPos> affectedBlocks) Explosion
(World world, @Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType) -
Uses of World in net.minecraft.world.level.storage
-
Uses of World in net.minecraft.world.storage
Modifier and TypeMethodDescriptionprivate FeatureUpdater
VersionedChunkStorage.getFeatureUpdater
(RegistryKey<World> worldKey, Supplier<PersistentStateManager> stateManagerGetter) static void
VersionedChunkStorage.saveContextToNbt
(NbtCompound nbt, RegistryKey<World> worldKey, Optional<RegistryKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>> generatorCodecKey) VersionedChunkStorage.updateChunkNbt
(RegistryKey<World> worldKey, Supplier<PersistentStateManager> persistentStateManagerFactory, NbtCompound nbt, Optional<RegistryKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>> generatorCodecKey) -
Uses of World in net.minecraft.world.updater
Modifier and TypeFieldDescriptionprivate final Object2FloatMap<RegistryKey<World>>
WorldUpdater.dimensionProgress
private final Set<RegistryKey<World>>
WorldUpdater.worldKeys
Modifier and TypeMethodDescriptionWorldUpdater.getChunkPositions
(RegistryKey<World> world) float
WorldUpdater.getProgress
(RegistryKey<World> world)
AbstractBlock.AbstractBlockState.createScreenHandlerFactory(net.minecraft.world.World, net.minecraft.util.math.BlockPos)
instead.