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 Optional<RegistryKey<World>> ChangedDimensionCriterion.Conditions.fromThe field for thefromrecord component.private final Optional<RegistryKey<World>> ChangedDimensionCriterion.Conditions.toThe field for thetorecord component.Methods in net.minecraft.advancement.criterion that return types with arguments of type WorldModifier and TypeMethodDescriptionChangedDimensionCriterion.Conditions.from()Returns the value of thefromrecord component.ChangedDimensionCriterion.Conditions.to()Returns the value of thetorecord component.Method 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) -
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 static voidRedstoneWireBlock.addPoweredParticles(World world, Random random, BlockPos pos, int color, Direction perpendicular, Direction direction, float minOffset, float maxOffset) 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 static booleanRedstoneWireBlock.areRedstoneExperimentsEnabled(World world) private voidTurtleEggBlock.breakEgg(World world, BlockPos pos, BlockState state) static voidCarvedPumpkinBlock.breakPatternBlocks(World world, BlockPattern.Result patternResult) private 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) booleanBambooShootBlock.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) booleanBushBlock.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) booleanFertilizable.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanFireflyBushBlock.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) booleanHangingMossBlock.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) booleanPaleMossCarpetBlock.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) booleanShortDryGrassBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanShortPlantBlock.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) booleanTallDryGrassBlock.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 voidstatic 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) protected @Nullable NamedScreenHandlerFactoryAbstractBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.protected @Nullable NamedScreenHandlerFactoryAnvilBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.protected @Nullable NamedScreenHandlerFactoryBlockWithEntity.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.protected @Nullable NamedScreenHandlerFactoryCartographyTableBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.protected @Nullable NamedScreenHandlerFactoryChestBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.protected NamedScreenHandlerFactoryCraftingTableBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.protected @Nullable NamedScreenHandlerFactoryEnchantingTableBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.protected NamedScreenHandlerFactoryGrindstoneBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.protected @Nullable NamedScreenHandlerFactoryLecternBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.protected NamedScreenHandlerFactoryLoomBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.protected NamedScreenHandlerFactorySmithingTableBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Returns the screen handler factory ornullif screen handler cannot be created.protected @Nullable NamedScreenHandlerFactoryStonecutterBlock.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 voidCreakingHeartBlock.dropExperienceOnBreak(PlayerEntity player, 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, @Nullable Entity entity, ItemStack tool) static BlockStateComposterBlock.emptyFullComposter(Entity user, BlockState state, World world, BlockPos pos) private static BlockStateCreakingHeartBlock.enableIfValid(BlockState state, World world, BlockPos pos) 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.Fertilizable.findPosToSpreadTo(World world, BlockPos pos, BlockState state) private voidTrapdoorBlock.flip(BlockState state, World world, BlockPos pos, @Nullable PlayerEntity player) private @Nullable ItemFrameEntityComparatorBlock.getAttachedItemFrame(World world, Direction facing, BlockPos pos) protected DispenserBehaviorDispenserBlock.getBehaviorForItem(World world, ItemStack stack) protected DispenserBehaviorDropperBlock.getBehaviorForItem(World world, ItemStack stack) private static @Nullable TestBlockEntityTestBlock.getBlockEntityOnServer(World world, 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) protected intAbstractBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intAbstractFurnaceBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intBarrelBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intBeehiveBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intBrewingStandBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intBulbBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intCakeBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intCandleCakeBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intChestBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intChiseledBookshelfBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intCommandBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intComposterBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intCrafterBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intCreakingHeartBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intDecoratedPotBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intDetectorRailBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intDispenserBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intEndPortalFrameBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intHopperBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intJukeboxBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intLavaCauldronBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intLecternBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intLeveledCauldronBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intRespawnAnchorBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected intSculkSensorBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.protected 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) protected @Nullable WireOrientationRedstoneTorchBlock.getEmissionOrientation(World world, BlockState state) protected @Nullable WireOrientationWallRedstoneTorchBlock.getEmissionOrientation(World world, BlockState state) protected static intAbstractPressurePlateBlock.getEntityCount(World world, Box box, Class<? extends Entity> entityClass) 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) protected abstract intAbstractPressurePlateBlock.getRedstoneOutput(World world, BlockPos pos) protected intPressurePlateBlock.getRedstoneOutput(World world, BlockPos pos) protected intWeightedPressurePlateBlock.getRedstoneOutput(World world, BlockPos pos) intRedstoneWireBlock.getStrongPower(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> CrafterBlock.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> CreakingHeartBlock.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> TrialSpawnerBlock.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> VaultBlock.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 booleanstatic booleanCreakingHeartBlock.isNightAndNatural(World world) private 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, @Nullable WireOrientation wireOrientation, boolean notify) protected voidAbstractBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidAbstractRailBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidAbstractRedstoneGateBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidAbstractSkullBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidBellBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidBigDripleafBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidBulbBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidCommandBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidCrafterBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidDispenserBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidDoorBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidFenceGateBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidFluidBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidFrostedIceBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidHopperBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidNoteBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidPistonBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidPistonHeadBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidRedstoneLampBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidRedstoneTorchBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidRedstoneWireBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidSpongeBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidStructureBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidTestBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidTntBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.protected voidTrapdoorBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, @Nullable WireOrientation wireOrientation, boolean notify) Called when a neighboring block is updated.voidAbstractBlock.AbstractBlockState.onBlockAdded(World world, BlockPos pos, BlockState state, boolean notify) protected voidAbstractBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected 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.protected 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.protected 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.protected voidBulbBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.voidFrostedIceBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Called server-side on the new block when the block state is changed.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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.protected 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) protected voidAbstractBlock.onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player) Called when a player starts breaking the block (including when instant-mining).protected voidDragonEggBlock.onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player) Called when a player starts breaking the block (including when instant-mining).protected voidNoteBlock.onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player) Called when a player starts breaking the block (including when instant-mining).protected voidRedstoneOreBlock.onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player) Called when a player starts breaking the block (including when instant-mining).AbstractFireBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.BedBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.BeehiveBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.Block.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.CreakingHeartBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.DecoratedPotBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.DoorBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.PistonHeadBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.ShulkerBoxBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.TallPlantBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.TntBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.TripwireBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.protected static 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.voidAnvilBlock.onDestroyedOnLanding(World world, BlockPos pos, FallingBlockEntity fallingBlockEntity) voidBrushableBlock.onDestroyedOnLanding(World world, BlockPos pos, FallingBlockEntity fallingBlockEntity) default voidFalling.onDestroyedOnLanding(World world, BlockPos pos, FallingBlockEntity fallingBlockEntity) voidPointedDripstoneBlock.onDestroyedOnLanding(World world, BlockPos pos, FallingBlockEntity fallingBlockEntity) voidAbstractBlock.AbstractBlockState.onEntityCollision(World world, BlockPos pos, Entity entity, EntityCollisionHandler entityCollisionHandler) protected voidAbstractBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) Called when the entity's collision box intersects the block.protected voidAbstractFireBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) Called when the entity's collision box intersects the block.protected voidAbstractPressurePlateBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) Called when the entity's collision box intersects the block.protected voidBigDripleafBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) Called when the entity's collision box intersects the block.protected voidBubbleColumnBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) Called when the entity's collision box intersects the block.protected voidButtonBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) Called when the entity's collision box intersects the block.protected voidCactusBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) Called when the entity's collision box intersects the block.protected voidCampfireBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) Called when the entity's collision box intersects the block.protected voidCobwebBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) Called when the entity's collision box intersects the block.protected voidCropBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) Called when the entity's collision box intersects the block.protected voidDetectorRailBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) Called when the entity's collision box intersects the block.protected voidEndGatewayBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) Called when the entity's collision box intersects the block.protected voidEndPortalBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) Called when the entity's collision box intersects the block.protected voidEyeblossomBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) Called when the entity's collision box intersects the block.protected voidFrogspawnBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) Called when the entity's collision box intersects the block.protected voidHoneyBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) Called when the entity's collision box intersects the block.protected voidHopperBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) Called when the entity's collision box intersects the block.protected voidLavaCauldronBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) Called when the entity's collision box intersects the block.protected voidLeveledCauldronBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) Called when the entity's collision box intersects the block.protected voidLilyPadBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) Called when the entity's collision box intersects the block.protected voidNetherPortalBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) Called when the entity's collision box intersects the block.voidPitcherCropBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) Called when the entity's collision box intersects the block.protected voidPowderSnowBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) Called when the entity's collision box intersects the block.protected voidSweetBerryBushBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) Called when the entity's collision box intersects the block.protected voidTripwireBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) Called when the entity's collision box intersects the block.protected voidWitherRoseBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) Called when the entity's collision box intersects the block.private voidLeveledCauldronBlock.onFireCollision(BlockState state, World world, BlockPos pos) voidBedBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, double fallDistance) Called when the entity lands on the block.voidBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, double fallDistance) Called when the entity lands on the block.voidFarmlandBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, double fallDistance) Called when the entity lands on the block.voidHayBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, double fallDistance) Called when the entity lands on the block.voidHoneyBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, double fallDistance) Called when the entity lands on the block.voidPointedDripstoneBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, double fallDistance) Called when the entity lands on the block.voidPowderSnowBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, double fallDistance) Called when the entity lands on the block.voidSlimeBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, double fallDistance) Called when the entity lands on the block.voidTurtleEggBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, double 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 voidFalling.onLanding(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity) voidAbstractRedstoneGateBlock.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.voidCommandBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidCrafterBlock.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.voidJukeboxBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidPaleMossCarpetBlock.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.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.voidWallWitherSkullBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) Called when the player placed the block.static voidvoidWitherSkullBlock.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) protected voidAbstractBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.protected voidAbstractCandleBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.protected voidAmethystBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.protected voidBellBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.protected voidBigDripleafBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.protected voidCampfireBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.protected voidChorusFlowerBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.protected voidDecoratedPotBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.protected voidPointedDripstoneBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.protected voidTargetBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.protected voidTntBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) Called when aProjectileEntityhits a block.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.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) protected booleanAbstractBlock.onSyncedBlockEvent(BlockState state, World world, BlockPos pos, int type, int data) Handles the block event, which is an event specific to a block with an integer ID and data.protected 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.protected 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.protected 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.protected 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, BlockHitResult hit) protected ActionResultAbstractBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultAbstractFurnaceBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultAbstractSignBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultAnvilBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultBarrelBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultBeaconBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultBedBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultBellBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultBrewingStandBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultButtonBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultCakeBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultCandleCakeBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultCartographyTableBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultCaveVinesBodyBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultCaveVinesHeadBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultChestBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultChiseledBookshelfBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultCommandBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultComparatorBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultComposterBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultCrafterBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultCraftingTableBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultDaylightDetectorBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultDecoratedPotBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultDispenserBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultDoorBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultDragonEggBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultEnchantingTableBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultEnderChestBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultFenceBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultFenceGateBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultFletchingTableBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultFlowerPotBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultGrindstoneBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultHopperBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultJigsawBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultJukeboxBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultLecternBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultLeverBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultLightBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultLoomBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultNoteBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultPistonExtensionBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultRedstoneWireBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultRepeaterBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultRespawnAnchorBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultShulkerBoxBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultSmithingTableBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultStonecutterBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultStructureBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultSweetBerryBushBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultTestBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultTestInstanceBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected ActionResultTrapdoorBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) AbstractBlock.AbstractBlockState.onUseWithItem(ItemStack stack, World world, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResultAbstractBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResultAbstractCauldronBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResultAbstractSignBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResultBeehiveBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResultCakeBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResultCampfireBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResultCandleBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResultCandleCakeBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResultChiseledBookshelfBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResultComposterBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResultDecoratedPotBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResultFlowerPotBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResultHangingSignBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResultJukeboxBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResultLecternBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResultNoteBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResultPumpkinBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResultRedstoneOreBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResultRespawnAnchorBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResultSweetBerryBushBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResultTntBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) VaultBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) protected ActionResultWallHangingSignBlock.onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) 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 static 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, @Nullable PlayerEntity player) 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 booleanprivate static booleanTntBlock.primeTnt(World world, BlockPos pos, @Nullable LivingEntity igniter) private static voidLecternBlock.putBook(@Nullable LivingEntity user, World world, BlockPos pos, BlockState state, ItemStack stack) static booleanLecternBlock.putBookIfAbsent(@Nullable LivingEntity 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.voidCreakingHeartBlock.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.voidDryVegetationBlock.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.voidEyeblossomBlock.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.voidFireflyBushBlock.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.voidHangingMossBlock.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.voidSandBlock.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.voidTerracottaBlock.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) protected abstract voidLeavesBlock.spawnLeafParticle(World world, BlockPos pos, Random random) private voidLeavesBlock.spawnLeafParticle(World world, BlockPos pos, Random random, BlockState state, BlockPos posBelow) protected voidTintedParticleLeavesBlock.spawnLeafParticle(World world, BlockPos pos, Random random) protected voidUntintedParticleLeavesBlock.spawnLeafParticle(World world, BlockPos pos, Random random) private static voidRedstoneOreBlock.spawnParticles(World world, BlockPos pos) static voidCampfireBlock.spawnSmokeParticle(World world, BlockPos pos, boolean isSignal, boolean lotsOfSmoke) private static voidLeavesBlock.spawnWaterParticle(World world, BlockPos pos, Random random, BlockState state, BlockPos posBelow) 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) voidLeverBlock.togglePower(BlockState state, World world, BlockPos pos, @Nullable PlayerEntity player) 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 voidCommandBlock.update(World world, BlockPos pos, CommandBlockBlockEntity blockEntity, boolean powered) private voidComparatorBlock.update(World world, BlockPos pos, BlockState state) private voidRedstoneTorchBlock.update(World world, BlockPos pos, BlockState state) private voidRedstoneWireBlock.update(World world, BlockPos pos, BlockState state, @Nullable WireOrientation orientation, boolean blockAdded) protected voidprivate voidTripwireBlock.update(World world, BlockPos pos, BlockState state) static voidTripwireHookBlock.update(World world, BlockPos pos, BlockState state, boolean bool, boolean bool2, 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) 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 static voidTripwireHookBlock.updateNeighborsOnAxis(Block block, 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 voidTripwireBlock.updatePowered(World world, BlockPos pos, List<? extends Entity> entities) 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) protected static <T extends BlockEntity>
@Nullable BlockEntityTicker<T> AbstractFurnaceBlock.validateTicker(World world, BlockEntityType<T> givenType, BlockEntityType<? extends AbstractFurnaceBlockEntity> expectedType) 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 TypeMethodDescriptionprivate static ActionResultCauldronBehavior.cleanArmor(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack) private static ActionResultCauldronBehavior.cleanBanner(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack) private static ActionResultCauldronBehavior.cleanShulkerBox(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack) static 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.private static booleanCauldronBehavior.isUnderwater(World world, BlockPos pos) private static ActionResultCauldronBehavior.tryFillWithLava(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack) private static ActionResultCauldronBehavior.tryFillWithPowderSnow(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack) private static ActionResultCauldronBehavior.tryFillWithWater(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack) -
Uses of World in net.minecraft.block.dispenser
Methods in net.minecraft.block.dispenser with parameters of type World -
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 RegistryEntry<StatusEffect> primaryEffect, @Nullable RegistryEntry<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) HopperBlockEntity.getBlockInventoryAt(World world, BlockPos pos, BlockState state) private static BlockStateCreakingHeartBlockEntity.getBlockState(World world, BlockState state, BlockPos pos, CreakingHeartBlockEntity creakingHeart) private intCalibratedSculkSensorBlockEntity.Callback.getCalibrationFrequency(World world, BlockPos pos, BlockState state) private static WorldChunkHopperBlockEntity.getEntityInventoryAt(World world, double x, double y, double z) HopperBlockEntity.getInputInventory(World world, Hopper hopper, BlockPos pos, BlockState state) static List<ItemEntity> HopperBlockEntity.getInputItemEntities(World world, Hopper hopper) HopperBlockEntity.getInventoryAt(World world, BlockPos pos) HopperBlockEntity.getInventoryAt(World world, BlockPos pos, BlockState state, double x, double y, double z) HopperBlockEntity.getOutputInventory(World world, BlockPos pos, HopperBlockEntity blockEntity) private List<PlayerEntity> ViewerCountManager.getViewingPlayers(World world, BlockPos pos) private static voidConduitBlockEntity.givePlayersEffects(World world, BlockPos pos, List<BlockPos> activatingBlocks) private static booleanHopperBlockEntity.insert(World world, BlockPos pos, HopperBlockEntity blockEntity) private static booleanHopperBlockEntity.insertAndExtract(World world, BlockPos pos, BlockState state, HopperBlockEntity blockEntity, BooleanSupplier booleanSupplier) BeehiveBlockEntity.BeeData.loadEntity(World world, BlockPos pos) 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) private static voidVaultBlockEntity.Client.playAmbientSound(World world, BlockPos pos, VaultSharedData sharedData) 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.BeeData 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) voidTrialSpawnerBlockEntity.setSpawnerState(World world, TrialSpawnerState spawnerState) voidSets the world the block entity belongs to.voidSets the world the block entity belongs to.voidSets the world the block entity belongs to.static voidVaultBlockEntity.Client.spawnActivateParticles(World world, BlockPos pos, BlockState state, VaultSharedData sharedData, ParticleEffect particle) private static voidVaultBlockEntity.Client.spawnAmbientParticles(World world, BlockPos pos, VaultSharedData sharedData, ParticleEffect particle) private static voidVaultBlockEntity.Client.spawnConnectedParticles(World world, BlockPos pos, BlockState state, VaultSharedData sharedData) private static voidVaultBlockEntity.Client.spawnConnectedParticlesFor(World world, Vec3d pos, PlayerEntity player) static voidVaultBlockEntity.Client.spawnDeactivateParticles(World world, BlockPos pos, ParticleEffect particle) private static voidConduitBlockEntity.spawnNautilusParticles(World world, BlockPos pos, List<BlockPos> activatingBlocks, @Nullable Entity entity, int ticks) static voidEndGatewayBlockEntity.startTeleportCooldown(World world, BlockPos pos, BlockState state, EndGatewayBlockEntity 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 voidCreakingHeartBlockEntity.tick(World world, BlockPos pos, BlockState state, CreakingHeartBlockEntity blockEntity) static voidEnchantingTableBlockEntity.tick(World world, BlockPos pos, BlockState state, EnchantingTableBlockEntity blockEntity) 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) static voidVaultBlockEntity.Client.tick(World world, BlockPos pos, BlockState state, VaultClientData clientData, VaultSharedData sharedData) private static voidBeehiveBlockEntity.tickBees(World world, BlockPos pos, BlockState state, List<BeehiveBlockEntity.Bee> bees, @Nullable BlockPos flowerPos) static voidCrafterBlockEntity.tickCrafting(World world, BlockPos pos, BlockState state, CrafterBlockEntity blockEntity) private voidSculkCatalystBlockEntity.Listener.triggerCriteria(World world, LivingEntity deadEntity) private voidSignBlockEntity.tryClearInvalidEditor(SignBlockEntity blockEntity, World world, UUID uuid) 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.enums
Methods in net.minecraft.block.enums with parameters of type WorldModifier and TypeMethodDescriptionvoidprivate static voidTrialSpawnerState.ParticleEmitter.emitParticle(SimpleParticleType type, Vec3d pos, World world) voidTrialSpawnerState.emitParticles(World world, BlockPos pos, boolean ominous) -
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.block.spawner
Methods in net.minecraft.block.spawner with parameters of type WorldModifier and TypeMethodDescriptionstatic voidTrialSpawnerLogic.addDetectionParticles(World world, BlockPos pos, Random random, int playerCount, ParticleEffect particle) static voidTrialSpawnerLogic.addEjectItemParticles(World world, BlockPos pos, Random random) static voidTrialSpawnerLogic.addMobSpawnParticles(World world, BlockPos pos, Random random, SimpleParticleType particle) static voidTrialSpawnerLogic.addTrialOmenParticles(World world, BlockPos pos, Random random) voidMobSpawnerLogic.clientTick(World world, BlockPos pos) MobSpawnerLogic.getRenderedEntity(World world, BlockPos pos) private MobSpawnerEntryMobSpawnerLogic.getSpawnEntry(@Nullable World world, Random random, BlockPos pos) booleanMobSpawnerLogic.handleStatus(World world, int status) private static booleanEntityDetector.hasLineOfSight(World world, Vec3d pos, Vec3d entityEyePos) private static booleanTrialSpawnerLogic.hasLineOfSight(World world, Vec3d spawnerPos, Vec3d spawnPos) 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) TrialSpawnerData.setDisplayEntity(TrialSpawnerLogic logic, World world, TrialSpawnerState state) voidMobSpawnerLogic.setEntityId(EntityType<?> type, @Nullable World world, Random random, BlockPos pos) voidTrialSpawnerLogic.setEntityType(EntityType<?> entityType, World world) protected voidMobSpawnerLogic.setSpawnEntry(@Nullable World world, BlockPos pos, MobSpawnerEntry spawnEntry) voidTrialSpawnerLogic.setSpawnerState(World world, TrialSpawnerState spawnerState) voidTrialSpawnerLogic.TrialSpawner.setSpawnerState(World world, TrialSpawnerState spawnerState) voidTrialSpawnerLogic.tickClient(World world, BlockPos pos, boolean ominous) private voidMobSpawnerLogic.updateSpawns(World world, BlockPos pos) -
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(@Nullable LivingEntity entity, @Nullable World world, ItemStack stack, int x, int y, int seed) private voidDrawContext.drawItem(@Nullable LivingEntity entity, @Nullable World world, ItemStack stack, int x, int y, int seed, int z) -
Uses of World in net.minecraft.client.gui.hud
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 ToIntFunction<RegistryKey<World>> OptimizeWorldScreen.DIMENSION_COLORS -
Uses of World in net.minecraft.client.item
Methods in net.minecraft.client.item with parameters of type WorldModifier and TypeMethodDescriptionvoidItemModelManager.clearAndUpdate(ItemRenderState renderState, ItemStack stack, ItemDisplayContext displayContext, @Nullable World world, @Nullable LivingEntity entity, int seed) voidItemModelManager.update(ItemRenderState renderState, ItemStack stack, ItemDisplayContext displayContext, @Nullable World world, @Nullable LivingEntity entity, int seed) -
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()Method parameters in net.minecraft.client.network with type arguments of type WorldModifier and TypeMethodDescriptionClientPlayNetworkHandler.getWorldEntryReason(boolean dead, RegistryKey<World> from, RegistryKey<World> to) -
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 voidWeatherRendering.buildPrecipitationPieces(World world, int ticks, float tickProgress, Vec3d pos, int range, List<WeatherRendering.Piece> rainOut, List<WeatherRendering.Piece> snowOut) private Biome.PrecipitationWeatherRendering.getPrecipitationAt(World world, BlockPos pos) voidWeatherRendering.renderPrecipitation(World world, VertexConsumerProvider vertexConsumers, int ticks, float tickProgress, Vec3d pos) 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 TypeMethodDescriptionChunkRendererRegionBuilder.build(World world, ChunkSectionPos sectionPos) ChunkRendererRegionBuilder.computeClientChunk(World world, int chunkX, int chunkZ) Constructors 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
Fields in net.minecraft.client.render.debug with type parameters of type WorldModifier and TypeFieldDescriptionStructureDebugRenderer.structureBoundingBoxesprivate final Map<RegistryKey<World>, Map<String, DebugStructuresCustomPayload.Piece>> StructureDebugRenderer.structurePiecesBoundingBoxesMethods in net.minecraft.client.render.debug with parameters of type WorldModifier and TypeMethodDescriptionbooleanMethod parameters in net.minecraft.client.render.debug with type arguments of type WorldModifier and TypeMethodDescriptionvoidStructureDebugRenderer.addStructure(BlockBox boundingBox, List<DebugStructuresCustomPayload.Piece> pieces, RegistryKey<World> dimensionKey) -
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 TypeMethodDescriptionvoidItemRenderer.renderItem(@Nullable LivingEntity entity, ItemStack stack, ItemDisplayContext displayContext, MatrixStack matrices, VertexConsumerProvider vertexConsumers, @Nullable World world, int light, int overlay, int seed) voidItemRenderer.renderItem(ItemStack stack, ItemDisplayContext displayContext, int light, int overlay, MatrixStack matrices, VertexConsumerProvider vertexConsumers, @Nullable World world, int seed) -
Uses of World in net.minecraft.client.render.item.property.select
Fields in net.minecraft.client.render.item.property.select with type parameters of type WorldModifier and TypeFieldDescriptionstatic final SelectProperty.Type<ContextDimensionProperty, RegistryKey<World>> ContextDimensionProperty.TYPEstatic final com.mojang.serialization.Codec<RegistryKey<World>> ContextDimensionProperty.VALUE_CODECMethods in net.minecraft.client.render.item.property.select that return types with arguments of type WorldModifier and TypeMethodDescriptionContextDimensionProperty.getType()ContextDimensionProperty.getValue(ItemStack itemStack, @Nullable ClientWorld clientWorld, @Nullable LivingEntity livingEntity, int int2, ItemDisplayContext itemDisplayContext) com.mojang.serialization.Codec<RegistryKey<World>> ContextDimensionProperty.valueCodec() -
Uses of World in net.minecraft.client.search
Methods in net.minecraft.client.search with parameters of type WorldModifier and TypeMethodDescriptionvoidSearchManager.addRecipeOutputReloader(ClientRecipeBook recipeBook, World world) -
Uses of World in net.minecraft.client.session.telemetry
Methods in net.minecraft.client.session.telemetry with parameters of type WorldModifier and TypeMethodDescriptionvoidWorldSession.onAdvancementMade(World world, AdvancementEntry advancement) -
Uses of World in net.minecraft.client.world
Subclasses of World in net.minecraft.client.worldFields in net.minecraft.client.world declared as WorldMethods in net.minecraft.client.world with parameters of type WorldModifier and TypeMethodDescriptionprivate voidWorldEventHandler.updateEntitiesForSong(World world, BlockPos pos, boolean playing) Constructors in net.minecraft.client.world with parameters of type WorldModifierConstructorDescriptionWorldEventHandler(MinecraftClient client, World world, WorldRenderer worldRenderer) Constructor parameters in net.minecraft.client.world with type arguments of type WorldModifierConstructorDescriptionClientWorld(ClientPlayNetworkHandler networkHandler, ClientWorld.Properties properties, RegistryKey<World> registryRef, RegistryEntry<DimensionType> dimensionType, int loadDistance, int simulationDistance, WorldRenderer worldRenderer, boolean debugWorld, long seed, int seaLevel) -
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.component.type
Methods in net.minecraft.component.type with parameters of type WorldModifier and TypeMethodDescriptionConsumableComponent.finishConsumption(World world, LivingEntity user, ItemStack stack) voidConsumable.onConsume(World world, LivingEntity user, ItemStack stack, ConsumableComponent consumable) voidFoodComponent.onConsume(World world, LivingEntity user, ItemStack stack, ConsumableComponent consumable) voidOminousBottleAmplifierComponent.onConsume(World world, LivingEntity user, ItemStack stack, ConsumableComponent consumable) voidPotionContentsComponent.onConsume(World world, LivingEntity user, ItemStack stack, ConsumableComponent consumable) voidSuspiciousStewEffectsComponent.onConsume(World world, LivingEntity user, ItemStack stack, ConsumableComponent consumable) voidBlocksAttacksComponent.onShieldHit(World world, ItemStack stack, LivingEntity entity, Hand hand, float itemDamage) static ActionResultJukeboxPlayableComponent.tryPlayStack(World world, BlockPos pos, ItemStack stack, PlayerEntity player) -
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) booleanEntity.canTeleportBetween(World from, World to) 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.copier(Consumer<T> chained, World world, ItemStack stack, @Nullable LivingEntity spawner) EntityType.copier(World world, ItemStack stack, @Nullable LivingEntity spawner) EntityType.create(World world, SpawnReason reason) EntityType.EntityFactory.create(EntityType<T> type, World world) static OminousItemSpawnerEntityprivate static List<VoxelShape> Entity.findCollisionsForMovement(@Nullable Entity entity, World world, List<VoxelShape> regularCollisions, Box movingEntityBoundingBox) static <StoredEntityType extends UniquelyIdentifiable>
@Nullable LazyEntityReference<StoredEntityType> LazyEntityReference.fromNbtOrPlayerName(NbtCompound nbt, String key, World world) EntityType.getEntityFromNbt(NbtCompound nbt, World world, SpawnReason reason) EntityType.loadEntityFromNbt(NbtCompound nbt, World world, SpawnReason reason) EntityType.loadEntityWithPassengers(NbtCompound nbt, World world, SpawnReason reason, Function<Entity, Entity> entityProcessor) static voidEntityType.loadFromEntityNbt(World world, @Nullable LivingEntity spawner, @Nullable Entity entity, NbtComponent nbt) EntityType.nbtCopier(Consumer<T> chained, World world, ItemStack stack, @Nullable LivingEntity spawner) protected voidprotected static voidEntity.spawnBubbleColumnParticles(World world, BlockPos pos) static FallingBlockEntityFallingBlockEntity.spawnFromBlock(World world, BlockPos pos, BlockState state) Spawns a falling block entity atposfrom the blockstate.EntityType.streamFromNbt(List<? extends NbtElement> entityNbtList, World world, SpawnReason reason) 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 blockState) 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) OminousItemSpawnerEntity(EntityType<? extends OminousItemSpawnerEntity> type, World world) TntEntity(EntityType<? extends TntEntity> type, World world) TntEntity(World world, double x, double y, double z, @Nullable LivingEntity igniter) -
Uses of World in net.minecraft.entity.ai.goal
Fields in net.minecraft.entity.ai.goal declared as WorldModifier and TypeFieldDescriptionprivate final WorldEatGrassGoal.worldprivate final WorldEscapeSunlightGoal.worldprivate final WorldPowderSnowJumpGoal.worldMethods in net.minecraft.entity.ai.goal with parameters of type WorldModifier and TypeMethodDescriptionprotected static ServerWorldGoal.castToServerWorld(World world) voidStepAndDestroyBlockGoal.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) protectedBlockAttachedEntity(EntityType<? extends BlockAttachedEntity> type, World world) protectedBlockAttachedEntity(EntityType<? extends BlockAttachedEntity> type, World world, BlockPos attachedBlockPos) BlockDisplayEntity(EntityType<?> type, World world) DisplayEntity(EntityType<?> type, World world) EndCrystalEntity(EntityType<? extends EndCrystalEntity> type, World world) EndCrystalEntity(World world, double x, double y, double z) GlowItemFrameEntity(EntityType<? extends ItemFrameEntity> type, World world) GlowItemFrameEntity(World world, BlockPos pos, Direction facing) InteractionEntity(EntityType<?> type, World world) ItemDisplayEntity(EntityType<?> type, World world) ItemFrameEntity(EntityType<? extends ItemFrameEntity> type, World world) ItemFrameEntity(EntityType<? extends ItemFrameEntity> type, World world, BlockPos pos, Direction facing) ItemFrameEntity(World world, BlockPos pos, Direction facing) LeashKnotEntity(EntityType<? extends LeashKnotEntity> type, World world) LeashKnotEntity(World world, BlockPos pos) TextDisplayEntity(EntityType<?> type, World world) -
Uses of World in net.minecraft.entity.decoration.painting
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.effect
Methods in net.minecraft.entity.effect with parameters of type WorldModifier and TypeMethodDescriptionprivate voidOozingStatusEffect.spawnSlime(World world, double x, double y, double z) -
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 EntityNavigationCreakingEntity.createNavigation(World world) protected EntityNavigationGuardianEntity.createNavigation(World world) protected EntityNavigationMobEntity.createNavigation(World world) protected EntityNavigationSpiderEntity.createNavigation(World world) protected EntityNavigationWardenEntity.createNavigation(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) BoggedEntity(EntityType<? extends BoggedEntity> type, World world) BreezeEntity(EntityType<? extends HostileEntity> type, World world) CaveSpiderEntity(EntityType<? extends CaveSpiderEntity> type, World world) CreakingEntity(EntityType<? extends CreakingEntity> type, World world) (package private)CreakingNavigation(CreakingEntity creaking, 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) static booleanBeeEntity.isNightOrRaining(World world) Constructors in net.minecraft.entity.passive with parameters of type WorldModifierConstructorDescriptionAbstractCowEntity(EntityType<? extends AbstractCowEntity> type, World world) protectedAbstractDonkeyEntity(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) ArmadilloEntity(EntityType<? extends AnimalEntity> type, World world) AxolotlEntity(EntityType<? extends AxolotlEntity> type, World world) BatEntity(EntityType<? extends BatEntity> type, World world) BeeEntity(EntityType<? extends BeeEntity> type, World world) CamelEntity(EntityType<? extends CamelEntity> type, World world) CatEntity(EntityType<? extends CatEntity> type, World world) ChickenEntity(EntityType<? extends ChickenEntity> type, World world) CodEntity(EntityType<? extends CodEntity> type, World world) CowEntity(EntityType<? extends CowEntity> type, World world) DolphinEntity(EntityType<? extends DolphinEntity> type, World world) DonkeyEntity(EntityType<? extends DonkeyEntity> type, World world) FishEntity(EntityType<? extends FishEntity> type, World world) FoxEntity(EntityType<? extends FoxEntity> type, World world) FrogEntity(EntityType<? extends AnimalEntity> type, World world) (package private)FrogSwimNavigation(FrogEntity frog, World world) GlowSquidEntity(EntityType<? extends GlowSquidEntity> type, World world) GoatEntity(EntityType<? extends GoatEntity> type, World world) 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, RegistryEntry<VillagerType> type) VillagerEntity(EntityType<? extends VillagerEntity> entityType, World world, RegistryKey<VillagerType> type) WanderingTraderEntity(EntityType<? extends WanderingTraderEntity> type, World world) protectedWaterAnimalEntity(EntityType<? extends WaterAnimalEntity> 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 TypeMethodDescriptionprivate static HitResultProjectileUtil.getCollision(Vec3d pos, Entity entity, Predicate<Entity> predicate, Vec3d velocity, World world, float margin, RaycastContext.ShapeType raycastShapeType) 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, Vec3d velocity, World world) AbstractFireballEntity(EntityType<? extends AbstractFireballEntity> type, LivingEntity owner, Vec3d velocity, World world) AbstractFireballEntity(EntityType<? extends AbstractFireballEntity> type, World world) (package private)AbstractWindChargeEntity(EntityType<? extends AbstractWindChargeEntity> type, double x, double y, double z, Vec3d velocity, World world) AbstractWindChargeEntity(EntityType<? extends AbstractWindChargeEntity> type, World world) AbstractWindChargeEntity(EntityType<? extends AbstractWindChargeEntity> type, World world, Entity owner, double x, double y, double z) ArrowEntity(EntityType<? extends ArrowEntity> type, World world) ArrowEntity(World world, double x, double y, double z, ItemStack stack, @Nullable ItemStack shotFrom) ArrowEntity(World world, LivingEntity owner, ItemStack stack, @Nullable ItemStack shotFrom) BreezeWindChargeEntity(EntityType<? extends AbstractWindChargeEntity> type, World world) BreezeWindChargeEntity(BreezeEntity breeze, World world) DragonFireballEntity(EntityType<? extends DragonFireballEntity> type, World world) DragonFireballEntity(World world, LivingEntity owner, Vec3d velocity) ExplosiveProjectileEntity(EntityType<? extends ExplosiveProjectileEntity> type, double x, double y, double z, Vec3d velocity, World world) protectedExplosiveProjectileEntity(EntityType<? extends ExplosiveProjectileEntity> type, double x, double y, double z, World world) ExplosiveProjectileEntity(EntityType<? extends ExplosiveProjectileEntity> type, LivingEntity owner, Vec3d velocity, World world) protectedExplosiveProjectileEntity(EntityType<? extends ExplosiveProjectileEntity> type, World world) FireballEntity(EntityType<? extends FireballEntity> type, World world) FireballEntity(World world, LivingEntity owner, Vec3d velocity, int explosionPower) FireworkRocketEntity(EntityType<? extends FireworkRocketEntity> type, World world) FireworkRocketEntity(World world, double x, double y, double z, ItemStack stack) FireworkRocketEntity(World world, @Nullable Entity entity, double x, double y, double z, ItemStack stack) FireworkRocketEntity(World world, ItemStack stack, double x, double y, double z, boolean shotAtAngle) FireworkRocketEntity(World world, ItemStack stack, Entity entity, double x, double y, double z, boolean shotAtAngle) FireworkRocketEntity(World world, ItemStack stack, LivingEntity shooter) FishingBobberEntity(EntityType<? extends FishingBobberEntity> type, World world) privateFishingBobberEntity(EntityType<? extends FishingBobberEntity> type, World world, int luckBonus, int waitTimeReductionTicks) FishingBobberEntity(PlayerEntity thrower, World world, int luckBonus, int waitTimeReductionTicks) LlamaSpitEntity(EntityType<? extends LlamaSpitEntity> type, World world) LlamaSpitEntity(World world, LlamaEntity owner) protectedPersistentProjectileEntity(EntityType<? extends PersistentProjectileEntity> type, double x, double y, double z, World world, ItemStack stack, @Nullable ItemStack weapon) protectedPersistentProjectileEntity(EntityType<? extends PersistentProjectileEntity> type, LivingEntity owner, World world, ItemStack stack, @Nullable ItemStack shotFrom) 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, Vec3d velocity) SmallFireballEntity(World world, LivingEntity owner, Vec3d velocity) SpectralArrowEntity(EntityType<? extends SpectralArrowEntity> type, World world) SpectralArrowEntity(World world, double x, double y, double z, ItemStack stack, @Nullable ItemStack shotFrom) SpectralArrowEntity(World world, LivingEntity owner, ItemStack stack, @Nullable ItemStack shotFrom) TridentEntity(EntityType<? extends TridentEntity> type, World world) TridentEntity(World world, double x, double y, double z, ItemStack stack) TridentEntity(World world, LivingEntity owner, ItemStack stack) WindChargeEntity(EntityType<? extends AbstractWindChargeEntity> type, World world) WindChargeEntity(PlayerEntity player, World world, double x, double y, double z) WindChargeEntity(World world, double x, double y, double z, Vec3d velocity) WitherSkullEntity(EntityType<? extends WitherSkullEntity> type, World world) WitherSkullEntity(World world, LivingEntity owner, Vec3d velocity) -
Uses of World in net.minecraft.entity.projectile.thrown
Methods in net.minecraft.entity.projectile.thrown with parameters of type WorldModifier and TypeMethodDescriptionbooleanEnderPearlEntity.canTeleportBetween(World from, World to) private static booleanEnderPearlEntity.canTeleportEntityTo(Entity entity, World world) private voidEnderPearlEntity.playTeleportSound(World world, Vec3d pos) Constructors in net.minecraft.entity.projectile.thrown with parameters of type WorldModifierConstructorDescriptionEggEntity(EntityType<? extends EggEntity> type, World world) EggEntity(World world, LivingEntity owner, ItemStack stack) EnderPearlEntity(EntityType<? extends EnderPearlEntity> type, World world) EnderPearlEntity(World world, LivingEntity owner, ItemStack stack) ExperienceBottleEntity(EntityType<? extends ExperienceBottleEntity> type, World world) ExperienceBottleEntity(World world, double x, double y, double z, ItemStack stack) ExperienceBottleEntity(World world, LivingEntity owner, ItemStack stack) LingeringPotionEntity(EntityType<? extends LingeringPotionEntity> type, World world) LingeringPotionEntity(World world, double x, double y, double z, ItemStack stack) LingeringPotionEntity(World world, LivingEntity owner, ItemStack stack) PotionEntity(EntityType<? extends PotionEntity> type, World world) PotionEntity(EntityType<? extends PotionEntity> type, World world, double x, double y, double z, ItemStack stack) PotionEntity(EntityType<? extends PotionEntity> type, World world, LivingEntity owner, ItemStack stack) SnowballEntity(EntityType<? extends SnowballEntity> type, World world) SnowballEntity(World world, double x, double y, double z, ItemStack stack) SnowballEntity(World world, LivingEntity owner, ItemStack stack) SplashPotionEntity(EntityType<? extends SplashPotionEntity> type, World world) SplashPotionEntity(World world, double x, double y, double z, ItemStack stack) SplashPotionEntity(World world, LivingEntity owner, ItemStack stack) protectedThrownEntity(EntityType<? extends ThrownEntity> type, double x, double y, double z, World world) protectedThrownEntity(EntityType<? extends ThrownEntity> type, World world) ThrownItemEntity(EntityType<? extends ThrownItemEntity> type, double x, double y, double z, World world, ItemStack stack) ThrownItemEntity(EntityType<? extends ThrownItemEntity> type, LivingEntity owner, World world, ItemStack stack) 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 booleanAbstractMinecartEntity.areMinecartImprovementsEnabled(World world) static <T extends AbstractMinecartEntity>
TAbstractMinecartEntity.create(World world, double x, double y, double z, EntityType<T> type, SpawnReason reason, ItemStack stack, @Nullable PlayerEntity player) private RunnableConstructors in net.minecraft.entity.vehicle with parameters of type WorldModifierConstructorDescriptionAbstractBoatEntity(EntityType<? extends AbstractBoatEntity> type, World world, Supplier<Item> itemSupplier) AbstractChestBoatEntity(EntityType<? extends AbstractChestBoatEntity> type, World world, Supplier<Item> itemSupplier) protectedAbstractMinecartEntity(EntityType<?> type, World world) protectedAbstractMinecartEntity(EntityType<?> type, World world, double x, double y, double z) BoatEntity(EntityType<? extends BoatEntity> type, World world, Supplier<Item> itemSupplier) ChestBoatEntity(EntityType<? extends ChestBoatEntity> type, World world, Supplier<Item> itemSupplier) ChestMinecartEntity(EntityType<? extends ChestMinecartEntity> type, World world) ChestRaftEntity(EntityType<? extends ChestRaftEntity> type, World world, Supplier<Item> itemSupplier) CommandBlockMinecartEntity(EntityType<? extends CommandBlockMinecartEntity> type, World world) FurnaceMinecartEntity(EntityType<? extends FurnaceMinecartEntity> type, World world) HopperMinecartEntity(EntityType<? extends HopperMinecartEntity> type, World world) MinecartEntity(EntityType<?> type, World world) RaftEntity(EntityType<? extends RaftEntity> type, World world, Supplier<Item> itemSupplier) SpawnerMinecartEntity(EntityType<? extends SpawnerMinecartEntity> type, World world) protectedStorageMinecartEntity(EntityType<?> type, World world) TntMinecartEntity(EntityType<? extends TntMinecartEntity> type, World world) VehicleEntity(EntityType<?> type, World world) -
Uses of World in net.minecraft.fluid
Methods in net.minecraft.fluid with parameters of type WorldModifier and TypeMethodDescriptionprotected intFlowableFluid.getNextTickDelay(World world, BlockPos pos, FluidState oldState, FluidState newState) intLavaFluid.getNextTickDelay(World world, BlockPos pos, FluidState oldState, FluidState newState) protected voidFluid.onEntityCollision(World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) voidFluidState.onEntityCollision(World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) protected voidLavaFluid.onEntityCollision(World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) protected voidWaterFluid.onEntityCollision(World world, BlockPos pos, Entity entity, EntityCollisionHandler handler) 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) -
Uses of World in net.minecraft.inventory
Methods in net.minecraft.inventory that return World -
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 with parameters of type WorldModifier and TypeMethodDescriptionprivate voidBrushItem.addDustParticles(World world, BlockHitResult hitResult, BlockState state, Vec3d userRotation, Arm arm) static ActionResultLeadItem.attachHeldMobsToBlock(PlayerEntity player, World world, BlockPos pos) booleanDebugStickItem.canMine(ItemStack stack, BlockState state, World world, BlockPos pos, LivingEntity user) Returns whether a player can break a block while holding the item.booleanItem.canMine(ItemStack stack, BlockState state, World world, BlockPos pos, LivingEntity user) Returns whether a player can break a block while holding the item.booleanItemStack.canMine(BlockState state, World world, BlockPos pos, PlayerEntity player) LeadItem.collectLeashablesAround(World world, BlockPos pos, Predicate<Leashable> predicate) static ActionResultItemUsage.consumeHeldItem(World world, PlayerEntity player, Hand hand) Consumes the item thatplayerholds.private static voidBlockItem.copyComponentsToBlockEntity(World world, BlockPos pos, ItemStack stack) static Item.TooltipContextArrowItem.createArrow(World world, ItemStack stack, LivingEntity shooter, @Nullable ItemStack shotFrom) SpectralArrowItem.createArrow(World world, ItemStack stack, LivingEntity shooter, @Nullable ItemStack shotFrom) protected ProjectileEntityCrossbowItem.createArrowEntity(World world, LivingEntity shooter, ItemStack weaponStack, ItemStack projectileStack, boolean critical) protected ProjectileEntityRangedWeaponItem.createArrowEntity(World world, LivingEntity shooter, ItemStack weaponStack, ItemStack projectileStack, boolean critical) ArrowItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) private @Nullable AbstractBoatEntityBoatItem.createEntity(World world, HitResult hitResult, ItemStack stack, PlayerEntity player) EggItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) ExperienceBottleItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) FireChargeItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) FireworkRocketItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) protected PotionEntityLingeringPotionItem.createEntity(World world, Position pos, ItemStack stack) ProjectileItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) SnowballItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) SpectralArrowItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) protected PotionEntitySplashPotionItem.createEntity(World world, Position pos, ItemStack stack) protected abstract PotionEntityThrowablePotionItem.createEntity(World world, Position pos, ItemStack stack) ThrowablePotionItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) TridentItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) WindChargeItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) private voidBundleItem.dropContentsOnUse(World world, PlayerEntity player, ItemStack stack) 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) SpyglassItem.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 MapIdComponent id, World world) FilledMapItem.getMapState(ItemStack map, World world) voidItemStack.inventoryTick(World world, Entity entity, @Nullable EquipmentSlot slot) private static voidMaceItem.knockbackNearbyEntities(World world, Entity attacker, Entity attacked) voidCalled when the item is made by crafting, smelting, smithing, etc.voidCalled when the item is made by crafting, smelting, smithing, etc.voidItemStack.onCraftByCrafter(World world) voidvoiddefault voidFluidModificationItem.onEmptied(@Nullable LivingEntity user, World world, ItemStack stack, BlockPos pos) booleanBowItem.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.booleanCrossbowItem.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.booleanItem.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) booleanSpyglassItem.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.booleanTridentItem.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 LivingEntity user, World world, BlockPos pos, @Nullable BlockHitResult hitResult) booleanFluidModificationItem.placeFluid(@Nullable LivingEntity user, World world, BlockPos pos, @Nullable BlockHitResult hitResult) booleanPowderSnowBucketItem.placeFluid(@Nullable LivingEntity user, World world, BlockPos pos, @Nullable BlockHitResult hitResult) private BlockStateBlockItem.placeFromNbt(BlockPos pos, World world, ItemStack stack, BlockState state) private static voidBundleItem.playDropContentsSound(World world, Entity entity) 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) 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.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) protected static BlockHitResultItem.raycast(World world, PlayerEntity player, RaycastContext.FluidHandling fluidHandling) voidCrossbowItem.shootAll(World world, LivingEntity shooter, Hand hand, ItemStack stack, float speed, float divergence, @Nullable LivingEntity target) private Optional<BlockState> AxeItem.tryStrip(World world, BlockPos pos, @Nullable PlayerEntity player, BlockState state) 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.voidBundleItem.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) 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.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.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.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.SnowballItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.SpawnEggItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.SplashPotionItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.SpyglassItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.ThrowablePotionItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.TridentItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.WindChargeItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.WritableBookItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.WrittenBookItem.use(World world, PlayerEntity user, Hand hand) Called when the player uses (or starts using) the item.static 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 MapIdComponentFilledMapItem.allocateMapId(ServerWorld serverWorld, int x, int z, int scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension) 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.consume
Methods in net.minecraft.item.consume with parameters of type WorldModifier and TypeMethodDescriptionbooleanApplyEffectsConsumeEffect.onConsume(World world, ItemStack stack, LivingEntity user) booleanClearAllEffectsConsumeEffect.onConsume(World world, ItemStack stack, LivingEntity user) booleanConsumeEffect.onConsume(World world, ItemStack stack, LivingEntity user) booleanPlaySoundConsumeEffect.onConsume(World world, ItemStack stack, LivingEntity user) booleanRemoveEffectsConsumeEffect.onConsume(World world, ItemStack stack, LivingEntity user) booleanTeleportRandomlyConsumeEffect.onConsume(World world, ItemStack stack, LivingEntity user) -
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 showDecorations, 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 showDecorations, boolean unlimitedTracking, boolean locked, RegistryKey<World> dimension) privateMapState(RegistryKey<World> dimension, int centerX, int centerZ, byte scale, ByteBuffer colors, boolean showDecorations, boolean unlimitedTracking, boolean locked, List<MapBannerMarker> banners, List<MapFrameMarker> frames) -
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.custom
Fields in net.minecraft.network.packet.s2c.custom with type parameters of type WorldModifier and TypeFieldDescriptionprivate final RegistryKey<World> DebugStructuresCustomPayload.dimensionThe field for thedimensionrecord component.Methods in net.minecraft.network.packet.s2c.custom that return types with arguments of type WorldModifier and TypeMethodDescriptionDebugStructuresCustomPayload.dimension()Returns the value of thedimensionrecord component.Constructor parameters in net.minecraft.network.packet.s2c.custom with type arguments of type WorldModifierConstructorDescriptionDebugStructuresCustomPayload(RegistryKey<World> registryKey, BlockBox blockBox, List<DebugStructuresCustomPayload.Piece> list) -
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> CommonPlayerSpawnInfo.dimensionThe field for thedimensionrecord 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 TypeMethodDescriptionCommonPlayerSpawnInfo.dimension()Returns the value of thedimensionrecord component.GameJoinS2CPacket.dimensionIds()Returns the value of thedimensionIdsrecord component.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 WorldModifierConstructorDescriptionCommonPlayerSpawnInfo(RegistryEntry<DimensionType> registryEntry, RegistryKey<World> registryKey, long long2, GameMode gameMode, @Nullable GameMode gameMode2, boolean bool, boolean bool2, Optional<GlobalPos> optional, int int2, int int3) GameJoinS2CPacket(int playerEntityId, boolean bool, Set<RegistryKey<World>> set, int int2, int int3, int int4, boolean bool2, boolean bool3, boolean bool4, CommonPlayerSpawnInfo commonPlayerSpawnInfo, boolean bool5) -
Uses of World in net.minecraft.particle
Methods in net.minecraft.particle 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.predicate.entity
Fields in net.minecraft.predicate.entity with type parameters of type WorldModifier and TypeFieldDescriptionprivate Optional<RegistryKey<World>> LocationPredicate.Builder.dimensionprivate final Optional<RegistryKey<World>> LocationPredicate.dimensionThe field for thedimensionrecord component.Methods in net.minecraft.predicate.entity that return types with arguments of type WorldModifier and TypeMethodDescriptionLocationPredicate.dimension()Returns the value of thedimensionrecord component.Method parameters in net.minecraft.predicate.entity with type arguments of type WorldModifier and TypeMethodDescriptionstatic LocationPredicate.BuilderLocationPredicate.Builder.createDimension(RegistryKey<World> dimension) LocationPredicate.Builder.dimension(RegistryKey<World> dimension) -
Uses of World in net.minecraft.recipe
Methods in net.minecraft.recipe with parameters of type WorldModifier and TypeMethodDescription<I extends RecipeInput,T extends Recipe<I>>
Stream<RecipeEntry<T>> PreparedRecipes.find(RecipeType<T> type, I input, World world) <I extends RecipeInput,T extends Recipe<I>>
Optional<RecipeEntry<T>> ServerRecipeManager.getFirstMatch(RecipeType<T> type, I input, World world) Returns a recipe of the giventypethat match the giveninventoryandworld.<I extends RecipeInput,T extends Recipe<I>>
Optional<RecipeEntry<T>> ServerRecipeManager.getFirstMatch(RecipeType<T> type, I input, World world, @Nullable RecipeEntry<T> recipe) <I extends RecipeInput,T extends Recipe<I>>
Optional<RecipeEntry<T>> ServerRecipeManager.getFirstMatch(RecipeType<T> type, I input, World world, @Nullable RegistryKey<Recipe<?>> recipe) booleanArmorDyeRecipe.matches(CraftingRecipeInput craftingRecipeInput, World world) booleanBannerDuplicateRecipe.matches(CraftingRecipeInput craftingRecipeInput, World world) booleanBookCloningRecipe.matches(CraftingRecipeInput craftingRecipeInput, World world) booleanCraftingDecoratedPotRecipe.matches(CraftingRecipeInput craftingRecipeInput, World world) booleanFireworkRocketRecipe.matches(CraftingRecipeInput craftingRecipeInput, World world) booleanFireworkStarFadeRecipe.matches(CraftingRecipeInput craftingRecipeInput, World world) booleanFireworkStarRecipe.matches(CraftingRecipeInput craftingRecipeInput, World world) booleanMapCloningRecipe.matches(CraftingRecipeInput craftingRecipeInput, World world) booleanMapExtendingRecipe.matches(CraftingRecipeInput craftingRecipeInput, World world) booleanReturns whether this recipe matches the contents inside theinventoryin the givenworld.booleanRepairItemRecipe.matches(CraftingRecipeInput craftingRecipeInput, World world) booleanShapedRecipe.matches(CraftingRecipeInput craftingRecipeInput, World world) booleanShapelessRecipe.matches(CraftingRecipeInput craftingRecipeInput, World world) booleanShieldDecorationRecipe.matches(CraftingRecipeInput craftingRecipeInput, World world) booleanSingleStackRecipe.matches(SingleStackRecipeInput singleStackRecipeInput, World world) default booleanSmithingRecipe.matches(SmithingRecipeInput smithingRecipeInput, World world) booleanTippedArrowRecipe.matches(CraftingRecipeInput craftingRecipeInput, World world) booleanTransmuteRecipe.matches(CraftingRecipeInput craftingRecipeInput, World world) -
Uses of World in net.minecraft.recipe.display
Methods in net.minecraft.recipe.display with parameters of type WorldModifier and TypeMethodDescriptionstatic ContextParameterMapSlotDisplayContexts.createParameters(World world) -
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.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.Constructors in net.minecraft.screen with parameters of type WorldModifierConstructorDescriptionprivateSmithingScreenHandler(int syncId, PlayerInventory playerInventory, ScreenHandlerContext context, World world) -
Uses of World in net.minecraft.screen.slot
Methods in net.minecraft.screen.slot with parameters of type WorldModifier and TypeMethodDescriptionprivate DefaultedList<ItemStack> CraftingResultSlot.getRecipeRemainders(CraftingRecipeInput input, World world) -
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 WorldMethods in net.minecraft.server with parameters 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.dedicated
Methods in net.minecraft.server.dedicated with parameters 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 final RegistryKey<World> ServerPlayerEntity.Respawn.dimensionThe field for thedimensionrecord component.Methods in net.minecraft.server.network that return types with arguments of type WorldModifier and TypeMethodDescriptionServerPlayerEntity.Respawn.dimension()Returns the value of thedimensionrecord component.(package private) static RegistryKey<World> ServerPlayerEntity.Respawn.getDimension(@Nullable ServerPlayerEntity.Respawn respawn) Methods in net.minecraft.server.network with parameters of type WorldModifier and TypeMethodDescriptionDemoServerPlayerInteractionManager.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, RegistryEntry<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) static voidDebugInfoSender.sendRedstoneUpdateOrder(World world, DebugRedstoneUpdateOrderCustomPayload payload) Constructor parameters in net.minecraft.server.network with type arguments of type WorldModifierConstructorDescriptionRespawn(RegistryKey<World> registryKey, BlockPos blockPos, float float2, boolean bool) -
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(List<ServerPlayerEntity> players, World world, BlockPos pos) private voidChunkHolder.tryUpdateBlockEntityAt(List<ServerPlayerEntity> players, 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<SpecialSpawner> spawners, boolean shouldTickTime, @Nullable RandomSequencesState randomSequencesState) -
Uses of World in net.minecraft.sound
Methods in net.minecraft.sound with parameters of type WorldModifier and TypeMethodDescriptionprivate static booleanAmbientDesertBlockSounds.shouldPlayAmbientSoundAt(World world, BlockPos pos) static voidAmbientDesertBlockSounds.tryPlayAmbientSounds(BlockState state, World world, BlockPos pos, Random random) -
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 TypeMethodDescriptionstatic voidItemScatterer.onStateReplaced(BlockState state, World world, BlockPos pos) private 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 WorldModifier and TypeFieldDescriptionprivate final RegistryKey<World> GlobalPos.dimensionThe field for thedimensionrecord component.Methods in net.minecraft.util.math that return types with arguments of type WorldModifier and TypeMethodDescriptionGlobalPos.dimension()Returns the value of thedimensionrecord component.Method parameters in net.minecraft.util.math with type arguments of type WorldModifier and TypeMethodDescriptionstatic GlobalPosGlobalPos.create(RegistryKey<World> dimension, BlockPos pos) booleanGlobalPos.isWithinRange(RegistryKey<World> dimension, BlockPos otherPos, int maxDistance) Constructor parameters in net.minecraft.util.math with type arguments of type WorldModifierConstructorDescriptionGlobalPos(RegistryKey<World> dimension, BlockPos pos) Creates an instance of aGlobalPosrecord class. -
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) FlightProfiler.NoopProfiler.startStructureGenerationProfiling(ChunkPos chunkPos, RegistryKey<World> world, RegistryEntry<Structure> structure) FlightProfiler.startStructureGenerationProfiling(ChunkPos chunkPos, RegistryKey<World> world, RegistryEntry<Structure> structure) JfrProfiler.startStructureGenerationProfiling(ChunkPos chunkPos, RegistryKey<World> world, RegistryEntry<Structure> structure) -
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) StructureGenerationEvent(ChunkPos chunkPos, RegistryEntry<Structure> structure, RegistryKey<World> dimension) -
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 TypeMethodDescriptionprivate intDefaultRedstoneController.calculateTotalPowerAt(World world, BlockPos pos) protected intRedstoneController.calculateWirePowerAt(World world, BlockPos pos) booleanprivate static BlockPosSpawnHelper.getRandomPosInChunkSection(World world, WorldChunk chunk) protected intRedstoneController.getStrongPowerAt(World world, BlockPos pos) private voidExperimentalRedstoneController.propagatePowerUpdates(World world, BlockPos pos, WireOrientation orientation) private voidExperimentalRedstoneController.spreadPowerUpdateTo(World world, BlockPos neighborPos, int power, WireOrientation orientation, boolean canIncreasePower) private voidExperimentalRedstoneController.spreadPowerUpdateToNeighbors(World world, BlockPos pos, int power, WireOrientation orientation, boolean canIncreasePower) private static WireOrientationExperimentalRedstoneController.tweakOrientation(World world, @Nullable WireOrientation orientation) voidDefaultRedstoneController.update(World world, BlockPos pos, BlockState state, @Nullable WireOrientation orientation, boolean blockAdded) private voidvoidExperimentalRedstoneController.update(World world, BlockPos pos, BlockState state, @Nullable WireOrientation orientation, boolean blockAdded) abstract voidRedstoneController.update(World world, BlockPos pos, BlockState state, @Nullable WireOrientation orientation, boolean blockAdded) 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, boolean isClient, boolean debugWorld, long seed, 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 @Nullable WireOrientationOrientationHelper.getEmissionOrientation(World world, @Nullable Direction up, @Nullable Direction front) static voidNeighborUpdater.tryNeighborUpdate(World world, BlockState state, BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation, 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
Methods in net.minecraft.world.explosion with parameters of type WorldModifier and TypeMethodDescriptionstatic DamageSourceExplosion.createDamageSource(World world, @Nullable Entity source) -
Uses of World in net.minecraft.world.gen.chunk
Method parameters in net.minecraft.world.gen.chunk with type arguments of type WorldModifier and TypeMethodDescriptionvoidChunkGenerator.setStructureStarts(DynamicRegistryManager registryManager, StructurePlacementCalculator placementCalculator, StructureAccessor structureAccessor, Chunk chunk, StructureTemplateManager structureTemplateManager, RegistryKey<World> dimension) Determines which structures should start in the given chunk and creates their starting points.private booleanChunkGenerator.trySetStructureStart(StructureSet.WeightedEntry weightedEntry, StructureAccessor structureAccessor, DynamicRegistryManager dynamicRegistryManager, NoiseConfig noiseConfig, StructureTemplateManager structureManager, long seed, Chunk chunk, ChunkPos pos, ChunkSectionPos sectionPos, RegistryKey<World> dimension) -
Uses of World in net.minecraft.world.gen.structure
Method parameters in net.minecraft.world.gen.structure with type arguments of type WorldModifier and TypeMethodDescriptionStructure.createStructureStart(RegistryEntry<Structure> structure, RegistryKey<World> dimension, DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, NoiseConfig noiseConfig, StructureTemplateManager structureTemplateManager, long seed, ChunkPos chunkPos, int references, HeightLimitView world, Predicate<RegistryEntry<Biome>> validBiomes) -
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
Fields in net.minecraft.world.storage with type parameters of type WorldModifier and TypeFieldDescriptionprivate final RegistryKey<World> StorageKey.dimensionThe field for thedimensionrecord component.Methods in net.minecraft.world.storage that return types with arguments of type WorldModifier and TypeMethodDescriptionStorageKey.dimension()Returns the value of thedimensionrecord component.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.MapCodec<? extends ChunkGenerator>>> generatorCodecKey) VersionedChunkStorage.updateChunkNbt(RegistryKey<World> worldKey, Supplier<PersistentStateManager> persistentStateManagerFactory, NbtCompound nbt, Optional<RegistryKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> generatorCodecKey) Constructor parameters in net.minecraft.world.storage with type arguments of type WorldModifierConstructorDescriptionStorageKey(String string, RegistryKey<World> registryKey, String string2) -
Uses of World in net.minecraft.world.updater
Fields in net.minecraft.world.updater with type parameters of type WorldModifier and TypeFieldDescriptionprivate final RegistryKey<World> WorldUpdater.WorldData.dimensionKeyThe field for thedimensionKeyrecord component.(package private) final Reference2FloatMap<RegistryKey<World>> WorldUpdater.dimensionProgress(package private) final Set<RegistryKey<World>> WorldUpdater.worldKeysMethods in net.minecraft.world.updater that return types with arguments of type WorldModifier and TypeMethodDescriptionWorldUpdater.WorldData.dimensionKey()Returns the value of thedimensionKeyrecord component.WorldUpdater.getWorlds()Method parameters in net.minecraft.world.updater with type arguments of type WorldModifier and TypeMethodDescriptionfloatWorldUpdater.getProgress(RegistryKey<World> world) protected booleanWorldUpdater.ChunkPosKeyedStorageUpdate.update(ChunkPosKeyedStorage chunkPosKeyedStorage, ChunkPos chunkPos, RegistryKey<World> registryKey) protected booleanWorldUpdater.RegionUpdate.update(VersionedChunkStorage versionedChunkStorage, ChunkPos chunkPos, RegistryKey<World> registryKey) private booleanWorldUpdater.Update.update(RegistryKey<World> worldKey, T storage, ChunkPos chunkPos) protected abstract booleanWorldUpdater.Update.update(T storage, ChunkPos chunkPos, RegistryKey<World> worldKey) Constructor parameters in net.minecraft.world.updater with type arguments of type WorldModifierConstructorDescription(package private)WorldData(RegistryKey<World> registryKey, T t, ListIterator<WorldUpdater.Region> listIterator)