Uses of Class
net.minecraft.world.World
Packages that use 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
Fields in net.minecraft.advancement.criterion with type parameters of type WorldModifier and TypeFieldDescriptionprivate final @Nullable RegistryKey<World>ChangedDimensionCriterion.Conditions.fromprivate final @Nullable RegistryKey<World>ChangedDimensionCriterion.Conditions.toMethod parameters in net.minecraft.advancement.criterion with type arguments of type WorldModifier and TypeMethodDescriptionChangedDimensionCriterion.Conditions.create(RegistryKey<World> from, RegistryKey<World> to) ChangedDimensionCriterion.Conditions.from(RegistryKey<World> from) booleanChangedDimensionCriterion.Conditions.matches(RegistryKey<World> from, RegistryKey<World> to) ChangedDimensionCriterion.Conditions.to(RegistryKey<World> to) voidChangedDimensionCriterion.trigger(ServerPlayerEntity player, RegistryKey<World> from, RegistryKey<World> to) Constructor parameters in net.minecraft.advancement.criterion with type arguments of type WorldModifierConstructorDescriptionConditions(LootContextPredicate player, @Nullable RegistryKey<World> from, @Nullable RegistryKey<World> to) -
Uses of World in net.minecraft.block
Fields in net.minecraft.block declared as WorldMethods in net.minecraft.block with parameters of type WorldModifier and TypeMethodDescriptionprivate booleanSpongeBlock.absorbWater(World world, BlockPos pos) private voidHoneyBlock.addCollisionEffects(World world, Entity entity) private voidBeehiveBlock.addHoneyParticle(World world, double minX, double maxX, double minZ, double maxZ, double height) private voidBeehiveBlock.addHoneyParticle(World world, BlockPos pos, VoxelShape shape, double height) private voidRedstoneWireBlock.addPoweredParticles(World world, Random random, BlockPos pos, Vec3d color, Direction direction, Direction direction2, float float2, float float3) voidBeehiveBlock.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.voidBlock.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.voidIceBlock.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.voidTallPlantBlock.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.voidTurtleEggBlock.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 voidBeehiveBlock.angerNearbyBees(World world, BlockPos pos) voidCropBlock.applyGrowth(World world, BlockPos pos, BlockState state) private voidTurtleEggBlock.breakEgg(World world, BlockPos pos, BlockState state) static voidCarvedPumpkinBlock.breakPatternBlocks(World world, BlockPattern.Result patternResult) private booleanprivate voidFrogspawnBlock.breakWithoutDrop(World world, BlockPos pos) private intComparatorBlock.calculateOutputSignal(World world, BlockPos pos, BlockState state) static booleanEnchantingTableBlock.canAccessPowerProvider(World world, BlockPos tablePos, BlockPos providerOffset) static booleanWitherSkullBlock.canDispense(World world, BlockPos pos, ItemStack stack) protected static booleanCauldronBlock.canFillWithPrecipitation(World world, Biome.Precipitation precipitation) booleanAbstractPlantBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanAbstractPlantStemBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanAzaleaBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanBambooBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanBambooSaplingBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanBigDripleafBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanBigDripleafStemBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanCaveVinesBodyBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanCaveVinesHeadBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanCocoaBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanCropBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanFernBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanFertilizable.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanFlowerbedBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanFungusBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanGlowLichenBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanGrassBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanMangroveLeavesBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanMossBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanMushroomPlantBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanNetherrackBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanNyliumBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanPitcherCropBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanPropaguleBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanRootedDirtBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanSaplingBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanSeagrassBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanSeaPickleBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanSmallDripleafBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanStemBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanSweetBerryBushBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanTallFlowerBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) private static booleanShulkerBoxBlock.canOpen(BlockState state, World world, BlockPos pos, ShulkerBoxBlockEntity entity) static booleanDoorBlock.canOpenByHand(World world, BlockPos pos) static booleanAbstractFireBlock.canPlaceAt(World world, BlockPos pos, Direction direction) private static voidBigDripleafBlock.changeTilt(BlockState state, World world, BlockPos pos, Tilt tilt) private voidBigDripleafBlock.changeTilt(BlockState state, World world, BlockPos pos, Tilt tilt, @Nullable SoundEvent sound) static voidprotected static <T extends BlockEntity>
@Nullable BlockEntityTicker<T>AbstractFurnaceBlock.checkType(World world, BlockEntityType<T> givenType, BlockEntityType<? extends AbstractFurnaceBlockEntity> expectedType) static voidPointedDripstoneBlock.createParticle(World world, BlockPos pos, BlockState state) private static voidPointedDripstoneBlock.createParticle(World world, BlockPos pos, BlockState state, Fluid fluid) AbstractBlock.AbstractBlockState.createScreenHandlerFactory(World world, BlockPos pos) AbstractBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Deprecated.AnvilBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.BlockWithEntity.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.CartographyTableBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.ChestBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.CraftingTableBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.EnchantingTableBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.GrindstoneBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.LecternBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.LoomBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.SmithingTableBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.StonecutterBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.static voidLeveledCauldronBlock.decrementFluidLevel(BlockState state, World world, BlockPos pos) private voidprivate voidLecternBlock.dropBook(BlockState state, World world, BlockPos pos) static voidBeehiveBlock.dropHoneycomb(World world, BlockPos pos) private static voidBlock.dropStack(World world, Supplier<ItemEntity> itemEntitySupplier, ItemStack stack) static voidstatic voidstatic voidBlock.dropStacks(BlockState state, World world, BlockPos pos) static voidBlock.dropStacks(BlockState state, World world, BlockPos pos, @Nullable BlockEntity blockEntity, Entity entity, ItemStack tool) static BlockStateComposterBlock.emptyFullComposter(Entity user, BlockState state, World world, BlockPos pos) private voidCommandBlock.execute(BlockState state, World world, BlockPos pos, CommandBlockExecutor executor, boolean hasCommand) private static voidCommandBlock.executeCommandChain(World world, BlockPos pos, Direction facing) private voidRespawnAnchorBlock.explode(BlockState state, World world, BlockPos explodedPos) protected voidAbstractCauldronBlock.fillFromDripstone(BlockState state, World world, BlockPos pos, Fluid fluid) Fills a cauldron with one level of the specified fluid if possible.protected voidCauldronBlock.fillFromDripstone(BlockState state, World world, BlockPos pos, Fluid fluid) Fills a cauldron with one level of the specified fluid if possible.protected voidLeveledCauldronBlock.fillFromDripstone(BlockState state, World world, BlockPos pos, Fluid fluid) Fills a cauldron with one level of the specified fluid if possible.private @Nullable ItemFrameEntityComparatorBlock.getAttachedItemFrame(World world, Direction facing, BlockPos pos) abstract DoubleBlockProperties.PropertySource<? extends ChestBlockEntity>AbstractChestBlock.getBlockEntitySource(BlockState state, World world, BlockPos pos, boolean ignoreBlocked) ChestBlock.getBlockEntitySource(BlockState state, World world, BlockPos pos, boolean ignoreBlocked) EnderChestBlock.getBlockEntitySource(BlockState state, World world, BlockPos pos, boolean ignoreBlocked) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>AbstractBlock.AbstractBlockState.getBlockEntityTicker(World world, BlockEntityType<T> blockEntityType) private <T extends AbstractMinecartEntity>
List<T>DetectorRailBlock.getCarts(World world, BlockPos pos, Class<T> entityClass, Predicate<Entity> entityPredicate) PointedDripstoneBlock.getCauldronPos(World world, BlockPos pos, Fluid fluid) intAbstractBlock.AbstractBlockState.getComparatorOutput(World world, BlockPos pos) intAbstractBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Deprecated.intAbstractFurnaceBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.intBarrelBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.intBeehiveBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.intBrewingStandBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.intCakeBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.intCandleCakeBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.intChestBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.intChiseledBookshelfBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.intCommandBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.intComposterBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.intDetectorRailBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.intDispenserBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.intEndPortalFrameBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.intHopperBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.intJukeboxBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.intLavaCauldronBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.intLecternBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.intLeveledCauldronBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.intRespawnAnchorBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.intSculkSensorBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.intShulkerBoxBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.private @Nullable IdentifierNoteBlock.getCustomSound(World world, BlockPos pos) private static FluidPointedDripstoneBlock.getDripFluid(World world, Fluid fluid) PointedDripstoneBlock.getDripPos(World world, BlockPos pos) private static Optional<PointedDripstoneBlock.DrippingFluid>PointedDripstoneBlock.getFluid(World world, BlockPos pos, BlockState state) protected intBeetrootsBlock.getGrowthAmount(World world) protected intCropBlock.getGrowthAmount(World world) protected intTorchflowerBlock.getGrowthAmount(World world) ChestBlock.getInventory(ChestBlock block, BlockState state, World world, BlockPos pos, boolean ignoreBlocked) protected intAbstractRedstoneGateBlock.getPower(World world, BlockPos pos, BlockState state) protected intComparatorBlock.getPower(World world, BlockPos pos, BlockState state) private intRedstoneWireBlock.getReceivedRedstonePower(World world, BlockPos pos) protected abstract intAbstractPressurePlateBlock.getRedstoneOutput(World world, BlockPos pos) protected intPressurePlateBlock.getRedstoneOutput(World world, BlockPos pos) protected intWeightedPressurePlateBlock.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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif 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, ornullif the block entity does not need to be ticked.protected voidprivate voidprivate booleanprotected booleanAbstractRedstoneGateBlock.hasPower(World world, BlockPos pos, BlockState state) protected booleanComparatorBlock.hasPower(World world, BlockPos pos, BlockState state) private static booleanRespawnAnchorBlock.hasStillWater(BlockPos pos, World world) private booleanFrostedIceBlock.increaseAge(BlockState state, World world, BlockPos pos) static booleanBedBlock.isBedWorking(World world) Returns whether the world's dimension type allows beds to be respawned at and slept in without exploding.private static booleanRedstoneTorchBlock.isBurnedOut(World world, BlockPos pos, boolean addNew) static booleanCampfireBlock.isLitCampfireInRange(World world, BlockPos pos) static booleanPistonBlock.isMovable(BlockState state, World world, BlockPos pos, Direction direction, boolean canBreak, Direction pistonDir) static booleanprivate static booleanAbstractFireBlock.isOverworldOrNether(World world) protected booleanPoweredRailBlock.isPoweredByOtherRails(World world, BlockPos pos, boolean bool, int distance, RailShape shape) protected booleanPoweredRailBlock.isPoweredByOtherRails(World world, BlockPos pos, BlockState state, boolean bool, int distance) static booleanprotected booleanFireBlock.isRainingAround(World world, BlockPos pos) private static voidRedstoneOreBlock.light(BlockState state, World world, BlockPos pos) protected voidIceBlock.melt(BlockState state, World world, BlockPos pos) private booleanvoidAbstractBlock.AbstractBlockState.neighborUpdate(World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Deprecated.voidAbstractBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidAbstractRailBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.voidAbstractRedstoneGateBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.voidBellBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.voidBigDripleafBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.voidCommandBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.voidDispenserBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.voidDoorBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.voidFenceGateBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.voidFluidBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.voidFrostedIceBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.voidHopperBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.voidNoteBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.voidPistonBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.voidPistonHeadBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.voidRedstoneLampBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.voidRedstoneTorchBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.voidRedstoneWireBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.voidSpongeBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.voidStructureBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.voidTntBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.voidTrapdoorBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Called when a neighboring block is updated.voidAbstractBlock.AbstractBlockState.onBlockAdded(World world, BlockPos pos, BlockState state, boolean notify) voidAbstractBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Deprecated.voidAbstractFireBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidAbstractRailBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidAbstractRedstoneGateBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidBrushableBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidCarvedPumpkinBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidComposterBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidCoralBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidCoralFanBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidCoralWallFanBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidDetectorRailBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidFallingBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidFireBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidFluidBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidFrogspawnBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidHopperBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidLightningRodBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidMagmaBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidObserverBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidPistonBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidRedstoneTorchBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidRedstoneWireBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidScaffoldingBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidSculkSensorBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidSnifferEggBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidSoulSandBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidSpongeBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidStairsBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidTargetBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidTntBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidTripwireBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidTurtleEggBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidWetSpongeBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.voidAbstractBlock.AbstractBlockState.onBlockBreakStart(World world, BlockPos pos, PlayerEntity player) voidAbstractBlock.onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player) voidDragonEggBlock.onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player) Called when a player starts breaking the block (including when instant-mining).voidNoteBlock.onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player) Called when a player starts breaking the block (including when instant-mining).voidRedstoneOreBlock.onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player) Called when a player starts breaking the block (including when instant-mining).voidStairsBlock.onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player) Called when a player starts breaking the block (including when instant-mining).voidAbstractFireBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.voidBedBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.voidBeehiveBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.voidBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.voidDecoratedPotBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.voidDoorBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.voidPistonHeadBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.voidShulkerBoxBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.voidTallPlantBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.voidTntBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.voidTripwireBlock.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 voidTallPlantBlock.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.voidBlock.onDestroyedByExplosion(World world, BlockPos pos, Explosion explosion) Called when this block is destroyed by an explosion.voidStairsBlock.onDestroyedByExplosion(World world, BlockPos pos, Explosion explosion) Called when this block is destroyed by an explosion.voidTntBlock.onDestroyedByExplosion(World world, BlockPos pos, Explosion explosion) Called when this block is destroyed by an explosion.voidAnvilBlock.onDestroyedOnLanding(World world, BlockPos pos, FallingBlockEntity fallingBlockEntity) voidBrushableBlock.onDestroyedOnLanding(World world, BlockPos pos, FallingBlockEntity fallingBlockEntity) default voidLandingBlock.onDestroyedOnLanding(World world, BlockPos pos, FallingBlockEntity fallingBlockEntity) voidPointedDripstoneBlock.onDestroyedOnLanding(World world, BlockPos pos, FallingBlockEntity fallingBlockEntity) voidAbstractBlock.AbstractBlockState.onEntityCollision(World world, BlockPos pos, Entity entity) voidAbstractBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Deprecated.voidAbstractFireBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.voidAbstractPressurePlateBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.voidBigDripleafBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.voidBubbleColumnBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.voidButtonBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.voidCactusBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.voidCampfireBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.voidCobwebBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.voidCropBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.voidDetectorRailBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.voidEndPortalBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.voidFrogspawnBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.voidHoneyBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.voidHopperBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.voidLavaCauldronBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.voidLeveledCauldronBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.voidLilyPadBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.voidNetherPortalBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.voidPitcherCropBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.voidPowderSnowBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.voidSweetBerryBushBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.voidTripwireBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.voidWitherRoseBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.protected voidLeveledCauldronBlock.onFireCollision(BlockState state, World world, BlockPos pos) protected voidPowderSnowCauldronBlock.onFireCollision(BlockState state, World world, BlockPos pos) voidBedBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.voidBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.voidFarmlandBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.voidHayBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.voidHoneyBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.voidPointedDripstoneBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.voidPowderSnowBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.voidSlimeBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.voidTurtleEggBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.voidAnvilBlock.onLanding(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity) voidConcretePowderBlock.onLanding(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity) default voidLandingBlock.onLanding(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity) voidAbstractBannerBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidAbstractFurnaceBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidAbstractRedstoneGateBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidBarrelBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidBeaconBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidBedBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidBrewingStandBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidChestBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidCommandBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidConduitBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidDispenserBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidDoorBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidEnchantingTableBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidHopperBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidJukeboxBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidPistonBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidPitcherCropBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidPlayerSkullBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidShulkerBoxBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidSmallDripleafBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidStructureBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidTallPlantBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidTripwireHookBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidWallPlayerSkullBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidWallWitherSkullBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidWitherSkullBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.static voidWitherSkullBlock.onPlaced(World world, BlockPos pos, SkullBlockEntity blockEntity) voidAbstractBlock.AbstractBlockState.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) voidAbstractBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) voidAbstractCandleBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.voidAmethystBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.voidBellBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.voidBigDripleafBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.voidCampfireBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.voidChorusFlowerBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.voidLightningRodBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.voidPointedDripstoneBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.voidTargetBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.voidTntBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.voidAbstractBlock.AbstractBlockState.onStateReplaced(World world, BlockPos pos, BlockState state, boolean moved) voidAbstractBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Deprecated.voidAbstractFurnaceBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.voidAbstractPressurePlateBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.voidAbstractRailBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.voidAbstractRedstoneGateBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.voidBarrelBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.voidBrewingStandBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.voidButtonBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.voidCampfireBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.voidChestBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.voidChiseledBookshelfBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.voidDispenserBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.voidHopperBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.voidJukeboxBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.voidLecternBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.voidLeverBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.voidLightningRodBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.voidObserverBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.voidPistonExtensionBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.voidPistonHeadBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.voidRedstoneTorchBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.voidRedstoneWireBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.voidSculkSensorBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.voidSculkShriekerBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.voidShulkerBoxBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.voidStairsBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.voidTripwireBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.voidTripwireHookBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.voidBlock.onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.voidMagmaBlock.onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.voidRedstoneOreBlock.onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.voidSculkSensorBlock.onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.voidSculkShriekerBlock.onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.voidSlimeBlock.onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.voidStairsBlock.onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.voidTurtleEggBlock.onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.booleanAbstractBlock.AbstractBlockState.onSyncedBlockEvent(World world, BlockPos pos, int type, int data) booleanAbstractBlock.onSyncedBlockEvent(BlockState state, World world, BlockPos pos, int type, int data) Deprecated.booleanBlockWithEntity.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.booleanComparatorBlock.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.booleanNoteBlock.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.booleanPistonBlock.onSyncedBlockEvent(BlockState state, World world, BlockPos pos, int type, int data) Handles the block event, which is an event specific to a block with an integer ID and data.AbstractBlock.AbstractBlockState.onUse(World world, PlayerEntity player, Hand hand, BlockHitResult hit) AbstractBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) AbstractCauldronBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.AbstractFurnaceBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.AbstractSignBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.AnvilBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BarrelBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BeaconBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BedBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BeehiveBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BellBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BrewingStandBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ButtonBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CakeBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CampfireBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CandleBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CandleCakeBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CartographyTableBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CaveVinesBodyBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CaveVinesHeadBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ChestBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ChiseledBookshelfBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CommandBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ComparatorBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ComposterBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CraftingTableBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.DaylightDetectorBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.DispenserBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.DoorBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.DragonEggBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.EnchantingTableBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.EnderChestBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.FenceBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.FenceGateBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.FletchingTableBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.FlowerPotBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.GrindstoneBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.HangingSignBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.HopperBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.JigsawBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.JukeboxBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.LecternBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.LeverBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.LightBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.LoomBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.NoteBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.PistonExtensionBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.PumpkinBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.RedstoneOreBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.RedstoneWireBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.RepeaterBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.RespawnAnchorBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ShulkerBoxBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.SmithingTableBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.StairsBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.StonecutterBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.StructureBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.SweetBerryBushBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.TntBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.TrapdoorBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.WallHangingSignBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.protected abstract voidAbstractFurnaceBlock.openScreen(World world, BlockPos pos, PlayerEntity player) protected voidBlastFurnaceBlock.openScreen(World world, BlockPos pos, PlayerEntity player) protected voidFurnaceBlock.openScreen(World world, BlockPos pos, PlayerEntity player) private voidLecternBlock.openScreen(World world, BlockPos pos, PlayerEntity player) protected voidSmokerBlock.openScreen(World world, BlockPos pos, PlayerEntity player) static ActionResultCaveVines.pickBerries(@Nullable Entity picker, BlockState state, World world, BlockPos pos) static voidComposterBlock.playEffects(World world, BlockPos pos, boolean fill) private voidprivate voidDoorBlock.playOpenCloseSound(@Nullable Entity entity, World world, BlockPos pos, boolean open) private voidTripwireHookBlock.playSound(World world, BlockPos pos, boolean attached, boolean on, boolean detached, boolean off) private static voidBigDripleafBlock.playTiltSound(World world, BlockPos pos, SoundEvent soundEvent) protected voidTrapdoorBlock.playToggleSound(@Nullable PlayerEntity player, World world, BlockPos pos, boolean open) voidButtonBlock.powerOn(BlockState state, World world, BlockPos pos) voidBlock.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.voidCauldronBlock.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.voidLeveledCauldronBlock.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 voidprivate static voidTntBlock.primeTnt(World world, BlockPos pos, @Nullable LivingEntity igniter) private static voidLecternBlock.putBook(@Nullable Entity user, World world, BlockPos pos, BlockState state, ItemStack stack) static booleanLecternBlock.putBookIfAbsent(@Nullable Entity user, World world, BlockPos pos, BlockState state, ItemStack stack) voidAbstractCandleBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidAbstractFireBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidBeehiveBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidBlastFurnaceBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidBrewingStandBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidBrushableBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidBubbleColumnBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidCampfireBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidCherryLeavesBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidCryingObsidianBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidEnchantingTableBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidEnderChestBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidEndGatewayBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidEndPortalBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidEndRodBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidFallingBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidFurnaceBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidLeavesBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidLeverBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidLightningRodBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidMyceliumBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidNetherPortalBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidPointedDripstoneBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidRedstoneOreBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidRedstoneTorchBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidRedstoneWireBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidRepeaterBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidRespawnAnchorBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidSculkSensorBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidSmokerBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidSporeBlossomBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidStairsBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidTorchBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidWallRedstoneTorchBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidWallTorchBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidWetSpongeBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.voidWitherRoseBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.private booleanFluidBlock.receiveNeighborFluids(World world, BlockPos pos, BlockState state) private static voidBigDripleafBlock.resetTilt(BlockState state, World world, BlockPos pos) booleanbooleanBellBlock.ring(World world, BlockState state, BlockHitResult hitResult, @Nullable PlayerEntity player, boolean checkHitPos) booleanvoidSculkSensorBlock.setActive(@Nullable Entity sourceEntity, World world, BlockPos pos, BlockState state, int power, int frequency) static voidSculkSensorBlock.setCooldown(World world, BlockPos pos, BlockState state) static voidLecternBlock.setHasBook(@Nullable Entity user, World world, BlockPos pos, BlockState state, boolean hasBook) voidDoorBlock.setOpen(@Nullable Entity entity, World world, BlockState state, BlockPos pos, boolean open) static voidLecternBlock.setPowered(World world, BlockPos pos, BlockState state) private static voidLecternBlock.setPowered(World world, BlockPos pos, BlockState state, boolean powered) voidLightningRodBlock.setPowered(BlockState state, World world, BlockPos pos) static voidprivate static booleanAbstractRailBlock.shouldDropRail(BlockPos pos, World world, RailShape shape) Checks if this rail should be dropped.private booleanTurtleEggBlock.shouldHatchProgress(World world) private static booleanAbstractFireBlock.shouldLightPortalAt(World world, BlockPos pos, Direction direction) protected booleanRedstoneTorchBlock.shouldUnpower(World world, BlockPos pos, BlockState state) protected booleanWallRedstoneTorchBlock.shouldUnpower(World world, BlockPos pos, BlockState state) protected voidAbstractFireBlock.spawnBreakParticles(World world, PlayerEntity player, BlockPos pos, BlockState state) protected voidBlock.spawnBreakParticles(World world, PlayerEntity player, BlockPos pos, BlockState state) private static voidAbstractCandleBlock.spawnCandleParticles(World world, Vec3d vec3d, Random random) private static voidCarvedPumpkinBlock.spawnEntity(World world, BlockPattern.Result patternResult, Entity entity, BlockPos pos) private voidBeehiveBlock.spawnHoneyParticles(World world, BlockPos pos, BlockState state) private static voidRedstoneOreBlock.spawnParticles(World world, BlockPos pos) static voidCampfireBlock.spawnSmokeParticle(World world, BlockPos pos, boolean isSignal, boolean lotsOfSmoke) voidBeehiveBlock.takeHoney(World world, BlockState state, BlockPos pos) voidBeehiveBlock.takeHoney(World world, BlockState state, BlockPos pos, @Nullable PlayerEntity player, BeehiveBlockEntity.BeeState beeState) private voidDragonEggBlock.teleport(BlockState state, World world, BlockPos pos) private static voidDaylightDetectorBlock.tick(World world, BlockPos pos, BlockState state, DaylightDetectorBlockEntity blockEntity) LeverBlock.togglePower(BlockState state, World world, BlockPos pos) private static voidChiseledBookshelfBlock.tryAddBook(World world, BlockPos pos, PlayerEntity player, ChiseledBookshelfBlockEntity blockEntity, ItemStack stack, int slot) private voidTurtleEggBlock.tryBreakEgg(World world, BlockState state, BlockPos pos, Entity entity, int inverseChance) private voidPistonBlock.tryMove(World world, BlockPos pos, BlockState state) protected voidButtonBlock.tryPowerWithProjectiles(BlockState state, World world, BlockPos pos) private static voidChiseledBookshelfBlock.tryRemoveBook(World world, BlockPos pos, PlayerEntity player, ChiseledBookshelfBlockEntity blockEntity, int slot) static voidSculkSensorBlock.tryResonate(@Nullable Entity sourceEntity, World world, BlockPos pos, int frequency) private voidCarvedPumpkinBlock.trySpawnEntity(World world, BlockPos pos) private voidFireBlock.trySpreadingFire(World world, BlockPos pos, int spreadFactor, Random random, int currentAge) private voidComparatorBlock.update(World world, BlockPos pos, BlockState state) private voidRedstoneWireBlock.update(World world, BlockPos pos, BlockState state) protected voidprivate voidTripwireBlock.update(World world, BlockPos pos, BlockState state) voidTripwireHookBlock.update(World world, BlockPos pos, BlockState state, boolean beingRemoved, boolean bool, int int2, @Nullable BlockState blockState) protected voidAbstractRailBlock.updateBlockState(BlockState state, World world, BlockPos pos, Block neighbor) protected BlockStateAbstractRailBlock.updateBlockState(World world, BlockPos pos, BlockState state, boolean forceUpdate) protected voidPoweredRailBlock.updateBlockState(BlockState state, World world, BlockPos pos, Block neighbor) protected voidRailBlock.updateBlockState(BlockState state, World world, BlockPos pos, Block neighbor) protected BlockStateAbstractRailBlock.updateCurves(BlockState state, World world, BlockPos pos, boolean notify) private voidHopperBlock.updateEnabled(World world, BlockPos pos, BlockState state, int flags) private voidRedstoneWireBlock.updateForNewState(World world, BlockPos pos, BlockState oldState, BlockState newState) protected voidBambooBlock.updateLeaves(BlockState state, World world, BlockPos pos, Random random, int height) protected voidDetectorRailBlock.updateNearbyRails(World world, BlockPos pos, BlockState state, boolean unpowering) private static voidLecternBlock.updateNeighborAlways(World world, BlockPos pos, BlockState state) protected voidAbstractPressurePlateBlock.updateNeighbors(World world, BlockPos pos) private voidButtonBlock.updateNeighbors(BlockState state, World world, BlockPos pos) private voidLeverBlock.updateNeighbors(BlockState state, World world, BlockPos pos) private voidLightningRodBlock.updateNeighbors(BlockState state, World world, BlockPos pos) protected voidObserverBlock.updateNeighbors(World world, BlockPos pos, BlockState state) private voidRedstoneWireBlock.updateNeighbors(World world, BlockPos pos) private static voidSculkSensorBlock.updateNeighbors(World world, BlockPos pos, BlockState state) private voidTripwireHookBlock.updateNeighborsOnAxis(World world, BlockPos pos, Direction direction) private voidRedstoneWireBlock.updateOffsetNeighbors(World world, BlockPos pos) static voidCarvedPumpkinBlock.updatePatternBlocks(World world, BlockPattern.Result patternResult) private voidAbstractPressurePlateBlock.updatePlateState(@Nullable Entity entity, World world, BlockPos pos, BlockState state, int output) protected voidAbstractRedstoneGateBlock.updatePowered(World world, BlockPos pos, BlockState state) protected voidComparatorBlock.updatePowered(World world, BlockPos pos, BlockState state) private voidTripwireBlock.updatePowered(World world, BlockPos pos) private voidDetectorRailBlock.updatePoweredStatus(World world, BlockPos pos, BlockState state) private static voidDaylightDetectorBlock.updateState(BlockState state, World world, BlockPos pos) protected voidAbstractRedstoneGateBlock.updateTarget(World world, BlockPos pos, BlockState state) private booleanBedBlock.wakeVillager(World world, BlockPos pos) Wakes up a sleeping villager atpos, if any.Constructors in net.minecraft.block with parameters of type World -
Uses of World in net.minecraft.block.cauldron
Methods in net.minecraft.block.cauldron with parameters of type WorldModifier and TypeMethodDescriptionstatic ActionResultCauldronBehavior.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 ActionResultCauldronBehavior.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
Methods in net.minecraft.block.dispenser with parameters of type WorldModifier and TypeMethodDescriptionprotected abstract ProjectileEntityProjectileDispenserBehavior.createProjectile(World world, Position position, ItemStack stack) Creates the entity that will be spawned in front of the dispenser.static voidItemDispenserBehavior.spawnItem(World world, ItemStack stack, int speed, Direction side, Position pos) -
Uses of World in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as WorldMethods in net.minecraft.block.entity that return WorldModifier and TypeMethodDescriptionBlockEntity.getWorld()Returns the world the block entity belongs to.Methods in net.minecraft.block.entity with parameters of type WorldModifier and TypeMethodDescriptionprivate static voidBellBlockEntity.applyGlowToRaiders(World world, BlockPos pos, List<LivingEntity> hearingEntities) private static voidBellBlockEntity.applyParticlesToRaiders(World world, BlockPos pos, List<LivingEntity> hearingEntities) SpawnsParticleTypes.ENTITY_EFFECTparticles around raiders within 48 blocks.private static voidBeaconBlockEntity.applyPlayerEffects(World world, BlockPos pos, int beaconLevel, @Nullable StatusEffect primaryEffect, @Nullable StatusEffect secondaryEffect) private static voidConduitBlockEntity.attackHostileEntity(World world, BlockPos pos, BlockState state, List<BlockPos> activatingBlocks, ConduitBlockEntity blockEntity) static voidBellBlockEntity.clientTick(World world, BlockPos pos, BlockState state, BellBlockEntity blockEntity) static voidCampfireBlockEntity.clientTick(World world, BlockPos pos, BlockState state, CampfireBlockEntity campfire) static voidChestBlockEntity.clientTick(World world, BlockPos pos, BlockState state, ChestBlockEntity blockEntity) static voidConduitBlockEntity.clientTick(World world, BlockPos pos, BlockState state, ConduitBlockEntity blockEntity) static voidEnderChestBlockEntity.clientTick(World world, BlockPos pos, BlockState state, EnderChestBlockEntity blockEntity) static voidEndGatewayBlockEntity.clientTick(World world, BlockPos pos, BlockState state, EndGatewayBlockEntity blockEntity) static voidMobSpawnerBlockEntity.clientTick(World world, BlockPos pos, BlockState state, MobSpawnerBlockEntity blockEntity) voidViewerCountManager.closeContainer(PlayerEntity player, World world, BlockPos pos, BlockState state) private static voidBrewingStandBlockEntity.craft(World world, BlockPos pos, DefaultedList<ItemStack> slots) private static ServerCommandSourceSignBlockEntity.createCommandSource(@Nullable PlayerEntity player, World world, BlockPos pos) static booleanprivate static BlockPosEndGatewayBlockEntity.findBestPortalExitPos(World world, BlockPos pos) private static @Nullable LivingEntityConduitBlockEntity.findTargetEntity(World world, BlockPos pos, UUID uuid) private intCalibratedSculkSensorBlockEntity.Callback.getCalibrationFrequency(World world, BlockPos pos, BlockState state) private static WorldChunkprivate static intAbstractFurnaceBlockEntity.getCookTime(World world, AbstractFurnaceBlockEntity furnace) HopperBlockEntity.getInputInventory(World world, Hopper hopper) static List<ItemEntity>HopperBlockEntity.getInputItemEntities(World world, Hopper hopper) private intViewerCountManager.getInRangeViewerCount(World world, BlockPos pos) HopperBlockEntity.getInventoryAt(World world, double x, double y, double z) HopperBlockEntity.getInventoryAt(World world, BlockPos pos) HopperBlockEntity.getOutputInventory(World world, BlockPos pos, BlockState state) private static voidConduitBlockEntity.givePlayersEffects(World world, BlockPos pos, List<BlockPos> activatingBlocks) private static booleanHopperBlockEntity.insert(World world, BlockPos pos, BlockState state, Inventory inventory) private static booleanHopperBlockEntity.insertAndExtract(World world, BlockPos pos, BlockState state, HopperBlockEntity blockEntity, BooleanSupplier booleanSupplier) static voidCampfireBlockEntity.litServerTick(World world, BlockPos pos, BlockState state, CampfireBlockEntity campfire) protected static voidBlockEntity.markDirty(World world, BlockPos pos, BlockState state) private static voidPistonBlockEntity.moveEntitiesInHoneyBlock(World world, BlockPos pos, float float2, PistonBlockEntity blockEntity) protected abstract voidViewerCountManager.onContainerClose(World world, BlockPos pos, BlockState state) Run when this container closes (when the viewer count reaches zero).protected abstract voidViewerCountManager.onContainerOpen(World world, BlockPos pos, BlockState state) Run when this container is opened (when the viewer count becomes nonzero).static voidHopperBlockEntity.onEntityCollided(World world, BlockPos pos, BlockState state, Entity entity, HopperBlockEntity blockEntity) protected voidChestBlockEntity.onViewerCountUpdate(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount) protected voidTrappedChestBlockEntity.onViewerCountUpdate(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount) protected abstract voidViewerCountManager.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.voidViewerCountManager.openContainer(PlayerEntity player, World world, BlockPos pos, BlockState state) static voidBeaconBlockEntity.playSound(World world, BlockPos pos, SoundEvent sound) (package private) static voidChestBlockEntity.playSound(World world, BlockPos pos, BlockState state, SoundEvent soundEvent) private voidSculkShriekerBlockEntity.playWarningSound(World world) private static voidPistonBlockEntity.pushEntities(World world, BlockPos pos, float float2, PistonBlockEntity blockEntity) private voidShulkerBoxBlockEntity.pushEntities(World world, BlockPos pos, BlockState state) private static booleanBeehiveBlockEntity.releaseBee(World world, BlockPos pos, BlockState state, BeehiveBlockEntity.Bee bee, @Nullable List<Entity> entities, BeehiveBlockEntity.BeeState beeState, @Nullable BlockPos flowerPos) voidBellBlockEntity.Effect.run(World world, BlockPos pos, List<LivingEntity> hearingEntities) booleanSignBlockEntity.runCommandClickEvent(PlayerEntity player, World world, BlockPos pos, boolean front) private static voidViewerCountManager.scheduleBlockTick(World world, BlockPos pos, BlockState state) static voidBeehiveBlockEntity.serverTick(World world, BlockPos pos, BlockState state, BeehiveBlockEntity blockEntity) static voidBellBlockEntity.serverTick(World world, BlockPos pos, BlockState state, BellBlockEntity blockEntity) static voidConduitBlockEntity.serverTick(World world, BlockPos pos, BlockState state, ConduitBlockEntity blockEntity) static voidEndGatewayBlockEntity.serverTick(World world, BlockPos pos, BlockState state, EndGatewayBlockEntity blockEntity) static voidHopperBlockEntity.serverTick(World world, BlockPos pos, BlockState state, HopperBlockEntity blockEntity) static voidMobSpawnerBlockEntity.serverTick(World world, BlockPos pos, BlockState state, MobSpawnerBlockEntity blockEntity) voidSets the world the block entity belongs to.voidSets the world the block entity belongs to.voidSets the world the block entity belongs to.private static voidConduitBlockEntity.spawnNautilusParticles(World world, BlockPos pos, List<BlockPos> activatingBlocks, @Nullable Entity entity, int ticks) private voidJukeboxBlockEntity.spawnNoteParticle(World world, BlockPos pos) private static voidEndGatewayBlockEntity.startTeleportCooldown(World world, BlockPos pos, BlockState state, EndGatewayBlockEntity blockEntity) static voidAbstractFurnaceBlockEntity.tick(World world, BlockPos pos, BlockState state, AbstractFurnaceBlockEntity blockEntity) static voidBeaconBlockEntity.tick(World world, BlockPos pos, BlockState state, BeaconBlockEntity blockEntity) private static voidBellBlockEntity.tick(World world, BlockPos pos, BlockState state, BellBlockEntity blockEntity, BellBlockEntity.Effect bellEffect) voidBlockEntityTicker.tick(World world, BlockPos pos, BlockState state, T blockEntity) Ticks the block entity.static voidBrewingStandBlockEntity.tick(World world, BlockPos pos, BlockState state, BrewingStandBlockEntity blockEntity) static voidEnchantingTableBlockEntity.tick(World world, BlockPos pos, BlockState state, EnchantingTableBlockEntity blockEntity) private voidJukeboxBlockEntity.tick(World world, BlockPos pos, BlockState state) static voidJukeboxBlockEntity.tick(World world, BlockPos pos, BlockState state, JukeboxBlockEntity blockEntity) static voidPistonBlockEntity.tick(World world, BlockPos pos, BlockState state, PistonBlockEntity blockEntity) static voidSculkCatalystBlockEntity.tick(World world, BlockPos pos, BlockState state, SculkCatalystBlockEntity blockEntity) static voidShulkerBoxBlockEntity.tick(World world, BlockPos pos, BlockState state, ShulkerBoxBlockEntity blockEntity) static voidSignBlockEntity.tick(World world, BlockPos pos, BlockState state, SignBlockEntity blockEntity) static voidSkullBlockEntity.tick(World world, BlockPos pos, BlockState state, SkullBlockEntity blockEntity) private static voidBeehiveBlockEntity.tickBees(World world, BlockPos pos, BlockState state, List<BeehiveBlockEntity.Bee> bees, @Nullable BlockPos flowerPos) private voidSculkCatalystBlockEntity.Listener.triggerCriteria(World world, LivingEntity deadEntity) private voidSignBlockEntity.tryClearInvalidEditor(SignBlockEntity blockEntity, World world, UUID uuid) static voidEndGatewayBlockEntity.tryTeleportingEntity(World world, BlockPos pos, BlockState state, Entity entity, EndGatewayBlockEntity blockEntity) static voidCampfireBlockEntity.unlitServerTick(World world, BlockPos pos, BlockState state, CampfireBlockEntity campfire) private static booleanConduitBlockEntity.updateActivatingBlocks(World world, BlockPos pos, List<BlockPos> activatingBlocks) private voidShulkerBoxBlockEntity.updateAnimation(World world, BlockPos pos, BlockState state) private static intBeaconBlockEntity.updateLevel(World world, int x, int y, int z) private static voidShulkerBoxBlockEntity.updateNeighborStates(World world, BlockPos pos, BlockState state) private static voidConduitBlockEntity.updateTargetEntity(World world, BlockPos pos, ConduitBlockEntity blockEntity) voidViewerCountManager.updateViewerCount(World world, BlockPos pos, BlockState state) -
Uses of World in net.minecraft.block.piston
Fields in net.minecraft.block.piston declared as WorldConstructors in net.minecraft.block.piston with parameters of type WorldModifierConstructorDescriptionPistonHandler(World world, BlockPos pos, Direction dir, boolean retracted) -
Uses of World in net.minecraft.client.color.block
Methods in net.minecraft.client.color.block with parameters of type WorldModifier and TypeMethodDescriptionintBlockColors.getParticleColor(BlockState state, World world, BlockPos pos) Returns the particle color of the block state. -
Uses of World in net.minecraft.client.gui
Methods in net.minecraft.client.gui with parameters of type WorldModifier and TypeMethodDescriptionprivate voidDrawContext.drawItem(LivingEntity entity, World world, ItemStack stack, int x, int y, int seed) private voidDrawContext.drawItem(LivingEntity entity, World world, ItemStack stack, int x, int y, int seed, int z) -
Uses of World in net.minecraft.client.gui.hud
Methods in net.minecraft.client.gui.hud that return World -
Uses of World in net.minecraft.client.gui.screen.world
Fields in net.minecraft.client.gui.screen.world with type parameters of type WorldModifier and TypeFieldDescriptionprivate static final Object2IntMap<RegistryKey<World>>OptimizeWorldScreen.DIMENSION_COLORS -
Uses of World in net.minecraft.client.network
Fields in net.minecraft.client.network with type parameters of type WorldModifier and TypeFieldDescriptionprivate Set<RegistryKey<World>>ClientPlayNetworkHandler.worldKeysMethods in net.minecraft.client.network that return types with arguments of type WorldModifier and TypeMethodDescriptionClientCommandSource.getWorldKeys()ClientPlayNetworkHandler.getWorldKeys() -
Uses of World in net.minecraft.client.render
Fields in net.minecraft.client.render declared as WorldMethods in net.minecraft.client.render with parameters of type WorldModifier and TypeMethodDescriptionprivate voidWorldRenderer.updateEntitiesForSong(World world, BlockPos pos, boolean playing) Constructors in net.minecraft.client.render with parameters of type WorldModifierConstructorDescriptionBuiltChunkStorage(ChunkBuilder chunkBuilder, World world, int viewDistance, WorldRenderer worldRenderer) -
Uses of World in net.minecraft.client.render.block.entity
Fields in net.minecraft.client.render.block.entity declared as WorldMethods in net.minecraft.client.render.block.entity with parameters of type WorldModifier and TypeMethodDescriptionvoidprivate voidPistonBlockEntityRenderer.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
Fields in net.minecraft.client.render.chunk declared as WorldMethods in net.minecraft.client.render.chunk with parameters of type WorldModifier and TypeMethodDescriptionConstructors in net.minecraft.client.render.chunk with parameters of type WorldModifierConstructorDescription(package private)ChunkRendererRegion(World world, int chunkX, int chunkZ, RenderedChunk[][] chunks) -
Uses of World in net.minecraft.client.render.debug
Methods in net.minecraft.client.render.debug with parameters of type World -
Uses of World in net.minecraft.client.render.entity
Fields in net.minecraft.client.render.entity declared as WorldMethods in net.minecraft.client.render.entity with parameters of type World -
Uses of World in net.minecraft.client.render.item
Methods in net.minecraft.client.render.item with parameters of type WorldModifier and TypeMethodDescriptionItemRenderer.getModel(ItemStack stack, @Nullable World world, @Nullable LivingEntity entity, int seed) voidItemRenderer.renderItem(@Nullable LivingEntity entity, ItemStack item, ModelTransformationMode renderMode, boolean leftHanded, MatrixStack matrices, VertexConsumerProvider vertexConsumers, @Nullable World world, int light, int overlay, int seed) voidItemRenderer.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.util
Methods in net.minecraft.client.util with parameters of type WorldModifier and TypeMethodDescriptionstatic voidParticleUtil.spawnParticle(Direction.Axis axis, World world, BlockPos pos, double variance, ParticleEffect effect, UniformIntProvider range) static voidParticleUtil.spawnParticle(World world, BlockPos pos, ParticleEffect effect, IntProvider count) static voidParticleUtil.spawnParticle(World world, BlockPos pos, Direction direction, ParticleEffect effect, Vec3d velocity, double offsetMultiplier) static voidParticleUtil.spawnParticle(World world, BlockPos pos, Random random, ParticleEffect effect) static voidParticleUtil.spawnParticles(World world, BlockPos pos, ParticleEffect effect, IntProvider count, Direction direction, Supplier<Vec3d> velocity, double offsetMultiplier) -
Uses of World in net.minecraft.client.util.telemetry
Methods in net.minecraft.client.util.telemetry with parameters of type WorldModifier and TypeMethodDescriptionvoidWorldSession.onAdvancementMade(World world, Advancement advancement) -
Uses of World in net.minecraft.client.world
Subclasses of World in net.minecraft.client.worldConstructor parameters in net.minecraft.client.world with type arguments of type WorldModifierConstructorDescriptionClientWorld(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
Methods in net.minecraft.command that return types with arguments of type World -
Uses of World in net.minecraft.enchantment
Methods in net.minecraft.enchantment with parameters of type WorldModifier and TypeMethodDescriptionstatic voidFrostWalkerEnchantment.freezeWater(LivingEntity entity, World world, BlockPos blockPos, int level) -
Uses of World in net.minecraft.entity
Fields in net.minecraft.entity declared as WorldMethods in net.minecraft.entity that return WorldMethods in net.minecraft.entity with parameters of type WorldModifier and TypeMethodDescriptionstatic Vec3dEntity.adjustMovementForCollisions(@Nullable Entity entity, Vec3d movement, Box entityBoundingBox, World world, List<VoxelShape> collisions) private voidLivingEntity.applyFoodEffects(ItemStack stack, World world, LivingEntity targetEntity) booleanEntity.canModifyAt(World world, BlockPos pos) Returns whether the entity can modify the world atpos.private static voidLightningEntity.cleanOxidation(World world, BlockPos pos) LightningEntity.cleanOxidationAround(World world, BlockPos pos) private static voidLightningEntity.cleanOxidationAround(World world, BlockPos pos, BlockPos.Mutable mutablePos, int count) EntityType.EntityFactory.create(EntityType<T> type, World world) EntityType.getEntityFromNbt(NbtCompound nbt, World world) EntityType.loadEntityFromNbt(NbtCompound nbt, World world) EntityType.loadEntityWithPassengers(NbtCompound nbt, World world, Function<Entity, Entity> entityProcessor) static voidEntityType.loadFromEntityNbt(World world, @Nullable PlayerEntity player, @Nullable Entity entity, @Nullable NbtCompound itemNbt) protected voidstatic FallingBlockEntityFallingBlockEntity.spawnFromBlock(World world, BlockPos pos, BlockState state) Spawns a falling block entity atposfrom the blockstate.EntityType.streamFromNbt(List<? extends NbtElement> entityNbtList, World world) Constructors in net.minecraft.entity with parameters of type WorldModifierConstructorDescriptionAreaEffectCloudEntity(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) privateFallingBlockEntity(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) protectedLivingEntity(EntityType<? extends LivingEntity> type, World world) MarkerEntity(EntityType<?> type, World world) TntEntity(EntityType<? extends TntEntity> type, World world) TntEntity(World world, double x, double y, double z, @Nullable LivingEntity igniter) -
Uses of World in net.minecraft.entity.ai.goal
Fields in net.minecraft.entity.ai.goal declared as WorldModifier and TypeFieldDescriptionprotected final WorldAnimalMateGoal.worldprivate final WorldEatGrassGoal.worldprivate final WorldEscapeSunlightGoal.worldprivate final WorldPowderSnowJumpGoal.worldprivate final WorldWolfBegGoal.worldMethods in net.minecraft.entity.ai.goal with parameters of type WorldModifier and TypeMethodDescriptionvoidStepAndDestroyBlockGoal.onDestroyBlock(World world, BlockPos pos) Constructors in net.minecraft.entity.ai.goal with parameters of type World -
Uses of World in net.minecraft.entity.ai.pathing
Fields in net.minecraft.entity.ai.pathing declared as WorldConstructors in net.minecraft.entity.ai.pathing with parameters of type WorldModifierConstructorDescriptionAmphibiousSwimNavigation(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
Methods in net.minecraft.entity.boss with parameters of type WorldModifier and TypeMethodDescriptionprotected EntityNavigationWitherEntity.createNavigation(World world) Constructors in net.minecraft.entity.boss with parameters of type World -
Uses of World in net.minecraft.entity.boss.dragon
Constructors in net.minecraft.entity.boss.dragon with parameters of type WorldModifierConstructorDescriptionEnderDragonEntity(EntityType<? extends EnderDragonEntity> type, World world) -
Uses of World in net.minecraft.entity.decoration
Methods in net.minecraft.entity.decoration with parameters of type WorldModifier and TypeMethodDescriptionstatic LeashKnotEntityLeashKnotEntity.getOrCreate(World world, BlockPos pos) Constructors in net.minecraft.entity.decoration with parameters of type WorldModifierConstructorDescriptionprotectedAbstractDecorationEntity(EntityType<? extends AbstractDecorationEntity> type, World world) protectedAbstractDecorationEntity(EntityType<? extends AbstractDecorationEntity> type, World world, BlockPos pos) ArmorStandEntity(EntityType<? extends ArmorStandEntity> type, World world) ArmorStandEntity(World world, double x, double y, double z) 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
Methods in net.minecraft.entity.decoration.painting with parameters of type WorldModifier and TypeMethodDescriptionstatic Optional<PaintingEntity>PaintingEntity.placePainting(World world, BlockPos pos, Direction facing) Constructors in net.minecraft.entity.decoration.painting with parameters of type WorldModifierConstructorDescriptionPaintingEntity(EntityType<? extends PaintingEntity> type, World world) privatePaintingEntity(World world, BlockPos pos) PaintingEntity(World world, BlockPos pos, Direction direction, RegistryEntry<PaintingVariant> variant) -
Uses of World in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob declared as WorldModifier and TypeFieldDescriptionprivate final WorldDrownedEntity.WanderAroundOnSurfaceGoal.worldMethods in net.minecraft.entity.mob with parameters of type WorldModifier and TypeMethodDescriptionprivate booleanEndermanEntity.PlaceBlockGoal.canPlaceOn(World world, BlockPos posAbove, BlockState carriedState, BlockState stateAbove, BlockState state, BlockPos pos) protected EntityNavigationGuardianEntity.createNavigation(World world) protected EntityNavigationMobEntity.createNavigation(World world) protected EntityNavigationSpiderEntity.createNavigation(World world) protected EntityNavigationWardenEntity.createNavigation(World world) default booleanAngerable.isUniversallyAngry(World world) voidZombieEntity.DestroyEggGoal.onDestroyBlock(World world, BlockPos pos) default voidAngerable.readAngerFromNbt(World world, NbtCompound nbt) Constructors in net.minecraft.entity.mob with parameters of type WorldModifierConstructorDescriptionAbstractPiglinEntity(EntityType<? extends AbstractPiglinEntity> type, World world) protectedAbstractSkeletonEntity(EntityType<? extends AbstractSkeletonEntity> type, World world) protectedAmbientEntity(EntityType<? extends AmbientEntity> type, World world) BlazeEntity(EntityType<? extends BlazeEntity> type, World world) CaveSpiderEntity(EntityType<? extends CaveSpiderEntity> type, World world) CreeperEntity(EntityType<? extends CreeperEntity> type, World world) DrownedEntity(EntityType<? extends DrownedEntity> type, World world) ElderGuardianEntity(EntityType<? extends ElderGuardianEntity> type, World world) EndermanEntity(EntityType<? extends EndermanEntity> type, World world) EndermiteEntity(EntityType<? extends EndermiteEntity> type, World world) EvokerEntity(EntityType<? extends EvokerEntity> type, World world) EvokerFangsEntity(EntityType<? extends EvokerFangsEntity> type, World world) EvokerFangsEntity(World world, double x, double y, double z, float yaw, int warmup, LivingEntity owner) protectedFlyingEntity(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) protectedHostileEntity(EntityType<? extends HostileEntity> type, World world) HuskEntity(EntityType<? extends HuskEntity> type, World world) protectedIllagerEntity(EntityType<? extends IllagerEntity> type, World world) IllusionerEntity(EntityType<? extends IllusionerEntity> type, World world) MagmaCubeEntity(EntityType<? extends MagmaCubeEntity> type, World world) protectedMobEntity(EntityType<? extends MobEntity> type, World world) protectedPathAwareEntity(EntityType<? extends PathAwareEntity> type, World world) protectedPatrolEntity(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) protectedSpellcastingIllagerEntity(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) protectedWaterCreatureEntity(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
Methods in net.minecraft.entity.passive with parameters of type WorldModifier and TypeMethodDescriptionprivate voidBeeEntity.addParticle(World world, double lastX, double x, double lastZ, double z, double y, ParticleEffect effect) protected EntityNavigationAllayEntity.createNavigation(World world) protected EntityNavigationAxolotlEntity.createNavigation(World world) protected EntityNavigationBeeEntity.createNavigation(World world) protected EntityNavigationDolphinEntity.createNavigation(World world) protected EntityNavigationFishEntity.createNavigation(World world) protected EntityNavigationFrogEntity.createNavigation(World world) protected EntityNavigationParrotEntity.createNavigation(World world) protected EntityNavigationStriderEntity.createNavigation(World world) protected EntityNavigationTadpoleEntity.createNavigation(World world) protected EntityNavigationTurtleEntity.createNavigation(World world) static SoundEventParrotEntity.getRandomSound(World world, Random random) static booleanParrotEntity.imitateNearbyMob(World world, Entity parrot) Constructors in net.minecraft.entity.passive with parameters of type WorldModifierConstructorDescriptionprotectedAbstractDonkeyEntity(EntityType<? extends AbstractDonkeyEntity> type, World world) protectedAbstractHorseEntity(EntityType<? extends AbstractHorseEntity> type, World world) AllayEntity(EntityType<? extends AllayEntity> type, World world) protectedAnimalEntity(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) protectedGolemEntity(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) protectedPassiveEntity(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) protectedTameableEntity(EntityType<? extends TameableEntity> type, World world) protectedTameableShoulderEntity(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
Methods in net.minecraft.entity.player with parameters of type WorldModifier and TypeMethodDescriptionbooleanPlayerEntity.isBlockBreakingRestricted(World world, BlockPos pos, GameMode gameMode) Constructors in net.minecraft.entity.player with parameters of type WorldModifierConstructorDescriptionPlayerEntity(World world, BlockPos pos, float yaw, com.mojang.authlib.GameProfile gameProfile) -
Uses of World in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile with parameters of type WorldModifier and TypeMethodDescriptionbooleanProjectileEntity.canModifyAt(World world, BlockPos pos) Returns whether the entity can modify the world atpos.private static HitResultProjectileUtil.getCollision(Vec3d pos, Entity entity, Predicate<Entity> predicate, Vec3d velocity, World world) static @Nullable EntityHitResultProjectileUtil.getEntityCollision(World world, Entity entity, Vec3d min, Vec3d max, Box box, Predicate<Entity> predicate) static @Nullable EntityHitResultProjectileUtil.getEntityCollision(World world, Entity entity, Vec3d min, Vec3d max, Box box, Predicate<Entity> predicate, float margin) Constructors in net.minecraft.entity.projectile with parameters of type WorldModifierConstructorDescriptionAbstractFireballEntity(EntityType<? extends AbstractFireballEntity> type, double x, double y, double z, double directionX, double directionY, double directionZ, World world) AbstractFireballEntity(EntityType<? extends AbstractFireballEntity> type, LivingEntity owner, double directionX, double directionY, double directionZ, World world) AbstractFireballEntity(EntityType<? extends AbstractFireballEntity> type, World world) ArrowEntity(EntityType<? extends ArrowEntity> type, World world) ArrowEntity(World world, double x, double y, double z) ArrowEntity(World world, LivingEntity owner) DragonFireballEntity(EntityType<? extends DragonFireballEntity> type, World world) DragonFireballEntity(World world, LivingEntity owner, double directionX, double directionY, double directionZ) ExplosiveProjectileEntity(EntityType<? extends ExplosiveProjectileEntity> type, double x, double y, double z, double directionX, double directionY, double directionZ, World world) ExplosiveProjectileEntity(EntityType<? extends ExplosiveProjectileEntity> type, LivingEntity owner, double directionX, double directionY, double directionZ, World world) protectedExplosiveProjectileEntity(EntityType<? extends ExplosiveProjectileEntity> type, World world) FireballEntity(EntityType<? extends FireballEntity> type, World world) FireballEntity(World world, LivingEntity owner, double velocityX, double velocityY, double velocityZ, int explosionPower) FireworkRocketEntity(EntityType<? extends FireworkRocketEntity> type, World world) FireworkRocketEntity(World world, double x, double y, double z, ItemStack stack) FireworkRocketEntity(World world, @Nullable Entity entity, double x, double y, double z, ItemStack stack) FireworkRocketEntity(World world, ItemStack stack, double x, double y, double z, boolean shotAtAngle) FireworkRocketEntity(World world, ItemStack stack, Entity entity, double x, double y, double z, boolean shotAtAngle) FireworkRocketEntity(World world, ItemStack stack, LivingEntity shooter) FishingBobberEntity(EntityType<? extends FishingBobberEntity> type, World world) privateFishingBobberEntity(EntityType<? extends FishingBobberEntity> type, World world, int luckOfTheSeaLevel, int lureLevel) FishingBobberEntity(PlayerEntity thrower, World world, int luckOfTheSeaLevel, int lureLevel) LlamaSpitEntity(EntityType<? extends LlamaSpitEntity> type, World world) LlamaSpitEntity(World world, LlamaEntity owner) protectedPersistentProjectileEntity(EntityType<? extends PersistentProjectileEntity> type, double x, double y, double z, World world) protectedPersistentProjectileEntity(EntityType<? extends PersistentProjectileEntity> type, LivingEntity owner, World world) protectedPersistentProjectileEntity(EntityType<? extends PersistentProjectileEntity> type, World world) (package private)ProjectileEntity(EntityType<? extends ProjectileEntity> type, World world) ShulkerBulletEntity(EntityType<? extends ShulkerBulletEntity> type, World world) ShulkerBulletEntity(World world, LivingEntity owner, Entity target, Direction.Axis axis) SmallFireballEntity(EntityType<? extends SmallFireballEntity> type, World world) SmallFireballEntity(World world, double x, double y, double z, double velocityX, double velocityY, double velocityZ) SmallFireballEntity(World world, LivingEntity owner, double velocityX, double velocityY, double velocityZ) SpectralArrowEntity(EntityType<? extends SpectralArrowEntity> type, World world) SpectralArrowEntity(World world, double x, double y, double z) SpectralArrowEntity(World world, LivingEntity owner) TridentEntity(EntityType<? extends TridentEntity> type, World world) TridentEntity(World world, LivingEntity owner, ItemStack stack) WitherSkullEntity(EntityType<? extends WitherSkullEntity> type, World world) WitherSkullEntity(World world, LivingEntity owner, double directionX, double directionY, double directionZ) -
Uses of World in net.minecraft.entity.projectile.thrown
Constructors in net.minecraft.entity.projectile.thrown with parameters of type WorldModifierConstructorDescriptionEggEntity(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) protectedThrownEntity(EntityType<? extends ThrownEntity> type, double x, double y, double z, World world) protectedThrownEntity(EntityType<? extends ThrownEntity> type, LivingEntity owner, World world) protectedThrownEntity(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
Constructors in net.minecraft.entity.raid with parameters of type WorldModifierConstructorDescriptionprotectedRaiderEntity(EntityType<? extends RaiderEntity> type, World world) -
Uses of World in net.minecraft.entity.vehicle
Methods in net.minecraft.entity.vehicle that return WorldMethods in net.minecraft.entity.vehicle with parameters of type WorldModifier and TypeMethodDescriptionstatic AbstractMinecartEntityAbstractMinecartEntity.create(World world, double x, double y, double z, AbstractMinecartEntity.Type type) private Runnabledefault voidVehicleInventory.onBroken(DamageSource source, World world, Entity vehicle) Constructors in net.minecraft.entity.vehicle with parameters of type WorldModifierConstructorDescriptionprotectedAbstractMinecartEntity(EntityType<?> type, World world) protectedAbstractMinecartEntity(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) protectedStorageMinecartEntity(EntityType<?> type, double x, double y, double z, World world) protectedStorageMinecartEntity(EntityType<?> type, World world) TntMinecartEntity(EntityType<? extends TntMinecartEntity> type, World world) TntMinecartEntity(World world, double x, double y, double z) -
Uses of World in net.minecraft.fluid
Methods in net.minecraft.fluid with parameters of type WorldModifier and TypeMethodDescriptionprivate voidFlowableFluid.flowToSides(World world, BlockPos pos, FluidState fluidState, BlockState blockState) protected intFlowableFluid.getNextTickDelay(World world, BlockPos pos, FluidState oldState, FluidState newState) intLavaFluid.getNextTickDelay(World world, BlockPos pos, FluidState oldState, FluidState newState) protected Map<Direction,FluidState> FlowableFluid.getSpread(World world, BlockPos pos, BlockState state) protected FluidStateFlowableFluid.getUpdatedState(World world, BlockPos pos, BlockState state) protected abstract booleanFlowableFluid.isInfinite(World world) protected booleanLavaFluid.isInfinite(World world) protected booleanWaterFluid.isInfinite(World world) protected voidFluid.onRandomTick(World world, BlockPos pos, FluidState state, Random random) voidFluidState.onRandomTick(World world, BlockPos pos, Random random) voidLavaFluid.onRandomTick(World world, BlockPos pos, FluidState state, Random random) voidFlowableFluid.onScheduledTick(World world, BlockPos pos, FluidState state) protected voidFluid.onScheduledTick(World world, BlockPos pos, FluidState state) voidFluidState.onScheduledTick(World world, BlockPos pos) protected voidFluid.randomDisplayTick(World world, BlockPos pos, FluidState state, Random random) voidFluidState.randomDisplayTick(World world, BlockPos pos, Random random) voidLavaFluid.randomDisplayTick(World world, BlockPos pos, FluidState state, Random random) voidWaterFluid.randomDisplayTick(World world, BlockPos pos, FluidState state, Random random) protected voidFlowableFluid.tryFlow(World world, BlockPos fluidPos, FluidState state) -
Uses of World in net.minecraft.item
Fields in net.minecraft.item declared as WorldMethods in net.minecraft.item that return WorldMethods in net.minecraft.item that return types with arguments of type WorldModifier and TypeMethodDescriptionprivate static Optional<RegistryKey<World>>CompassItem.getLodestoneDimension(NbtCompound nbt) Methods in net.minecraft.item with parameters of type WorldModifier and TypeMethodDescriptionvoidBrushItem.addDustParticles(World world, BlockHitResult hitResult, BlockState state, Vec3d userRotation, Arm arm) private static intFilledMapItem.allocateMapId(World world, int x, int z, int scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension) voidAirBlockItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidBannerItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidBannerPatternItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidBlockItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidBundleItem.appendTooltip(ItemStack stack, World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidCrossbowItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidDecorationItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidDiscFragmentItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidEnchantedBookItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidEntityBucketItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidFilledMapItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidFireworkRocketItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidFireworkStarItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidGoatHornItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidLingeringPotionItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidMusicDiscItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidPotionItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidShieldItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidSmithingTemplateItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidSuspiciousStewItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidTippedArrowItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidWrittenBookItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.static ActionResultLeadItem.attachHeldMobsToBlock(PlayerEntity player, World world, BlockPos pos) booleanDebugStickItem.canMine(BlockState state, World world, BlockPos pos, PlayerEntity miner) Returns whether a player can break a block while holding the item.booleanItem.canMine(BlockState state, World world, BlockPos pos, PlayerEntity miner) Returns whether a player can break a block while holding the item.booleanSwordItem.canMine(BlockState state, World world, BlockPos pos, PlayerEntity miner) Returns whether a player can break a block while holding the item.booleanTridentItem.canMine(BlockState state, World world, BlockPos pos, PlayerEntity miner) Returns whether a player can break a block while holding the item.static TypedActionResult<ItemStack>ItemUsage.consumeHeldItem(World world, PlayerEntity player, Hand hand) Consumes the item thatplayerholds.static voidArrowItem.createArrow(World world, ItemStack stack, LivingEntity shooter) private static PersistentProjectileEntityCrossbowItem.createArrow(World world, LivingEntity entity, ItemStack crossbow, ItemStack arrow) SpectralArrowItem.createArrow(World world, ItemStack stack, LivingEntity shooter) private BoatEntityBoatItem.createEntity(World world, HitResult hitResult) static ItemStackFilledMapItem.createMap(World world, int x, int z, byte scale, boolean showIcons, boolean unlimitedTracking) private static voidFilledMapItem.createMapState(ItemStack stack, World world, int x, int z, int scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension) CompassItem.createSpawnPos(World world) FilledMapItem.createSyncPacket(ItemStack stack, World world, PlayerEntity player) Creates a packet that syncs additional item data to the client.NetworkSyncedItem.createSyncPacket(ItemStack stack, World world, PlayerEntity player) Creates a packet that syncs additional item data to the client.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.PotionItem.finishUsing(ItemStack stack, World world, LivingEntity user) Called when an entity finishes using the item, such as eating food or drinking a potion.SpyglassItem.finishUsing(ItemStack stack, World world, LivingEntity user) Called when an entity finishes using the item, such as eating food or drinking a potion.StewItem.finishUsing(ItemStack stack, World world, LivingEntity user) Called when an entity finishes using the item, such as eating food or drinking a potion.SuspiciousStewItem.finishUsing(ItemStack stack, World world, LivingEntity user) Called when an entity finishes using the item, such as eating food or drinking a potion.private BlockStateFilledMapItem.getFluidStateIfVisible(World world, BlockState state, BlockPos pos) FilledMapItem.getMapState(@Nullable Integer id, World world) FilledMapItem.getMapState(ItemStack map, World world) voidCompassItem.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.voidFilledMapItem.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.voidItem.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.voidItemStack.inventoryTick(World world, Entity entity, int slot, boolean selected) voidFilledMapItem.onCraft(ItemStack stack, World world, PlayerEntity player) Called when a player acquires the item by crafting, smelting, smithing, etc.voidItem.onCraft(ItemStack stack, World world, PlayerEntity player) Called when a player acquires the item by crafting, smelting, smithing, etc.voidItemStack.onCraft(World world, PlayerEntity player, int amount) voidvoidEntityBucketItem.onEmptied(@Nullable PlayerEntity player, World world, ItemStack stack, BlockPos pos) default voidFluidModificationItem.onEmptied(@Nullable PlayerEntity player, World world, ItemStack stack, BlockPos pos) voidBowItem.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.voidCrossbowItem.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.voidItem.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.voidItemStack.onStoppedUsing(World world, LivingEntity user, int remainingUseTicks) voidSpyglassItem.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.voidTridentItem.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.booleanBucketItem.placeFluid(@Nullable PlayerEntity player, World world, BlockPos pos, @Nullable BlockHitResult hitResult) booleanFluidModificationItem.placeFluid(@Nullable PlayerEntity player, World world, BlockPos pos, @Nullable BlockHitResult hitResult) booleanPowderSnowBucketItem.placeFluid(@Nullable PlayerEntity player, World world, BlockPos pos, @Nullable BlockHitResult hitResult) private BlockStateBlockItem.placeFromNbt(BlockPos pos, World world, ItemStack stack, BlockState state) private static voidGoatHornItem.playSound(World world, PlayerEntity player, Instrument instrument) private voidFireChargeItem.playUseSound(World world, BlockPos pos) booleanItem.postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) Called on the server when the item is used to break a block.voidItemStack.postMine(World world, BlockState state, BlockPos pos, PlayerEntity miner) booleanMiningToolItem.postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) Called on the server when the item is used to break a block.booleanShearsItem.postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) Called on the server when the item is used to break a block.booleanSwordItem.postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) Called on the server when the item is used to break a block.booleanTridentItem.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 booleanBlockItem.postPlacement(BlockPos pos, World world, @Nullable PlayerEntity player, ItemStack stack, BlockState state) protected booleanSignItem.postPlacement(BlockPos pos, World world, @Nullable PlayerEntity player, ItemStack stack, BlockState state) private static voidCrossbowItem.postShoot(World world, LivingEntity entity, ItemStack stack) protected static BlockHitResultItem.raycast(World world, PlayerEntity player, RaycastContext.FluidHandling fluidHandling) private static voidprivate static voidCrossbowItem.shoot(World world, LivingEntity shooter, Hand hand, ItemStack crossbow, ItemStack projectile, float soundPitch, boolean creative, float speed, float divergence, float simulated) static voidCrossbowItem.shootAll(World world, LivingEntity entity, Hand hand, ItemStack stack, float speed, float divergence) voidFilledMapItem.updateColors(World world, Entity entity, MapState state) voidBrushItem.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.voidCrossbowItem.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.voidItem.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.voidItemStack.usageTick(World world, LivingEntity user, int remainingUseTicks) ArmorItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.BoatItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.BowItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.BucketItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.BundleItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.CrossbowItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.EggItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.ElytraItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.EmptyMapItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.EnderEyeItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.EnderPearlItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.ExperienceBottleItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.FireworkRocketItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.FishingRodItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.GlassBottleItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.GoatHornItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.HoneyBottleItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.Item.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.ItemStack.use(World world, PlayerEntity user, Hand hand) KnowledgeBookItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.LingeringPotionItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.MilkBucketItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.OnAStickItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.PlaceableOnWaterItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.PotionItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.ShieldItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.SnowballItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.SpawnEggItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.SplashPotionItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.SpyglassItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.ThrowablePotionItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.TridentItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.WritableBookItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.WrittenBookItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.static booleanBoneMealItem.useOnFertilizable(ItemStack stack, World world, BlockPos pos) static booleanBoneMealItem.useOnGround(ItemStack stack, World world, BlockPos blockPos, @Nullable Direction facing) booleanDyeItem.useOnSign(World world, SignBlockEntity signBlockEntity, boolean front, PlayerEntity player) booleanGlowInkSacItem.useOnSign(World world, SignBlockEntity signBlockEntity, boolean front, PlayerEntity player) booleanHoneycombItem.useOnSign(World world, SignBlockEntity signBlockEntity, boolean front, PlayerEntity player) booleanInkSacItem.useOnSign(World world, SignBlockEntity signBlockEntity, boolean front, PlayerEntity player) booleanSignChangingItem.useOnSign(World world, SignBlockEntity signBlockEntity, boolean front, PlayerEntity player) static booleanBlockItem.writeNbtToBlockEntity(World world, @Nullable PlayerEntity player, BlockPos pos, ItemStack stack) Method parameters in net.minecraft.item with type arguments of type WorldModifier and TypeMethodDescriptionprivate static intFilledMapItem.allocateMapId(World world, int x, int z, int scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension) private static voidFilledMapItem.createMapState(ItemStack stack, World world, int x, int z, int scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension) private voidCompassItem.writeNbt(RegistryKey<World> worldKey, BlockPos pos, NbtCompound nbt) Constructors in net.minecraft.item with parameters of type WorldModifierConstructorDescriptionAutomaticItemPlacementContext(World world, BlockPos pos, Direction facing, ItemStack stack, Direction side) protectedItemPlacementContext(World world, @Nullable PlayerEntity player, Hand hand, ItemStack stack, BlockHitResult hit) protectedItemUsageContext(World world, @Nullable PlayerEntity player, Hand hand, ItemStack stack, BlockHitResult hit) -
Uses of World in net.minecraft.item.map
Fields in net.minecraft.item.map with type parameters of type WorldMethod parameters in net.minecraft.item.map with type arguments of type WorldModifier and TypeMethodDescriptionstatic MapStateMapState.of(byte scale, boolean locked, RegistryKey<World> dimension) Creates a new map state instance for the client.static MapStateMapState.of(double centerX, double centerZ, byte scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension) Creates a new map state instance.Constructor parameters in net.minecraft.item.map with type arguments of type WorldModifierConstructorDescriptionprivateMapState(int centerX, int centerZ, byte scale, boolean showIcons, boolean unlimitedTracking, boolean locked, RegistryKey<World> dimension) -
Uses of World in net.minecraft.network.packet.c2s.play
Methods in net.minecraft.network.packet.c2s.play with parameters of type WorldModifier and TypeMethodDescriptionUpdateCommandBlockMinecartC2SPacket.getMinecartCommandExecutor(World world) -
Uses of World in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play with type parameters of type WorldModifier and TypeFieldDescriptionprivate final RegistryKey<World>PlayerRespawnS2CPacket.dimensionprivate final RegistryKey<World>GameJoinS2CPacket.dimensionIdThe field for thedimensionIdrecord component.private final Set<RegistryKey<World>>GameJoinS2CPacket.dimensionIdsThe field for thedimensionIdsrecord component.Methods in net.minecraft.network.packet.s2c.play that return types with arguments of type WorldModifier and TypeMethodDescriptionGameJoinS2CPacket.dimensionId()Returns the value of thedimensionIdrecord component.GameJoinS2CPacket.dimensionIds()Returns the value of thedimensionIdsrecord component.PlayerRespawnS2CPacket.getDimension()Methods in net.minecraft.network.packet.s2c.play with parameters of type WorldModifier and TypeMethodDescriptionEntityDamageS2CPacket.createDamageSource(World world) LookAtS2CPacket.getTargetPosition(World world) Constructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type WorldModifierConstructorDescriptionGameJoinS2CPacket(int playerEntityId, boolean bool, GameMode previousGameMode, @Nullable GameMode gameMode, Set<RegistryKey<World>> set, DynamicRegistryManager.Immutable immutable, RegistryKey<DimensionType> registryKey, RegistryKey<World> registryKey2, long long2, int maxPlayers, int chunkLoadDistance, int int2, boolean bool2, boolean bool3, boolean bool4, boolean bool5, Optional<GlobalPos> optional, int int3) -
Uses of World in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity with type parameters of type WorldModifier and TypeFieldDescriptionprivate @Nullable RegistryKey<World>LocationPredicate.Builder.dimensionprivate final @Nullable RegistryKey<World>LocationPredicate.dimensionMethod parameters in net.minecraft.predicate.entity with type arguments of type WorldModifier and TypeMethodDescriptionLocationPredicate.Builder.dimension(@Nullable RegistryKey<World> dimension) static LocationPredicateLocationPredicate.dimension(RegistryKey<World> dimension) -
Uses of World in net.minecraft.recipe
Methods in net.minecraft.recipe with parameters of type WorldModifier and TypeMethodDescriptionRecipeManager.getAllMatches(RecipeType<T> type, C inventory, World world) Creates a list of all recipes of the giventypethat match the giveninventoryandworld.RecipeManager.getFirstMatch(RecipeType<T> type, C inventory, World world) Returns a recipe of the giventypethat match the giveninventoryandworld.<C extends Inventory,T extends Recipe<C>>
Optional<com.mojang.datafixers.util.Pair<Identifier,T>> RecipeManager.getFirstMatch(RecipeType<T> type, C inventory, World world, @Nullable Identifier id) RecipeManager.MatchGetter.getFirstMatch(C inventory, World world) <C extends Inventory,T extends Recipe<C>>
DefaultedList<ItemStack>RecipeManager.getRemainingStacks(RecipeType<T> type, C inventory, World world) Returns the remainder of a recipe of the giventypethat match the giveninventoryandworld, or a shallow copy of theinventory.booleanReturns whether this recipe matches the contents inside theinventoryin the givenworld.booleanArmorDyeRecipe.matches(class_8566 class_8566, World world) booleanBannerDuplicateRecipe.matches(class_8566 class_8566, World world) booleanBookCloningRecipe.matches(class_8566 class_8566, World world) booleanCraftingDecoratedPotRecipe.matches(class_8566 class_8566, World world) booleanFireworkRocketRecipe.matches(class_8566 class_8566, World world) booleanFireworkStarFadeRecipe.matches(class_8566 class_8566, World world) booleanFireworkStarRecipe.matches(class_8566 class_8566, World world) booleanMapCloningRecipe.matches(class_8566 class_8566, World world) booleanMapExtendingRecipe.matches(class_8566 class_8566, World world) booleanReturns whether this recipe matches the contents inside theinventoryin the givenworld.booleanRepairItemRecipe.matches(class_8566 class_8566, World world) booleanShapedRecipe.matches(class_8566 class_8566, World world) booleanShapelessRecipe.matches(class_8566 class_8566, World world) booleanShieldDecorationRecipe.matches(class_8566 class_8566, World world) booleanShulkerBoxColoringRecipe.matches(class_8566 class_8566, World world) booleanReturns whether this recipe matches the contents inside theinventoryin the givenworld.booleanReturns whether this recipe matches the contents inside theinventoryin the givenworld.booleanReturns whether this recipe matches the contents inside theinventoryin the givenworld.booleanSuspiciousStewRecipe.matches(class_8566 class_8566, World world) booleanTippedArrowRecipe.matches(class_8566 class_8566, World world) default booleanRecipeUnlocker.shouldCraftRecipe(World world, ServerPlayerEntity player, Recipe<?> recipe) -
Uses of World in net.minecraft.registry
Fields in net.minecraft.registry with type parameters of type WorldMethods in net.minecraft.registry that return types with arguments of type WorldModifier and TypeMethodDescriptionstatic RegistryKey<World>RegistryKeys.toWorldKey(RegistryKey<DimensionOptions> key) Method parameters in net.minecraft.registry with type arguments of type WorldModifier and TypeMethodDescriptionstatic RegistryKey<DimensionOptions>RegistryKeys.toDimensionKey(RegistryKey<World> key) -
Uses of World in net.minecraft.screen
Fields in net.minecraft.screen declared as WorldModifier and TypeFieldDescriptionprotected final WorldAbstractFurnaceScreenHandler.worldprivate final WorldSmithingScreenHandler.worldprivate final WorldStonecutterScreenHandler.worldMethods in net.minecraft.screen with parameters of type WorldModifier and TypeMethodDescriptionstatic ScreenHandlerContextReturns an active screen handler context.protected static voidCraftingScreenHandler.updateResult(ScreenHandler handler, World world, PlayerEntity player, class_8566 craftingInventory, CraftingResultInventory resultInventory) Method parameters in net.minecraft.screen with type arguments of type WorldModifier and TypeMethodDescription<T> Optional<T>ScreenHandlerContext.get(BiFunction<World, BlockPos, T> getter) Gets an optional value from this context's world and position with aBiFunctiongetter.default <T> TScreenHandlerContext.get(BiFunction<World, BlockPos, T> getter, T defaultValue) Gets a value from this context's world and position with aBiFunctiongetter.default voidScreenHandlerContext.run(BiConsumer<World, BlockPos> function) Runs aBiConsumerwith this context's world and position if this context is active. -
Uses of World in net.minecraft.server
Fields in net.minecraft.server with type parameters of type WorldModifier and TypeFieldDescriptionprivate final Map<RegistryKey<World>,ServerWorld> MinecraftServer.worldsMethods in net.minecraft.server that return types with arguments of type WorldMethod parameters in net.minecraft.server with type arguments of type WorldModifier and TypeMethodDescriptionMinecraftServer.getWorld(RegistryKey<World> key) voidPlayerManager.sendToAround(@Nullable PlayerEntity player, double x, double y, double z, double distance, RegistryKey<World> worldKey, Packet<?> packet) voidPlayerManager.sendToDimension(Packet<?> packet, RegistryKey<World> dimension) -
Uses of World in net.minecraft.server.chase
Fields in net.minecraft.server.chase with type parameters of type WorldModifier and TypeFieldDescriptionprivate final RegistryKey<World>ChaseClient.TeleportPos.dimensionThe field for thedimensionrecord component.Methods in net.minecraft.server.chase that return types with arguments of type WorldModifier and TypeMethodDescriptionChaseClient.TeleportPos.dimension()Returns the value of thedimensionrecord component.Constructor parameters in net.minecraft.server.chase with type arguments of type WorldModifierConstructorDescription(package private)TeleportPos(RegistryKey<World> dimension, Vec3d pos, Vec2f rot) Creates an instance of aTeleportPosrecord class. -
Uses of World in net.minecraft.server.command
Fields in net.minecraft.server.command with type parameters of type WorldMethods in net.minecraft.server.command that return types with arguments of type World -
Uses of World in net.minecraft.server.network
Fields in net.minecraft.server.network with type parameters of type WorldModifier and TypeFieldDescriptionprivate RegistryKey<World>ServerPlayerEntity.spawnPointDimensionMethods in net.minecraft.server.network that return types with arguments of type WorldMethods in net.minecraft.server.network with parameters of type WorldModifier and TypeMethodDescriptionbooleanServerPlayerEntity.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 voidDebugInfoSender.sendBeehiveDebugData(World world, BlockPos pos, BlockState state, BeehiveBlockEntity blockEntity) static voidDebugInfoSender.sendGameEvent(World world, GameEvent event, Vec3d pos) static voidDebugInfoSender.sendGameEventListener(World world, GameEventListener eventListener) static voidDebugInfoSender.sendGoalSelector(World world, MobEntity mob, GoalSelector goalSelector) static voidDebugInfoSender.sendNeighborUpdate(World world, BlockPos pos) static voidDebugInfoSender.sendPathfindingData(World world, MobEntity mob, @Nullable Path path, float nodeReachProximity) Method parameters in net.minecraft.server.network with type arguments of type WorldModifier and TypeMethodDescriptionvoidServerPlayerEntity.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
Subclasses of World in net.minecraft.server.worldMethods in net.minecraft.server.world that return WorldMethods in net.minecraft.server.world with parameters of type WorldModifier and TypeMethodDescriptionprivate voidChunkHolder.sendBlockEntityUpdatePacket(World world, BlockPos pos) private voidChunkHolder.tryUpdateBlockEntityAt(World world, BlockPos pos, BlockState state) Constructors in net.minecraft.server.world with parameters of type WorldConstructor parameters in net.minecraft.server.world with type arguments of type WorldModifierConstructorDescriptionServerWorld(MinecraftServer server, Executor workerExecutor, LevelStorage.Session session, ServerWorldProperties properties, RegistryKey<World> worldKey, DimensionOptions dimensionOptions, WorldGenerationProgressListener worldGenerationProgressListener, boolean debugWorld, long seed, List<Spawner> spawners, boolean shouldTickTime) -
Uses of World in net.minecraft.structure
Methods in net.minecraft.structure with parameters of type WorldModifier and TypeMethodDescriptionprivate voidStructureTemplate.addEntitiesFromWorld(World world, BlockPos firstCorner, BlockPos secondCorner) voidStructureTemplate.saveFromWorld(World world, BlockPos start, Vec3i dimensions, boolean includeEntities, @Nullable Block ignoredBlock) -
Uses of World in net.minecraft.util
Methods in net.minecraft.util with parameters of type WorldModifier and TypeMethodDescriptionprivate static voidSpawns item entities frominventoryaround the given position.static voidSpawns an item entity ofstackaround the given position.static voidSpawns item entities frominventoryaroundentity's position.static voidSpawns item entities frominventoryaroundpos.static voidItemScatterer.spawn(World world, BlockPos pos, DefaultedList<ItemStack> stacks) Spawns item entities fromstacksaroundpos. -
Uses of World in net.minecraft.util.math
Fields in net.minecraft.util.math with type parameters of type WorldMethods in net.minecraft.util.math that return types with arguments of type WorldMethod parameters in net.minecraft.util.math with type arguments of type WorldModifier and TypeMethodDescriptionstatic GlobalPosGlobalPos.create(RegistryKey<World> dimension, BlockPos pos) Constructor parameters in net.minecraft.util.math with type arguments of type World -
Uses of World in net.minecraft.util.profiling.jfr
Method parameters in net.minecraft.util.profiling.jfr with type arguments of type WorldModifier 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
Constructor parameters in net.minecraft.util.profiling.jfr.event with type arguments of type WorldModifierConstructorDescriptionChunkGenerationEvent(ChunkPos chunkPos, RegistryKey<World> world, String targetStatus) -
Uses of World in net.minecraft.village.raid
Methods in net.minecraft.village.raid that return World -
Uses of World in net.minecraft.world
Fields in net.minecraft.world with type parameters of type WorldModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<RegistryKey<World>>World.CODECstatic final RegistryKey<World>World.ENDstatic final RegistryKey<World>World.NETHERstatic final RegistryKey<World>World.OVERWORLDprivate final RegistryKey<World>World.registryKeyprivate final RegistryKey<World>StructureLocator.worldKeyMethods in net.minecraft.world that return types with arguments of type WorldMethods in net.minecraft.world with parameters of type WorldModifier and TypeMethodDescriptionvoidMobSpawnerLogic.clientTick(World world, BlockPos pos) booleanprivate static BlockPosSpawnHelper.getRandomPosInChunkSection(World world, WorldChunk chunk) MobSpawnerLogic.getRenderedEntity(World world, Random random, BlockPos pos) private MobSpawnerEntryMobSpawnerLogic.getSpawnEntry(@Nullable World world, Random random, BlockPos pos) booleanMobSpawnerLogic.handleStatus(World world, int status) private booleanMobSpawnerLogic.isPlayerInRange(World world, BlockPos pos) voidMobSpawnerLogic.readNbt(@Nullable World world, BlockPos pos, NbtCompound nbt) abstract voidMobSpawnerLogic.sendStatus(World world, BlockPos pos, int status) voidMobSpawnerLogic.setEntityId(EntityType<?> type, @Nullable World world, Random random, BlockPos pos) protected voidMobSpawnerLogic.setSpawnEntry(@Nullable World world, BlockPos pos, MobSpawnerEntry spawnEntry) private voidMobSpawnerLogic.updateSpawns(World world, BlockPos pos) Method parameters in net.minecraft.world with type arguments of type WorldModifier and TypeMethodDescriptionstatic FeatureUpdaterFeatureUpdater.create(RegistryKey<World> world, @Nullable PersistentStateManager persistentStateManager) Constructor parameters in net.minecraft.world with type arguments of type WorldModifierConstructorDescriptionStructureLocator(NbtScannable chunkIoWorker, DynamicRegistryManager registryManager, StructureTemplateManager structureTemplateManager, RegistryKey<World> worldKey, ChunkGenerator chunkGenerator, NoiseConfig noiseConfig, HeightLimitView world, BiomeSource biomeSource, long seed, com.mojang.datafixers.DataFixer dataFixer) protectedWorld(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
Fields in net.minecraft.world.block declared as WorldModifier and TypeFieldDescriptionprivate final WorldChainRestrictedNeighborUpdater.worldprivate final WorldSimpleNeighborUpdater.worldMethods in net.minecraft.world.block with parameters of type WorldModifier and TypeMethodDescriptionstatic voidNeighborUpdater.tryNeighborUpdate(World world, BlockState state, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) booleanbooleanbooleanbooleanbooleanConstructors in net.minecraft.world.block with parameters of type WorldModifierConstructorDescriptionChainRestrictedNeighborUpdater(World world, int maxChainDepth) SimpleNeighborUpdater(World world) -
Uses of World in net.minecraft.world.chunk
Fields in net.minecraft.world.chunk declared as WorldModifier and TypeFieldDescriptionprotected final WorldChunkCache.world(package private) final WorldWorldChunk.worldMethods in net.minecraft.world.chunk that return WorldConstructors in net.minecraft.world.chunk with parameters of type WorldModifierConstructorDescriptionChunkCache(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
Methods in net.minecraft.world.dimension that return types with arguments of type WorldModifier and TypeMethodDescriptionDimensionOptionsRegistryHolder.getWorldKeys()static com.mojang.serialization.DataResult<RegistryKey<World>>DimensionType.worldFromDimensionNbt(com.mojang.serialization.Dynamic<?> nbt) Deprecated.Method parameters in net.minecraft.world.dimension with type arguments of type WorldModifier and TypeMethodDescriptionstatic PathDimensionType.getSaveDirectory(RegistryKey<World> worldRef, Path worldDirectory) -
Uses of World in net.minecraft.world.event
Methods in net.minecraft.world.event with parameters of type WorldModifier and TypeMethodDescriptionprivate static booleanVibrations.Ticker.areChunksTickingAround(World world, BlockPos pos) private voidEntityPositionSource.findEntityInWorld(World world) private static booleanVibrations.VibrationListener.isOccluded(World world, Vec3d emitterPos, Vec3d listenerPos) static voidVibrations.Ticker.tick(World world, Vibrations.ListenerData listenerData, Vibrations.Callback callback) -
Uses of World in net.minecraft.world.explosion
Fields in net.minecraft.world.explosion declared as WorldConstructors in net.minecraft.world.explosion with parameters of type WorldModifierConstructorDescriptionExplosion(World world, @Nullable Entity entity, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType) Explosion(World world, @Nullable Entity entity, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType, List<BlockPos> affectedBlocks) Explosion(World world, @Nullable Entity entity, double x, double y, double z, float power, List<BlockPos> affectedBlocks) Explosion(World world, @Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType) -
Uses of World in net.minecraft.world.level.storage
Method parameters in net.minecraft.world.level.storage with type arguments of type World -
Uses of World in net.minecraft.world.storage
Method parameters in net.minecraft.world.storage with type arguments of type WorldModifier and TypeMethodDescriptionprivate FeatureUpdaterVersionedChunkStorage.getFeatureUpdater(RegistryKey<World> worldKey, Supplier<PersistentStateManager> stateManagerGetter) static voidVersionedChunkStorage.saveContextToNbt(NbtCompound nbt, RegistryKey<World> worldKey, Optional<RegistryKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>> generatorCodecKey) VersionedChunkStorage.updateChunkNbt(RegistryKey<World> worldKey, Supplier<PersistentStateManager> persistentStateManagerFactory, NbtCompound nbt, Optional<RegistryKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>> generatorCodecKey) -
Uses of World in net.minecraft.world.updater
Fields in net.minecraft.world.updater with type parameters of type WorldModifier and TypeFieldDescriptionprivate final Object2FloatMap<RegistryKey<World>>WorldUpdater.dimensionProgressprivate final Set<RegistryKey<World>>WorldUpdater.worldKeysMethods in net.minecraft.world.updater that return types with arguments of type WorldMethod parameters in net.minecraft.world.updater with type arguments of type WorldModifier and TypeMethodDescriptionWorldUpdater.getChunkPositions(RegistryKey<World> world) floatWorldUpdater.getProgress(RegistryKey<World> world)
AbstractBlock.AbstractBlockState.createScreenHandlerFactory(net.minecraft.world.World, net.minecraft.util.math.BlockPos)instead.