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 Optional
<RegistryKey<World>> ChangedDimensionCriterion.Conditions.from
The field for thefrom
record component.private final Optional
<RegistryKey<World>> ChangedDimensionCriterion.Conditions.to
The field for theto
record component.Modifier and TypeMethodDescriptionChangedDimensionCriterion.Conditions.from()
Returns the value of thefrom
record component.ChangedDimensionCriterion.Conditions.to()
Returns the value of theto
record component.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) -
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 tool) 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 tool) 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 tool) 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 tool) 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 tool) 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.canAccessPowerProvider
(World world, BlockPos tablePos, BlockPos providerOffset) 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
BambooShootBlock.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
Fertilizable.canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
FlowerbedBlock.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
PitcherCropBlock.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
ShortPlantBlock.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
DoorBlock.canOpenByHand
(World world, BlockPos pos) 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
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) protected @Nullable NamedScreenHandlerFactory
AbstractBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected @Nullable NamedScreenHandlerFactory
AnvilBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected @Nullable NamedScreenHandlerFactory
BlockWithEntity.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected @Nullable NamedScreenHandlerFactory
CartographyTableBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected @Nullable NamedScreenHandlerFactory
ChestBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected NamedScreenHandlerFactory
CraftingTableBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected @Nullable NamedScreenHandlerFactory
EnchantingTableBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected NamedScreenHandlerFactory
GrindstoneBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected @Nullable NamedScreenHandlerFactory
LecternBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected NamedScreenHandlerFactory
LoomBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected NamedScreenHandlerFactory
SmithingTableBlock.createScreenHandlerFactory
(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornull
if screen handler cannot be created.protected @Nullable NamedScreenHandlerFactory
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, @Nullable Entity entity, ItemStack tool) static BlockState
ComposterBlock.emptyFullComposter
(Entity user, 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 void
TrapdoorBlock.flip
(BlockState state, World world, BlockPos pos, @Nullable PlayerEntity player) private @Nullable ItemFrameEntity
ComparatorBlock.getAttachedItemFrame
(World world, Direction facing, BlockPos pos) protected DispenserBehavior
DispenserBlock.getBehaviorForItem
(World world, ItemStack stack) protected DispenserBehavior
DropperBlock.getBehaviorForItem
(World world, ItemStack stack) 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) protected int
AbstractBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
AbstractFurnaceBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
BarrelBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
BeehiveBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
BrewingStandBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
BulbBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
CakeBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
CandleCakeBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
ChestBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
ChiseledBookshelfBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
CommandBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
ComposterBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
CrafterBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
DecoratedPotBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
DetectorRailBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
DispenserBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
EndPortalFrameBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
HopperBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
JukeboxBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
LavaCauldronBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
LecternBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
LeveledCauldronBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
RespawnAnchorBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
SculkSensorBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.protected int
ShulkerBoxBlock.getComparatorOutput
(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0
to15
.static Optional
<RecipeEntry<CraftingRecipe>> CrafterBlock.getCraftingRecipe
(World world, CraftingRecipeInput input) private @Nullable Identifier
NoteBlock.getCustomSound
(World world, BlockPos pos) private static Fluid
PointedDripstoneBlock.getDripFluid
(World world, Fluid fluid) PointedDripstoneBlock.getDripPos
(World world, BlockPos pos) protected static int
AbstractPressurePlateBlock.getEntityCount
(World world, Box box, Class<? extends Entity> entityClass) 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) protected int
TorchflowerBlock.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> AbstractSignBlock.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> 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> CalibratedSculkSensorBlock.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> CrafterBlock.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> HangingSignBlock.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.<T extends BlockEntity>
@Nullable BlockEntityTicker<T> TrialSpawnerBlock.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> VaultBlock.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> WallHangingSignBlock.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) 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) protected void
AbstractBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
AbstractRailBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
AbstractRedstoneGateBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
AbstractSkullBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
BellBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
BigDripleafBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
BulbBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
CommandBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
CrafterBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
DispenserBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
DoorBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
FenceGateBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
FluidBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
FrostedIceBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
HopperBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
NoteBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
PistonBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
PistonHeadBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
RedstoneLampBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
RedstoneTorchBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
RedstoneWireBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
SpongeBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
StructureBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected void
TntBlock.neighborUpdate
(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.protected 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) protected void
AbstractBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected 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.protected 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.protected 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
BrushableBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected void
BulbBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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
FrostedIceBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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
SnifferEggBlock.onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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) protected void
AbstractBlock.onBlockBreakStart
(BlockState state, World world, BlockPos pos, PlayerEntity player) Called when a player starts breaking the block (including when instant-mining).protected void
DragonEggBlock.onBlockBreakStart
(BlockState state, World world, BlockPos pos, PlayerEntity player) Called when a player starts breaking the block (including when instant-mining).protected void
NoteBlock.onBlockBreakStart
(BlockState state, World world, BlockPos pos, PlayerEntity player) Called when a player starts breaking the block (including when instant-mining).protected void
RedstoneOreBlock.onBlockBreakStart
(BlockState state, World world, BlockPos pos, PlayerEntity player) Called when a player starts breaking the block (including when instant-mining).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.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.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.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.DecoratedPotBlock.onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.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.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.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.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.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.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
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) void
BrushableBlock.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) protected void
AbstractBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
AbstractFireBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
AbstractPressurePlateBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
BigDripleafBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
BubbleColumnBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
ButtonBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
CactusBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
CampfireBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
CobwebBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
CropBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
DetectorRailBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
EndGatewayBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
EndPortalBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
FrogspawnBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
HoneyBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
HopperBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
LavaCauldronBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
LeveledCauldronBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
LilyPadBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
NetherPortalBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
PitcherCropBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
PowderSnowBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
SweetBerryBushBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
TripwireBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected void
WitherRoseBlock.onEntityCollision
(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.void
AbstractBlock.AbstractBlockState.onExploded
(World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
AbstractBlock.onExploded
(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
AbstractCandleBlock.onExploded
(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
BellBlock.onExploded
(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
ButtonBlock.onExploded
(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
DoorBlock.onExploded
(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
FenceGateBlock.onExploded
(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
LeverBlock.onExploded
(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) protected void
TrapdoorBlock.onExploded
(BlockState state, World world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger) private void
LeveledCauldronBlock.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
AbstractRedstoneGateBlock.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
CommandBlock.onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.void
CrafterBlock.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
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
PitcherCropBlock.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
WallWitherSkullBlock.onPlaced
(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.static void
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) protected void
AbstractBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.protected void
AbstractCandleBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.protected void
AmethystBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.protected void
BellBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.protected void
BigDripleafBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.protected void
CampfireBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.protected void
ChorusFlowerBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.protected void
DecoratedPotBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.protected void
PointedDripstoneBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.protected void
TargetBlock.onProjectileHit
(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntity
hits a block.protected 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) protected void
AbstractBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected void
CrafterBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected void
DecoratedPotBlock.onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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
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) protected boolean
AbstractBlock.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.protected 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.protected 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.protected 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.protected 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, BlockHitResult hit) protected ActionResult
AbstractBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
AbstractFurnaceBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
AbstractSignBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
AnvilBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
BarrelBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
BeaconBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
BedBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
BellBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
BrewingStandBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
ButtonBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CakeBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CandleCakeBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CartographyTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CaveVinesBodyBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CaveVinesHeadBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
ChestBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
ChiseledBookshelfBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CommandBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
ComparatorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
ComposterBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CrafterBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
CraftingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
DaylightDetectorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
DecoratedPotBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
DispenserBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
DoorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
DragonEggBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
EnchantingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
EnderChestBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
FenceBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
FenceGateBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
FletchingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
FlowerPotBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
GrindstoneBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
HopperBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
JigsawBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
JukeboxBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
LecternBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
LeverBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
LightBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
LoomBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
NoteBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
PistonExtensionBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
RedstoneWireBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
RepeaterBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
RespawnAnchorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
ShulkerBoxBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
SmithingTableBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
StonecutterBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
StructureBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
SweetBerryBushBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResult
TrapdoorBlock.onUse
(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) AbstractBlock.AbstractBlockState.onUseWithItem
(ItemStack stack, World world, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
AbstractBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
AbstractCauldronBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
AbstractSignBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
BeehiveBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
CakeBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
CampfireBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
CandleBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
CandleCakeBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
ChiseledBookshelfBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
ComposterBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
DecoratedPotBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
FenceBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
FlowerPotBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
HangingSignBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
JukeboxBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
LecternBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
NoteBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
PumpkinBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
RedstoneOreBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
RespawnAnchorBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
SweetBerryBushBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
TntBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) VaultBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ItemActionResult
WallHangingSignBlock.onUseWithItem
(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) 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
(@Nullable Entity picker, 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 static 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, @Nullable PlayerEntity player) 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 LivingEntity user, World world, BlockPos pos, BlockState state, ItemStack stack) static boolean
LecternBlock.putBookIfAbsent
(@Nullable LivingEntity user, 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
BrushableBlock.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
CherryLeavesBlock.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
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 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
void
SculkSensorBlock.setActive
(@Nullable Entity sourceEntity, World world, BlockPos pos, BlockState state, int power, int frequency) static void
SculkSensorBlock.setCooldown
(World world, BlockPos pos, BlockState state) static void
LecternBlock.setHasBook
(@Nullable Entity user, 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
private static boolean
AbstractRailBlock.shouldDropRail
(BlockPos pos, World world, RailShape shape) Checks if this rail should be dropped.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) void
LeverBlock.togglePower
(BlockState state, World world, BlockPos pos, @Nullable PlayerEntity player) 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) static void
SculkSensorBlock.tryResonate
(@Nullable Entity sourceEntity, World world, BlockPos pos, int frequency) 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) static void
TripwireHookBlock.update
(World world, BlockPos pos, BlockState state, boolean bool, boolean bool2, 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, BlockState state) private static void
TripwireHookBlock.updateNeighborsOnAxis
(Block block, World world, BlockPos pos, Direction direction) private void
RedstoneWireBlock.updateOffsetNeighbors
(World world, BlockPos pos) static void
CarvedPumpkinBlock.updatePatternBlocks
(World world, BlockPattern.Result patternResult) private 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) protected static <T extends BlockEntity>
@Nullable BlockEntityTicker<T> AbstractFurnaceBlock.validateTicker
(World world, BlockEntityType<T> givenType, BlockEntityType<? extends AbstractFurnaceBlockEntity> expectedType) 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 ItemActionResult
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 ItemActionResult
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
-
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 RegistryEntry<StatusEffect> primaryEffect, @Nullable RegistryEntry<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) private static ServerCommandSource
SignBlockEntity.createCommandSource
(@Nullable PlayerEntity player, World world, BlockPos pos) static boolean
private static BlockPos
EndGatewayBlockEntity.findBestPortalExitPos
(World world, BlockPos pos) private static @Nullable LivingEntity
ConduitBlockEntity.findTargetEntity
(World world, BlockPos pos, UUID uuid) HopperBlockEntity.getBlockInventoryAt
(World world, BlockPos pos, BlockState state) private int
CalibratedSculkSensorBlockEntity.Callback.getCalibrationFrequency
(World world, BlockPos pos, BlockState state) private static WorldChunk
private static int
AbstractFurnaceBlockEntity.getCookTime
(World world, AbstractFurnaceBlockEntity furnace) HopperBlockEntity.getEntityInventoryAt
(World world, double x, double y, double z) HopperBlockEntity.getInputInventory
(World world, Hopper hopper, BlockPos pos, BlockState state) static List
<ItemEntity> HopperBlockEntity.getInputItemEntities
(World world, Hopper hopper) HopperBlockEntity.getInventoryAt
(World world, BlockPos pos) HopperBlockEntity.getInventoryAt
(World world, BlockPos pos, BlockState state, double x, double y, double z) HopperBlockEntity.getOutputInventory
(World world, BlockPos pos, HopperBlockEntity blockEntity) private List
<PlayerEntity> ViewerCountManager.getViewingPlayers
(World world, BlockPos pos) private static void
ConduitBlockEntity.givePlayersEffects
(World world, BlockPos pos, List<BlockPos> activatingBlocks) private static boolean
HopperBlockEntity.insert
(World world, BlockPos pos, HopperBlockEntity blockEntity) 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) BeehiveBlockEntity.BeeData.loadEntity
(World world, BlockPos pos) 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.onViewerCountUpdate
(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount) protected void
TrappedChestBlockEntity.onViewerCountUpdate
(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) private static void
VaultBlockEntity.Client.playAmbientSound
(World world, BlockPos pos, VaultSharedData sharedData) 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 void
SculkShriekerBlockEntity.playWarningSound
(World world) 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.BeeData bee, @Nullable List<Entity> entities, BeehiveBlockEntity.BeeState beeState, @Nullable BlockPos flowerPos) void
BellBlockEntity.Effect.run
(World world, BlockPos pos, List<LivingEntity> hearingEntities) boolean
SignBlockEntity.runCommandClickEvent
(PlayerEntity player, World world, BlockPos pos, boolean front) 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
TrialSpawnerBlockEntity.setSpawnerState
(World world, TrialSpawnerState spawnerState) 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.static void
VaultBlockEntity.Client.spawnActivateParticles
(World world, BlockPos pos, BlockState state, VaultSharedData sharedData, ParticleEffect particle) private static void
VaultBlockEntity.Client.spawnAmbientParticles
(World world, BlockPos pos, VaultSharedData sharedData, ParticleEffect particle) private static void
VaultBlockEntity.Client.spawnConnectedParticles
(World world, BlockPos pos, BlockState state, VaultSharedData sharedData) private static void
VaultBlockEntity.Client.spawnConnectedParticlesFor
(World world, Vec3d pos, PlayerEntity player) static void
VaultBlockEntity.Client.spawnDeactivateParticles
(World world, BlockPos pos, ParticleEffect particle) private static void
ConduitBlockEntity.spawnNautilusParticles
(World world, BlockPos pos, List<BlockPos> activatingBlocks, @Nullable Entity entity, int ticks) 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
SignBlockEntity.tick
(World world, BlockPos pos, BlockState state, SignBlockEntity blockEntity) static void
SkullBlockEntity.tick
(World world, BlockPos pos, BlockState state, SkullBlockEntity blockEntity) static void
VaultBlockEntity.Client.tick
(World world, BlockPos pos, BlockState state, VaultClientData clientData, VaultSharedData sharedData) private static void
BeehiveBlockEntity.tickBees
(World world, BlockPos pos, BlockState state, List<BeehiveBlockEntity.Bee> bees, @Nullable BlockPos flowerPos) static void
CrafterBlockEntity.tickCrafting
(World world, BlockPos pos, BlockState state, CrafterBlockEntity blockEntity) private void
SculkCatalystBlockEntity.Listener.triggerCriteria
(World world, LivingEntity deadEntity) private void
SignBlockEntity.tryClearInvalidEditor
(SignBlockEntity blockEntity, World world, UUID uuid) 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.enums
Modifier and TypeMethodDescriptionvoid
private static void
TrialSpawnerState.ParticleEmitter.emitParticle
(SimpleParticleType type, Vec3d pos, World world) void
TrialSpawnerState.emitParticles
(World world, BlockPos pos, boolean ominous) -
Uses of World in net.minecraft.block.piston
ModifierConstructorDescriptionPistonHandler
(World world, BlockPos pos, Direction dir, boolean retracted) -
Uses of World in net.minecraft.block.spawner
Modifier and TypeMethodDescriptionstatic void
TrialSpawnerLogic.addDetectionParticles
(World world, BlockPos pos, Random random, int playerCount, ParticleEffect particle) static void
TrialSpawnerLogic.addEjectItemParticles
(World world, BlockPos pos, Random random) static void
TrialSpawnerLogic.addMobSpawnParticles
(World world, BlockPos pos, Random random, SimpleParticleType particle) static void
TrialSpawnerLogic.addTrialOmenParticles
(World world, BlockPos pos, Random random) boolean
TrialSpawnerLogic.canActivate
(World world) void
MobSpawnerLogic.clientTick
(World world, BlockPos pos) MobSpawnerLogic.getRenderedEntity
(World world, BlockPos pos) private MobSpawnerEntry
MobSpawnerLogic.getSpawnEntry
(@Nullable World world, Random random, BlockPos pos) boolean
MobSpawnerLogic.handleStatus
(World world, int status) private static boolean
EntityDetector.hasLineOfSight
(World world, Vec3d pos, Vec3d entityEyePos) private static boolean
TrialSpawnerLogic.hasLineOfSight
(World world, Vec3d spawnerPos, Vec3d spawnPos) 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) TrialSpawnerData.setDisplayEntity
(TrialSpawnerLogic logic, World world, TrialSpawnerState state) void
MobSpawnerLogic.setEntityId
(EntityType<?> type, @Nullable World world, Random random, BlockPos pos) protected void
MobSpawnerLogic.setSpawnEntry
(@Nullable World world, BlockPos pos, MobSpawnerEntry spawnEntry) void
TrialSpawnerLogic.setSpawnerState
(World world, TrialSpawnerState spawnerState) void
TrialSpawnerLogic.TrialSpawner.setSpawnerState
(World world, TrialSpawnerState spawnerState) void
TrialSpawnerLogic.tickClient
(World world, BlockPos pos, boolean ominous) private void
MobSpawnerLogic.updateSpawns
(World world, BlockPos pos) -
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
Modifier and TypeMethodDescriptionprivate void
DrawContext.drawItem
(@Nullable LivingEntity entity, @Nullable World world, ItemStack stack, int x, int y, int seed) private void
DrawContext.drawItem
(@Nullable LivingEntity entity, @Nullable World world, ItemStack stack, int x, int y, int seed, int z) -
Uses of World in net.minecraft.client.gui.hud
-
Uses of World in net.minecraft.client.gui.screen.world
Modifier and TypeFieldDescriptionprivate static final ToIntFunction
<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()
Modifier and TypeMethodDescriptionClientPlayNetworkHandler.getWorldEntryReason
(boolean dead, RegistryKey<World> from, RegistryKey<World> to) -
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
static void
VaultBlockEntityRenderer.renderDisplayItem
(float tickDelta, World world, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, ItemStack stack, ItemRenderer itemRenderer, float prevRotation, float rotation, Random random) 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 TypeMethodDescriptionChunkRendererRegionBuilder.build
(World world, ChunkSectionPos sectionPos) ChunkRendererRegionBuilder.computeClientChunk
(World world, int chunkX, int chunkZ) ModifierConstructorDescription(package private)
ChunkRendererRegion
(World world, int chunkX, int chunkZ, RenderedChunk[] chunks) -
Uses of World in net.minecraft.client.render.debug
Modifier and TypeFieldDescriptionStructureDebugRenderer.structureBoundingBoxes
private final Map
<RegistryKey<World>, Map<String, DebugStructuresCustomPayload.Piece>> StructureDebugRenderer.structurePiecesBoundingBoxes
Modifier and TypeMethodDescriptionboolean
Modifier and TypeMethodDescriptionvoid
StructureDebugRenderer.addStructure
(BlockBox boundingBox, List<DebugStructuresCustomPayload.Piece> pieces, RegistryKey<World> dimensionKey) -
Uses of World in net.minecraft.client.render.entity
Modifier and TypeMethodDescriptionvoid
static void
ItemEntityRenderer.renderStack
(ItemRenderer itemRenderer, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, ItemStack stack, Random random, World world) void
-
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, ModelTransformationMode renderMode, boolean leftHanded, MatrixStack matrices, VertexConsumerProvider vertexConsumers, @Nullable World world, int light, int overlay, int seed) void
ItemRenderer.renderItem
(ItemStack stack, ModelTransformationMode transformationType, int light, int overlay, MatrixStack matrices, VertexConsumerProvider vertexConsumers, @Nullable World world, int seed) -
Uses of World in net.minecraft.client.session.telemetry
Modifier and TypeMethodDescriptionvoid
WorldSession.onAdvancementMade
(World world, AdvancementEntry advancement) -
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.component.type
Modifier and TypeMethodDescriptionstatic ItemActionResult
JukeboxPlayableComponent.tryPlayStack
(World world, BlockPos pos, ItemStack stack, PlayerEntity player) -
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) boolean
Entity.canModifyAt
(World world, BlockPos pos) Returns whether the entity can modify the world atpos
.boolean
Entity.canTeleportBetween
(World from, World to) 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) static OminousItemSpawnerEntity
LivingEntity.eatFood
(World world, ItemStack stack, FoodComponent foodComponent) private static List
<VoxelShape> Entity.findCollisionsForMovement
(@Nullable Entity entity, World world, List<VoxelShape> regularCollisions, Box movingEntityBoundingBox) 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, NbtComponent nbt) protected void
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) final ItemStack
LivingEntity.tryEatFood
(World world, ItemStack stack) 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) OminousItemSpawnerEntity
(EntityType<? extends OminousItemSpawnerEntity> 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) protected
BlockAttachedEntity
(EntityType<? extends BlockAttachedEntity> type, World world) protected
BlockAttachedEntity
(EntityType<? extends BlockAttachedEntity> type, World world, BlockPos attachedBlockPos) BlockDisplayEntity
(EntityType<?> type, World world) DisplayEntity
(EntityType<?> type, World world) 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) InteractionEntity
(EntityType<?> type, World world) ItemDisplayEntity
(EntityType<?> type, World world) 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) TextDisplayEntity
(EntityType<?> type, World world) -
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.effect
Modifier and TypeMethodDescriptionprivate void
InfestedStatusEffect.spawnSilverfish
(World world, LivingEntity entity, double x, double y, double z) private void
OozingStatusEffect.spawnSlime
(World world, double x, double y, double z) private void
WeavingStatusEffect.tryPlaceCobweb
(World world, Random random, BlockPos pos) -
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
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) BoggedEntity
(EntityType<? extends BoggedEntity> type, World world) BreezeEntity
(EntityType<? extends HostileEntity> 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) 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) ArmadilloEntity
(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) SnifferEntity
(EntityType<? extends AnimalEntity> 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 TypeMethodDescriptionPlayerEntity.eatFood
(World world, ItemStack stack, FoodComponent foodComponent) boolean
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.canBreakBlocks
(World world) boolean
ProjectileEntity.canModifyAt
(World world, BlockPos pos) Returns whether the entity can modify the world atpos
.private static HitResult
ProjectileUtil.getCollision
(Vec3d pos, Entity entity, Predicate<Entity> predicate, Vec3d velocity, World world, float margin, RaycastContext.ShapeType raycastShapeType) 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 margin) ModifierConstructorDescriptionAbstractFireballEntity
(EntityType<? extends AbstractFireballEntity> type, double x, double y, double z, Vec3d velocity, World world) AbstractFireballEntity
(EntityType<? extends AbstractFireballEntity> type, LivingEntity owner, Vec3d velocity, World world) AbstractFireballEntity
(EntityType<? extends AbstractFireballEntity> type, World world) (package private)
AbstractWindChargeEntity
(EntityType<? extends AbstractWindChargeEntity> type, double x, double y, double z, Vec3d velocity, World world) AbstractWindChargeEntity
(EntityType<? extends AbstractWindChargeEntity> type, World world) AbstractWindChargeEntity
(EntityType<? extends AbstractWindChargeEntity> type, World world, Entity owner, double x, double y, double z) ArrowEntity
(EntityType<? extends ArrowEntity> type, World world) ArrowEntity
(World world, double x, double y, double z, ItemStack stack, @Nullable ItemStack shotFrom) ArrowEntity
(World world, LivingEntity owner, ItemStack stack, @Nullable ItemStack shotFrom) BreezeWindChargeEntity
(EntityType<? extends AbstractWindChargeEntity> type, World world) BreezeWindChargeEntity
(BreezeEntity breeze, World world) DragonFireballEntity
(EntityType<? extends DragonFireballEntity> type, World world) DragonFireballEntity
(World world, LivingEntity owner, Vec3d velocity) ExplosiveProjectileEntity
(EntityType<? extends ExplosiveProjectileEntity> type, double x, double y, double z, Vec3d velocity, World world) protected
ExplosiveProjectileEntity
(EntityType<? extends ExplosiveProjectileEntity> type, double x, double y, double z, World world) ExplosiveProjectileEntity
(EntityType<? extends ExplosiveProjectileEntity> type, LivingEntity owner, Vec3d velocity, World world) protected
ExplosiveProjectileEntity
(EntityType<? extends ExplosiveProjectileEntity> type, World world) FireballEntity
(EntityType<? extends FireballEntity> type, World world) FireballEntity
(World world, LivingEntity owner, Vec3d velocity, 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 luckBonus, int waitTimeReductionTicks) FishingBobberEntity
(PlayerEntity thrower, World world, int luckBonus, int waitTimeReductionTicks) 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, ItemStack stack, @Nullable ItemStack weapon) protected
PersistentProjectileEntity
(EntityType<? extends PersistentProjectileEntity> type, LivingEntity owner, World world, ItemStack stack, @Nullable ItemStack shotFrom) 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, Vec3d velocity) SmallFireballEntity
(World world, LivingEntity owner, Vec3d velocity) SpectralArrowEntity
(EntityType<? extends SpectralArrowEntity> type, World world) SpectralArrowEntity
(World world, double x, double y, double z, ItemStack stack, @Nullable ItemStack shotFrom) SpectralArrowEntity
(World world, LivingEntity owner, ItemStack stack, @Nullable ItemStack shotFrom) TridentEntity
(EntityType<? extends TridentEntity> type, World world) TridentEntity
(World world, double x, double y, double z, ItemStack stack) TridentEntity
(World world, LivingEntity owner, ItemStack stack) WindChargeEntity
(EntityType<? extends AbstractWindChargeEntity> type, World world) WindChargeEntity
(PlayerEntity player, World world, double x, double y, double z) WindChargeEntity
(World world, double x, double y, double z, Vec3d velocity) WitherSkullEntity
(EntityType<? extends WitherSkullEntity> type, World world) WitherSkullEntity
(World world, LivingEntity owner, Vec3d velocity) -
Uses of World in net.minecraft.entity.projectile.thrown
Modifier and TypeMethodDescriptionboolean
EnderPearlEntity.canTeleportBetween
(World from, World to) private static boolean
EnderPearlEntity.canTeleportEntityTo
(Entity entity, World world) private void
EnderPearlEntity.playTeleportSound
(World world, Vec3d pos) 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 TypeMethodDescriptionprivate 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) VehicleEntity
(EntityType<?> type, World world) -
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.inventory
-
Uses of World in net.minecraft.item
Modifier and TypeMethodDescriptionprivate void
BrushItem.addDustParticles
(World world, BlockHitResult hitResult, BlockState state, Vec3d userRotation, Arm arm) private static MapIdComponent
FilledMapItem.allocateMapId
(World world, int x, int z, int scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension) 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
MaceItem.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.LeadItem.collectLeashablesAround
(World world, BlockPos pos, Predicate<Leashable> predicate) static TypedActionResult
<ItemStack> ItemUsage.consumeHeldItem
(World world, PlayerEntity player, Hand hand) Consumes the item thatplayer
holds.private static void
BlockItem.copyComponentsToBlockEntity
(World world, BlockPos pos, ItemStack stack) static void
static Item.TooltipContext
ArrowItem.createArrow
(World world, ItemStack stack, LivingEntity shooter, @Nullable ItemStack shotFrom) SpectralArrowItem.createArrow
(World world, ItemStack stack, LivingEntity shooter, @Nullable ItemStack shotFrom) protected ProjectileEntity
CrossbowItem.createArrowEntity
(World world, LivingEntity shooter, ItemStack weaponStack, ItemStack projectileStack, boolean critical) protected ProjectileEntity
RangedWeaponItem.createArrowEntity
(World world, LivingEntity shooter, ItemStack weaponStack, ItemStack projectileStack, boolean critical) ArrowItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) private BoatEntity
BoatItem.createEntity
(World world, HitResult hitResult, ItemStack stack, PlayerEntity player) EggItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) ExperienceBottleItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) FireChargeItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) FireworkRocketItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) ProjectileItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) SnowballItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) SpectralArrowItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) ThrowablePotionItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) TridentItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) WindChargeItem.createEntity
(World world, Position pos, ItemStack stack, Direction direction) static ItemStack
FilledMapItem.createMap
(World world, int x, int z, byte scale, boolean showIcons, boolean unlimitedTracking) 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.default TypedActionResult
<ItemStack> Equipment.equipAndSwap
(Item item, World world, PlayerEntity user, Hand hand) 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.OminousBottleItem.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.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 MapIdComponent id, World world) FilledMapItem.getMapState
(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) private static void
MaceItem.knockbackNearbyEntities
(World world, PlayerEntity player, Entity attacked) void
Called when the item is made by crafting, smelting, smithing, etc.void
Called when the item is made by crafting, smelting, smithing, etc.void
ItemStack.onCraftByCrafter
(World world) void
Item.onCraftByPlayer
(ItemStack stack, World world, PlayerEntity player) Called when a player acquires the item by crafting, smelting, smithing, etc.void
ItemStack.onCraftByPlayer
(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
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.protected boolean
BlockItem.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) protected static BlockHitResult
Item.raycast
(World world, PlayerEntity player, RaycastContext.FluidHandling fluidHandling) private static void
void
CrossbowItem.shootAll
(World world, LivingEntity shooter, Hand hand, ItemStack stack, float speed, float divergence, @Nullable LivingEntity target) private Optional
<BlockState> AxeItem.tryStrip
(World world, BlockPos pos, @Nullable PlayerEntity player, BlockState state) void
FilledMapItem.updateColors
(World world, Entity entity, MapState state) void
BrushItem.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
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.OminousBottleItem.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.WindChargeItem.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) boolean
DyeItem.useOnSign
(World world, SignBlockEntity signBlockEntity, boolean front, PlayerEntity player) boolean
GlowInkSacItem.useOnSign
(World world, SignBlockEntity signBlockEntity, boolean front, PlayerEntity player) boolean
HoneycombItem.useOnSign
(World world, SignBlockEntity signBlockEntity, boolean front, PlayerEntity player) boolean
InkSacItem.useOnSign
(World world, SignBlockEntity signBlockEntity, boolean front, PlayerEntity player) boolean
SignChangingItem.useOnSign
(World world, SignBlockEntity signBlockEntity, boolean front, PlayerEntity player) static boolean
BlockItem.writeNbtToBlockEntity
(World world, @Nullable PlayerEntity player, BlockPos pos, ItemStack stack) Modifier and TypeMethodDescriptionprivate static MapIdComponent
FilledMapItem.allocateMapId
(World world, int x, int z, int scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension) 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 locked, RegistryKey<World> dimension) Creates a new map state instance for the client.static MapState
MapState.of
(double centerX, double centerZ, byte scale, boolean showDecorations, boolean unlimitedTracking, RegistryKey<World> dimension) Creates a new map state instance.ModifierConstructorDescriptionprivate
MapState
(int centerX, int centerZ, byte scale, boolean showDecorations, 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.custom
Modifier and TypeFieldDescriptionprivate final RegistryKey
<World> DebugStructuresCustomPayload.dimension
The field for thedimension
record component.Modifier and TypeMethodDescriptionDebugStructuresCustomPayload.dimension()
Returns the value of thedimension
record component.ModifierConstructorDescriptionDebugStructuresCustomPayload
(RegistryKey<World> registryKey, BlockBox blockBox, List<DebugStructuresCustomPayload.Piece> list) -
Uses of World in net.minecraft.network.packet.s2c.play
Modifier and TypeFieldDescriptionprivate final RegistryKey
<World> CommonPlayerSpawnInfo.dimension
The field for thedimension
record component.private final Set
<RegistryKey<World>> GameJoinS2CPacket.dimensionIds
The field for thedimensionIds
record component.Modifier and TypeMethodDescriptionCommonPlayerSpawnInfo.dimension()
Returns the value of thedimension
record component.GameJoinS2CPacket.dimensionIds()
Returns the value of thedimensionIds
record component.Modifier and TypeMethodDescriptionEntityDamageS2CPacket.createDamageSource
(World world) LookAtS2CPacket.getTargetPosition
(World world) ModifierConstructorDescriptionCommonPlayerSpawnInfo
(RegistryEntry<DimensionType> registryEntry, RegistryKey<World> registryKey, long long2, GameMode gameMode, @Nullable GameMode gameMode2, boolean bool, boolean bool2, Optional<GlobalPos> optional, int int2) GameJoinS2CPacket
(int playerEntityId, boolean bool, Set<RegistryKey<World>> set, int int2, int int3, int int4, boolean bool2, boolean bool3, boolean bool4, CommonPlayerSpawnInfo commonPlayerSpawnInfo, boolean bool5) -
Uses of World in net.minecraft.particle
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.spawnParticle
(World world, BlockPos pos, Random random, ParticleEffect effect) 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.predicate.entity
Modifier and TypeFieldDescriptionprivate Optional
<RegistryKey<World>> LocationPredicate.Builder.dimension
private final Optional
<RegistryKey<World>> LocationPredicate.dimension
The field for thedimension
record component.Modifier and TypeMethodDescriptionLocationPredicate.dimension()
Returns the value of thedimension
record component.Modifier and TypeMethodDescriptionstatic LocationPredicate.Builder
LocationPredicate.Builder.createDimension
(RegistryKey<World> dimension) LocationPredicate.Builder.dimension
(RegistryKey<World> dimension) -
Uses of World in net.minecraft.recipe
Modifier and TypeMethodDescription<I extends RecipeInput,
T extends Recipe<I>>
List<RecipeEntry<T>> RecipeManager.getAllMatches
(RecipeType<T> type, I input, World world) Creates a list of all recipes of the giventype
that match the giveninventory
andworld
.private Optional
<RecipeEntry<CraftingRecipe>> RecipeCache.getAndCacheRecipe
(CraftingRecipeInput input, World world) <I extends RecipeInput,
T extends Recipe<I>>
Optional<RecipeEntry<T>> RecipeManager.getFirstMatch
(RecipeType<T> type, I input, World world) Returns a recipe of the giventype
that match the giveninventory
andworld
.<I extends RecipeInput,
T extends Recipe<I>>
Optional<RecipeEntry<T>> RecipeManager.getFirstMatch
(RecipeType<T> type, I input, World world, @Nullable RecipeEntry<T> recipe) <I extends RecipeInput,
T extends Recipe<I>>
Optional<RecipeEntry<T>> RecipeManager.getFirstMatch
(RecipeType<T> type, I input, World world, @Nullable Identifier id) RecipeManager.MatchGetter.getFirstMatch
(I input, World world) RecipeCache.getRecipe
(World world, CraftingRecipeInput input) <I extends RecipeInput,
T extends Recipe<I>>
DefaultedList<ItemStack> RecipeManager.getRemainingStacks
(RecipeType<T> type, I input, World world) Returns the remainder of a recipe of the giventype
that match the giveninventory
andworld
, or a shallow copy of theinventory
.boolean
AbstractCookingRecipe.matches
(SingleStackRecipeInput singleStackRecipeInput, World world) boolean
ArmorDyeRecipe.matches
(CraftingRecipeInput craftingRecipeInput, World world) boolean
BannerDuplicateRecipe.matches
(CraftingRecipeInput craftingRecipeInput, World world) boolean
BookCloningRecipe.matches
(CraftingRecipeInput craftingRecipeInput, World world) boolean
CraftingDecoratedPotRecipe.matches
(CraftingRecipeInput craftingRecipeInput, World world) boolean
FireworkRocketRecipe.matches
(CraftingRecipeInput craftingRecipeInput, World world) boolean
FireworkStarFadeRecipe.matches
(CraftingRecipeInput craftingRecipeInput, World world) boolean
FireworkStarRecipe.matches
(CraftingRecipeInput craftingRecipeInput, World world) boolean
MapCloningRecipe.matches
(CraftingRecipeInput craftingRecipeInput, World world) boolean
MapExtendingRecipe.matches
(CraftingRecipeInput craftingRecipeInput, World world) boolean
Returns whether this recipe matches the contents inside theinventory
in the givenworld
.boolean
RepairItemRecipe.matches
(CraftingRecipeInput craftingRecipeInput, World world) boolean
ShapedRecipe.matches
(CraftingRecipeInput craftingRecipeInput, World world) boolean
ShapelessRecipe.matches
(CraftingRecipeInput craftingRecipeInput, World world) boolean
ShieldDecorationRecipe.matches
(CraftingRecipeInput craftingRecipeInput, World world) boolean
ShulkerBoxColoringRecipe.matches
(CraftingRecipeInput craftingRecipeInput, World world) boolean
SmithingTransformRecipe.matches
(SmithingRecipeInput smithingRecipeInput, World world) boolean
SmithingTrimRecipe.matches
(SmithingRecipeInput smithingRecipeInput, World world) boolean
StonecuttingRecipe.matches
(SingleStackRecipeInput singleStackRecipeInput, World world) boolean
SuspiciousStewRecipe.matches
(CraftingRecipeInput craftingRecipeInput, World world) boolean
TippedArrowRecipe.matches
(CraftingRecipeInput craftingRecipeInput, World world) default boolean
RecipeUnlocker.shouldCraftRecipe
(World world, ServerPlayerEntity player, RecipeEntry<?> recipe) private void
RecipeCache.validateRecipeManager
(World world) -
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, RecipeInputInventory craftingInventory, CraftingResultInventory resultInventory, @Nullable RecipeEntry<CraftingRecipe> recipe) 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.dedicated
-
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, RegistryEntry<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
(List<ServerPlayerEntity> players, World world, BlockPos pos) private void
ChunkHolder.tryUpdateBlockEntityAt
(List<ServerPlayerEntity> players, 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<SpecialSpawner> spawners, boolean shouldTickTime, @Nullable RandomSequencesState randomSequencesState) -
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 TypeMethodDescriptionstatic void
ItemScatterer.onStateReplaced
(BlockState state, BlockState newState, World world, BlockPos pos) private 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 TypeFieldDescriptionprivate final RegistryKey
<World> GlobalPos.dimension
The field for thedimension
record component.Modifier and TypeMethodDescriptionGlobalPos.dimension()
Returns the value of thedimension
record component.Modifier and TypeMethodDescriptionstatic GlobalPos
GlobalPos.create
(RegistryKey<World> dimension, BlockPos pos) ModifierConstructorDescriptionGlobalPos
(RegistryKey<World> dimension, BlockPos pos) Creates an instance of aGlobalPos
record class. -
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 TypeMethodDescriptionboolean
private static BlockPos
SpawnHelper.getRandomPosInChunkSection
(World world, WorldChunk chunk) 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, DynamicRegistryManager registryManager, RegistryEntry<DimensionType> dimensionEntry, Supplier<Profiler> profiler, boolean isClient, boolean debugWorld, long biomeAccess, 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
Modifier and TypeMethodDescriptionprivate static boolean
Vibrations.Ticker.areChunksTickingAround
(World world, BlockPos pos) private void
EntityPositionSource.findEntityInWorld
(World world) private static boolean
Vibrations.VibrationListener.isOccluded
(World world, Vec3d emitterPos, Vec3d listenerPos) static void
Vibrations.Ticker.tick
(World world, Vibrations.ListenerData listenerData, Vibrations.Callback callback) -
Uses of World in net.minecraft.world.explosion
Modifier and TypeMethodDescriptionstatic DamageSource
Explosion.createDamageSource
(World world, @Nullable Entity source) 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.DestructionType destructionType, ParticleEffect particle, ParticleEffect emitterParticle, RegistryEntry<SoundEvent> soundEvent) 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, ParticleEffect particle, ParticleEffect emitterParticle, RegistryEntry<SoundEvent> soundEvent) -
Uses of World in net.minecraft.world.level.storage
-
Uses of World in net.minecraft.world.storage
Modifier and TypeFieldDescriptionprivate final RegistryKey
<World> StorageKey.dimension
The field for thedimension
record component.Modifier and TypeMethodDescriptionStorageKey.dimension()
Returns the value of thedimension
record component.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.MapCodec<? extends ChunkGenerator>>> generatorCodecKey) VersionedChunkStorage.updateChunkNbt
(RegistryKey<World> worldKey, Supplier<PersistentStateManager> persistentStateManagerFactory, NbtCompound nbt, Optional<RegistryKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> generatorCodecKey) ModifierConstructorDescriptionStorageKey
(String string, RegistryKey<World> registryKey, String string2) -
Uses of World in net.minecraft.world.updater
Modifier and TypeFieldDescriptionprivate final RegistryKey
<World> WorldUpdater.WorldData.dimensionKey
The field for thedimensionKey
record component.(package private) final Reference2FloatMap
<RegistryKey<World>> WorldUpdater.dimensionProgress
(package private) final Set
<RegistryKey<World>> WorldUpdater.worldKeys
Modifier and TypeMethodDescriptionWorldUpdater.WorldData.dimensionKey()
Returns the value of thedimensionKey
record component.WorldUpdater.getWorlds()
Modifier and TypeMethodDescriptionfloat
WorldUpdater.getProgress
(RegistryKey<World> world) protected boolean
WorldUpdater.ChunkPosKeyedStorageUpdate.update
(ChunkPosKeyedStorage chunkPosKeyedStorage, ChunkPos chunkPos, RegistryKey<World> registryKey) protected boolean
WorldUpdater.RegionUpdate.update
(VersionedChunkStorage versionedChunkStorage, ChunkPos chunkPos, RegistryKey<World> registryKey) private boolean
WorldUpdater.Update.update
(RegistryKey<World> worldKey, T storage, ChunkPos chunkPos) protected abstract boolean
WorldUpdater.Update.update
(T storage, ChunkPos chunkPos, RegistryKey<World> worldKey) ModifierConstructorDescription(package private)
WorldData
(RegistryKey<World> registryKey, T t, ListIterator<WorldUpdater.Region> listIterator)