Uses of Class
net.minecraft.world.World
Packages that use World
Package
Description
The basic AI system for Minecraft living entities.
-
Uses of World in net.minecraft.advancement.criterion
Fields in net.minecraft.advancement.criterion with type parameters of type WorldModifier and TypeFieldDescriptionprivate final @Nullable RegistryKey<World>ChangedDimensionCriterion.Conditions.fromprivate final @Nullable RegistryKey<World>ChangedDimensionCriterion.Conditions.toMethod parameters in net.minecraft.advancement.criterion with type arguments of type WorldModifier and TypeMethodDescriptionChangedDimensionCriterion.Conditions.create(RegistryKey<World> from, RegistryKey<World> to) ChangedDimensionCriterion.Conditions.from(RegistryKey<World> from) booleanChangedDimensionCriterion.Conditions.matches(RegistryKey<World> from, RegistryKey<World> to) ChangedDimensionCriterion.Conditions.to(RegistryKey<World> to) voidChangedDimensionCriterion.trigger(ServerPlayerEntity player, RegistryKey<World> from, RegistryKey<World> to) Constructor parameters in net.minecraft.advancement.criterion with type arguments of type WorldModifierConstructorDescriptionConditions(EntityPredicate.Extended player, @Nullable RegistryKey<World> from, @Nullable RegistryKey<World> to) -
Uses of World in net.minecraft.block
Fields in net.minecraft.block declared as WorldMethods in net.minecraft.block with parameters of type WorldModifier and TypeMethodDescriptionprivate booleanSpongeBlock.absorbWater(World world, BlockPos pos) private voidHoneyBlock.addCollisionEffects(World world, Entity entity) private voidBeehiveBlock.addHoneyParticle(World world, double minX, double maxX, double minZ, double maxZ, double height) private voidBeehiveBlock.addHoneyParticle(World world, BlockPos pos, VoxelShape shape, double height) private voidRedstoneWireBlock.addPoweredParticles(World world, Random random, BlockPos pos, Vec3d color, Direction direction, Direction direction2, float float2, float float3) voidBeehiveBlock.afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack) voidBlock.afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack) voidIceBlock.afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack) voidTallPlantBlock.afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack) voidTurtleEggBlock.afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack) private voidBeehiveBlock.angerNearbyBees(World world, BlockPos pos) voidCropBlock.applyGrowth(World world, BlockPos pos, BlockState state) private voidTurtleEggBlock.breakEgg(World world, BlockPos pos, BlockState state) private booleanprivate voidFrogspawnBlock.breakWithoutDrop(World world, BlockPos pos) private intComparatorBlock.calculateOutputSignal(World world, BlockPos pos, BlockState state) static booleanEnchantingTableBlock.canAccessBookshelf(World world, BlockPos tablePos, BlockPos bookshelfOffset) static booleanWitherSkullBlock.canDispense(World world, BlockPos pos, ItemStack stack) protected static booleanCauldronBlock.canFillWithPrecipitation(World world, Biome.Precipitation precipitation) booleanAbstractPlantBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanAbstractPlantStemBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanAzaleaBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanBambooBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanBambooSaplingBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanBigDripleafBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanBigDripleafStemBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanCaveVinesBodyBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanCaveVinesHeadBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanCocoaBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanCropBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanFernBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanFertilizable.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanFungusBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanGlowLichenBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanGrassBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanMangroveLeavesBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanMossBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanMushroomPlantBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanNetherrackBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanNyliumBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanPropaguleBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanRootedDirtBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanSaplingBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanSeagrassBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanSeaPickleBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanSmallDripleafBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanStemBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanSweetBerryBushBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanTallFlowerBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) private static booleanShulkerBoxBlock.canOpen(BlockState state, World world, BlockPos pos, ShulkerBoxBlockEntity entity) static 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 voidRespawnAnchorBlock.charge(World world, BlockPos pos, BlockState state) protected static <T extends BlockEntity>
@Nullable BlockEntityTicker<T>AbstractFurnaceBlock.checkType(World world, BlockEntityType<T> givenType, BlockEntityType<? extends AbstractFurnaceBlockEntity> expectedType) static voidPointedDripstoneBlock.createParticle(World world, BlockPos pos, BlockState state) private static voidPointedDripstoneBlock.createParticle(World world, BlockPos pos, BlockState state, Fluid fluid) AbstractBlock.AbstractBlockState.createScreenHandlerFactory(World world, BlockPos pos) AbstractBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) Deprecated.AnvilBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) BlockWithEntity.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) CartographyTableBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) ChestBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) CraftingTableBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) EnchantingTableBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) GrindstoneBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) LecternBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) LoomBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) SmithingTableBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) StonecutterBlock.createScreenHandlerFactory(BlockState state, World world, BlockPos pos) static voidLeveledCauldronBlock.decrementFluidLevel(BlockState state, World world, BlockPos pos) private voidprivate voidLecternBlock.dropBook(BlockState state, World world, BlockPos pos) static voidBeehiveBlock.dropHoneycomb(World world, BlockPos pos) private static voidBlock.dropStack(World world, Supplier<ItemEntity> itemEntitySupplier, ItemStack stack) static voidstatic voidstatic voidBlock.dropStacks(BlockState state, World world, BlockPos pos) static voidBlock.dropStacks(BlockState state, World world, BlockPos pos, @Nullable BlockEntity blockEntity, Entity entity, ItemStack stack) static BlockStateComposterBlock.emptyFullComposter(BlockState state, World world, BlockPos pos) private voidCommandBlock.execute(BlockState state, World world, BlockPos pos, CommandBlockExecutor executor, boolean hasCommand) private static voidCommandBlock.executeCommandChain(World world, BlockPos pos, Direction facing) private voidRespawnAnchorBlock.explode(BlockState state, World world, BlockPos explodedPos) protected voidAbstractCauldronBlock.fillFromDripstone(BlockState state, World world, BlockPos pos, Fluid fluid) protected voidCauldronBlock.fillFromDripstone(BlockState state, World world, BlockPos pos, Fluid fluid) protected voidLeveledCauldronBlock.fillFromDripstone(BlockState state, World world, BlockPos pos, Fluid fluid) private @Nullable ItemFrameEntityComparatorBlock.getAttachedItemFrame(World world, Direction facing, BlockPos pos) abstract DoubleBlockProperties.PropertySource<? extends ChestBlockEntity>AbstractChestBlock.getBlockEntitySource(BlockState state, World world, BlockPos pos, boolean ignoreBlocked) ChestBlock.getBlockEntitySource(BlockState state, World world, BlockPos pos, boolean ignoreBlocked) EnderChestBlock.getBlockEntitySource(BlockState state, World world, BlockPos pos, boolean ignoreBlocked) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>AbstractBlock.AbstractBlockState.getBlockEntityTicker(World world, BlockEntityType<T> blockEntityType) private <T extends AbstractMinecartEntity>
List<T>DetectorRailBlock.getCarts(World world, BlockPos pos, Class<T> entityClass, Predicate<Entity> entityPredicate) PointedDripstoneBlock.getCauldronPos(World world, BlockPos pos, Fluid fluid) intAbstractBlock.AbstractBlockState.getComparatorOutput(World world, BlockPos pos) intAbstractBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) Deprecated.intAbstractFurnaceBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intBarrelBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intBeehiveBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intBrewingStandBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intCakeBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intCandleCakeBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intChestBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intCommandBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intComposterBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intDetectorRailBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intDispenserBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intEndPortalFrameBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intHopperBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intJukeboxBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intLavaCauldronBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intLecternBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intLeveledCauldronBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intRespawnAnchorBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intSculkSensorBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) intShulkerBoxBlock.getComparatorOutput(BlockState state, World world, BlockPos pos) private static FluidPointedDripstoneBlock.getDripFluid(World world, Fluid fluid) PointedDripstoneBlock.getDripPos(World world, BlockPos pos) private static Optional<PointedDripstoneBlock.DrippingFluid>PointedDripstoneBlock.getFluid(World world, BlockPos pos, BlockState state) protected intBeetrootsBlock.getGrowthAmount(World world) protected intCropBlock.getGrowthAmount(World world) ChestBlock.getInventory(ChestBlock block, BlockState state, World world, BlockPos pos, boolean ignoreBlocked) protected intAbstractRedstoneGateBlock.getPower(World world, BlockPos pos, BlockState state) protected intComparatorBlock.getPower(World world, BlockPos pos, BlockState state) private intRedstoneWireBlock.getReceivedRedstonePower(World world, BlockPos pos) protected abstract intAbstractPressurePlateBlock.getRedstoneOutput(World world, BlockPos pos) protected intPressurePlateBlock.getRedstoneOutput(World world, BlockPos pos) protected intWeightedPressurePlateBlock.getRedstoneOutput(World world, BlockPos pos) PointedDripstoneBlock.getSupportingPos(World world, BlockPos pos, BlockState state, int range) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>AbstractSkullBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>BeaconBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>BeehiveBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>BellBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>BlastFurnaceBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) default <T extends BlockEntity>
@Nullable BlockEntityTicker<T>BlockEntityProvider.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>BrewingStandBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>CampfireBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>ChestBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>ConduitBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>DaylightDetectorBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>EnchantingTableBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>EnderChestBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>EndGatewayBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>FurnaceBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>HopperBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>JukeboxBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>PistonExtensionBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>SculkCatalystBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>SculkSensorBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>SculkShriekerBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>ShulkerBoxBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>SmokerBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) <T extends BlockEntity>
@Nullable BlockEntityTicker<T>SpawnerBlock.getTicker(World world, BlockState state, BlockEntityType<T> type) protected voidprivate voidprivate booleanprotected booleanAbstractRedstoneGateBlock.hasPower(World world, BlockPos pos, BlockState state) protected booleanComparatorBlock.hasPower(World world, BlockPos pos, BlockState state) private static booleanRespawnAnchorBlock.hasStillWater(BlockPos pos, World world) private booleanFrostedIceBlock.increaseAge(BlockState state, World world, BlockPos pos) static booleanBedBlock.isBedWorking(World world) Returns whether the world's dimension type allows beds to be respawned at and slept in without exploding.private static booleanRedstoneTorchBlock.isBurnedOut(World world, BlockPos pos, boolean addNew) static booleanCampfireBlock.isLitCampfireInRange(World world, BlockPos pos) static booleanPistonBlock.isMovable(BlockState state, World world, BlockPos pos, Direction direction, boolean canBreak, Direction pistonDir) static booleanprivate static booleanAbstractFireBlock.isOverworldOrNether(World world) protected booleanPoweredRailBlock.isPoweredByOtherRails(World world, BlockPos pos, boolean bool, int distance, RailShape shape) protected booleanPoweredRailBlock.isPoweredByOtherRails(World world, BlockPos pos, BlockState state, boolean bool, int distance) static booleanprotected booleanFireBlock.isRainingAround(World world, BlockPos pos) static booleanDoorBlock.isWoodenDoor(World world, BlockPos pos) private static voidRedstoneOreBlock.light(BlockState state, World world, BlockPos pos) protected voidIceBlock.melt(BlockState state, World world, BlockPos pos) private booleanvoidAbstractBlock.AbstractBlockState.neighborUpdate(World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) Deprecated.voidAbstractBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidAbstractRailBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidAbstractRedstoneGateBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidBellBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidBigDripleafBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidCommandBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidDispenserBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidDoorBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidFenceGateBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidFluidBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidFrostedIceBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidHopperBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidNoteBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidPistonBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidPistonHeadBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidRedstoneLampBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidRedstoneTorchBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidRedstoneWireBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidSpongeBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidStructureBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidTntBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidTrapdoorBlock.neighborUpdate(BlockState state, World world, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) voidAbstractBlock.AbstractBlockState.onBlockAdded(World world, BlockPos pos, BlockState state, boolean notify) voidAbstractBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) Deprecated.voidAbstractFireBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidAbstractRailBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidAbstractRedstoneGateBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidCarvedPumpkinBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidComposterBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidCoralBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidCoralFanBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidCoralWallFanBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidDetectorRailBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidFallingBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidFireBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidFluidBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidFrogspawnBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidHopperBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidLightningRodBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidMagmaBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidObserverBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidPistonBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidRedstoneTorchBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidRedstoneWireBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidScaffoldingBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidSculkSensorBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidSoulSandBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidSpongeBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidStairsBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidTargetBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidTntBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidTripwireBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidTurtleEggBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidWetSpongeBlock.onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) voidAbstractBlock.AbstractBlockState.onBlockBreakStart(World world, BlockPos pos, PlayerEntity player) voidAbstractBlock.onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player) voidDragonEggBlock.onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player) voidNoteBlock.onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player) voidRedstoneOreBlock.onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player) voidStairsBlock.onBlockBreakStart(BlockState state, World world, BlockPos pos, PlayerEntity player) voidAbstractFireBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) voidBedBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) voidBeehiveBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) voidBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) voidDoorBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) voidPistonHeadBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) voidShulkerBoxBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) voidTallPlantBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) voidTntBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) voidTripwireBlock.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) protected static voidTallPlantBlock.onBreakInCreative(World world, BlockPos pos, BlockState state, PlayerEntity player) Destroys a bottom half of a tall double block (such as a plant or a door) without dropping an item when broken in creative.voidBlock.onDestroyedByExplosion(World world, BlockPos pos, Explosion explosion) Called when this block is destroyed by an explosion.voidStairsBlock.onDestroyedByExplosion(World world, BlockPos pos, Explosion explosion) Called when this block is destroyed by an explosion.voidTntBlock.onDestroyedByExplosion(World world, BlockPos pos, Explosion explosion) Called when this block is destroyed by an explosion.voidAnvilBlock.onDestroyedOnLanding(World world, BlockPos pos, FallingBlockEntity fallingBlockEntity) default voidLandingBlock.onDestroyedOnLanding(World world, BlockPos pos, FallingBlockEntity fallingBlockEntity) voidPointedDripstoneBlock.onDestroyedOnLanding(World world, BlockPos pos, FallingBlockEntity fallingBlockEntity) voidAbstractBlock.AbstractBlockState.onEntityCollision(World world, BlockPos pos, Entity entity) voidAbstractBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Deprecated.voidAbstractButtonBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidAbstractFireBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidAbstractPressurePlateBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidBigDripleafBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidBubbleColumnBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidCactusBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidCampfireBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidCobwebBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidCropBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidDetectorRailBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidEndPortalBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidFrogspawnBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidHoneyBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidHopperBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidLavaCauldronBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidLeveledCauldronBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidLilyPadBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidNetherPortalBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidPowderSnowBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidSweetBerryBushBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidTripwireBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) voidWitherRoseBlock.onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) protected voidLeveledCauldronBlock.onFireCollision(BlockState state, World world, BlockPos pos) protected voidPowderSnowCauldronBlock.onFireCollision(BlockState state, World world, BlockPos pos) voidBedBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) voidBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) voidFarmlandBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) voidHayBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) voidHoneyBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) voidPointedDripstoneBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) voidPowderSnowBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) voidSlimeBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) voidTurtleEggBlock.onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) voidAnvilBlock.onLanding(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity) voidConcretePowderBlock.onLanding(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity) default voidLandingBlock.onLanding(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity) voidAbstractBannerBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) voidAbstractFurnaceBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidAbstractRedstoneGateBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidBarrelBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) voidBeaconBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidBedBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) voidBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) voidBrewingStandBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidChestBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidCommandBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidConduitBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) voidDispenserBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidDoorBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidEnchantingTableBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidHopperBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidJukeboxBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) voidPistonBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidPlayerSkullBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) voidShulkerBoxBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidSmallDripleafBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidStructureBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) voidTallPlantBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidTripwireHookBlock.onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) voidWallPlayerSkullBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) voidWallWitherSkullBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) voidWitherSkullBlock.onPlaced(World world, BlockPos pos, BlockState state, @Nullable LivingEntity placer, ItemStack itemStack) static voidWitherSkullBlock.onPlaced(World world, BlockPos pos, SkullBlockEntity blockEntity) voidAbstractBlock.AbstractBlockState.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) voidAbstractBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) voidAbstractCandleBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) voidAmethystBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) voidBellBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) voidBigDripleafBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) voidCampfireBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) voidChorusFlowerBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) voidLightningRodBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) voidPointedDripstoneBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) voidTargetBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) voidTntBlock.onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile) voidAbstractBlock.AbstractBlockState.onStateReplaced(World world, BlockPos pos, BlockState state, boolean moved) voidAbstractBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Deprecated.voidAbstractButtonBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidAbstractFurnaceBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidAbstractPressurePlateBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidAbstractRailBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidAbstractRedstoneGateBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidBarrelBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidBrewingStandBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidCampfireBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidChestBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidDispenserBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidHopperBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidJukeboxBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidLecternBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidLeverBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidLightningRodBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidObserverBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidPistonExtensionBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidPistonHeadBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidRedstoneTorchBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidRedstoneWireBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidSculkSensorBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidSculkShriekerBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidShulkerBoxBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidStairsBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidTripwireBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidTripwireHookBlock.onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.voidBlock.onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.voidMagmaBlock.onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.voidRedstoneOreBlock.onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.voidSculkSensorBlock.onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.voidSculkShriekerBlock.onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.voidSlimeBlock.onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.voidStairsBlock.onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.voidTurtleEggBlock.onSteppedOn(World world, BlockPos pos, BlockState state, Entity entity) Called when an entity steps on this block.booleanAbstractBlock.AbstractBlockState.onSyncedBlockEvent(World world, BlockPos pos, int type, int data) booleanAbstractBlock.onSyncedBlockEvent(BlockState state, World world, BlockPos pos, int type, int data) Deprecated.booleanBlockWithEntity.onSyncedBlockEvent(BlockState state, World world, BlockPos pos, int type, int data) booleanComparatorBlock.onSyncedBlockEvent(BlockState state, World world, BlockPos pos, int type, int data) booleanNoteBlock.onSyncedBlockEvent(BlockState state, World world, BlockPos pos, int type, int data) booleanPistonBlock.onSyncedBlockEvent(BlockState state, World world, BlockPos pos, int type, int data) AbstractBlock.AbstractBlockState.onUse(World world, PlayerEntity player, Hand hand, BlockHitResult hit) AbstractBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) AbstractButtonBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.AbstractCauldronBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.AbstractFurnaceBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.AbstractSignBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.AnvilBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BarrelBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BeaconBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BedBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BeehiveBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BellBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.BrewingStandBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CakeBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CampfireBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CandleBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CandleCakeBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CartographyTableBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CaveVinesBodyBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CaveVinesHeadBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ChestBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CommandBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ComparatorBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ComposterBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.CraftingTableBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.DaylightDetectorBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.DispenserBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.DoorBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.DragonEggBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.EnchantingTableBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.EnderChestBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.FenceBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.FenceGateBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.FletchingTableBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.FlowerPotBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.GrindstoneBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.HopperBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.JigsawBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.JukeboxBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.LecternBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.LeverBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.LightBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.LoomBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.NoteBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.PistonExtensionBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.PumpkinBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.RedstoneOreBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.RedstoneWireBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.RepeaterBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.RespawnAnchorBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.ShulkerBoxBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.SmithingTableBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.StairsBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.StonecutterBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.StructureBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.SweetBerryBushBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.TntBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.TrapdoorBlock.onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) Called when this block is used by a player.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(BlockState state, World world, BlockPos pos) static voidComposterBlock.playEffects(World world, BlockPos pos, boolean fill) private voidprivate voidDoorBlock.playOpenCloseSound(World world, BlockPos pos, boolean open) private voidTripwireHookBlock.playSound(World world, BlockPos pos, boolean attached, boolean on, boolean detached, boolean off) private static voidBigDripleafBlock.playTiltSound(World world, BlockPos pos, SoundEvent soundEvent) protected voidTrapdoorBlock.playToggleSound(@Nullable PlayerEntity player, World world, BlockPos pos, boolean open) voidAbstractButtonBlock.powerOn(BlockState state, World world, BlockPos pos) voidBlock.precipitationTick(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation) voidCauldronBlock.precipitationTick(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation) voidLeveledCauldronBlock.precipitationTick(BlockState state, World world, BlockPos pos, Biome.Precipitation precipitation) static voidprivate static voidTntBlock.primeTnt(World world, BlockPos pos, @Nullable LivingEntity igniter) private static voidLecternBlock.putBook(@Nullable PlayerEntity player, World world, BlockPos pos, BlockState state, ItemStack stack) static booleanLecternBlock.putBookIfAbsent(@Nullable PlayerEntity player, World world, BlockPos pos, BlockState state, ItemStack stack) voidAbstractCandleBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidAbstractFireBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidBeehiveBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidBlastFurnaceBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidBrewingStandBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidBubbleColumnBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidCampfireBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidCryingObsidianBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidEnchantingTableBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidEnderChestBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidEndGatewayBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidEndPortalBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidEndRodBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidFallingBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidFurnaceBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidLeavesBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidLeverBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidLightningRodBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidMyceliumBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidNetherPortalBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidPointedDripstoneBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidRedstoneOreBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidRedstoneTorchBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidRedstoneWireBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidRepeaterBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidRespawnAnchorBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidSculkSensorBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidSmokerBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidSporeBlossomBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidStairsBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidTorchBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidWallRedstoneTorchBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidWallTorchBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidWetSpongeBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidWitherRoseBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) private booleanFluidBlock.receiveNeighborFluids(World world, BlockPos pos, BlockState state) private voidJukeboxBlock.removeRecord(World world, BlockPos pos) private static voidBigDripleafBlock.resetTilt(BlockState state, World world, BlockPos pos) booleanbooleanBellBlock.ring(World world, BlockState state, BlockHitResult hitResult, @Nullable PlayerEntity player, boolean bool) booleanstatic voidSculkSensorBlock.setActive(@Nullable Entity entity, World world, BlockPos pos, BlockState state, int power) static voidSculkSensorBlock.setCooldown(World world, BlockPos pos, BlockState state) static voidLecternBlock.setHasBook(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 voidFarmlandBlock.setToDirt(BlockState state, World world, BlockPos pos) private static booleanAbstractRailBlock.shouldDropRail(BlockPos pos, World world, RailShape shape) Checks if this rail should be dropped.private booleanPistonBlock.shouldExtend(World world, BlockPos pos, Direction pistonFace) 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 voidBeehiveBlock.spawnHoneyParticles(World world, BlockPos pos, BlockState state) private static voidRedstoneOreBlock.spawnParticles(World world, BlockPos pos) static voidCampfireBlock.spawnSmokeParticle(World world, BlockPos pos, boolean isSignal, boolean lotsOfSmoke) voidBeehiveBlock.takeHoney(World world, BlockState state, BlockPos pos) voidBeehiveBlock.takeHoney(World world, BlockState state, BlockPos pos, @Nullable PlayerEntity player, BeehiveBlockEntity.BeeState beeState) private voidDragonEggBlock.teleport(BlockState state, World world, BlockPos pos) private static voidDaylightDetectorBlock.tick(World world, BlockPos pos, BlockState state, DaylightDetectorBlockEntity blockEntity) LeverBlock.togglePower(BlockState state, World world, BlockPos pos) private voidTurtleEggBlock.tryBreakEgg(World world, BlockState state, BlockPos pos, Entity entity, int inverseChance) private voidPistonBlock.tryMove(World world, BlockPos pos, BlockState state) private voidAbstractButtonBlock.tryPowerWithProjectiles(BlockState state, World world, BlockPos pos) private voidCarvedPumpkinBlock.trySpawnEntity(World world, BlockPos pos) private voidFireBlock.trySpreadingFire(World world, BlockPos pos, int spreadFactor, Random random, int currentAge) private voidComparatorBlock.update(World world, BlockPos pos, BlockState state) private voidRedstoneWireBlock.update(World world, BlockPos pos, BlockState state) protected voidprivate voidTripwireBlock.update(World world, BlockPos pos, BlockState state) voidTripwireHookBlock.update(World world, BlockPos pos, BlockState state, boolean beingRemoved, boolean bool, int int2, @Nullable BlockState blockState) protected voidAbstractRailBlock.updateBlockState(BlockState state, World world, BlockPos pos, Block neighbor) protected BlockStateAbstractRailBlock.updateBlockState(World world, BlockPos pos, BlockState state, boolean forceUpdate) protected voidPoweredRailBlock.updateBlockState(BlockState state, World world, BlockPos pos, Block neighbor) protected voidRailBlock.updateBlockState(BlockState state, World world, BlockPos pos, Block neighbor) protected BlockStateAbstractRailBlock.updateCurves(BlockState state, World world, BlockPos pos, boolean notify) private voidHopperBlock.updateEnabled(World world, BlockPos pos, BlockState state) 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) private voidAbstractButtonBlock.updateNeighbors(BlockState state, World world, BlockPos pos) protected voidAbstractPressurePlateBlock.updateNeighbors(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) private voidTripwireHookBlock.updateNeighborsOnAxis(World world, BlockPos pos, Direction direction) private voidRedstoneWireBlock.updateOffsetNeighbors(World world, BlockPos pos) protected voidAbstractPressurePlateBlock.updatePlateState(@Nullable Entity entity, World world, BlockPos pos, BlockState state, int output) protected voidAbstractRedstoneGateBlock.updatePowered(World world, BlockPos pos, BlockState state) protected voidComparatorBlock.updatePowered(World world, BlockPos pos, BlockState state) private voidTripwireBlock.updatePowered(World world, BlockPos pos) private voidDetectorRailBlock.updatePoweredStatus(World world, BlockPos pos, BlockState state) private static voidDaylightDetectorBlock.updateState(BlockState state, World world, BlockPos pos) protected voidAbstractRedstoneGateBlock.updateTarget(World world, BlockPos pos, BlockState state) private booleanBedBlock.wakeVillager(World world, BlockPos pos) Wakes up a sleeping villager atpos, if any.Constructors in net.minecraft.block with parameters of type World -
Uses of World in net.minecraft.block.cauldron
Methods in net.minecraft.block.cauldron with parameters of type WorldModifier and TypeMethodDescriptionstatic ActionResultCauldronBehavior.emptyCauldron(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack, ItemStack output, Predicate<BlockState> predicate, SoundEvent soundEvent) static ActionResultCauldronBehavior.fillCauldron(World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack, BlockState state, SoundEvent soundEvent) CauldronBehavior.interact(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 WorldModifier and TypeMethodDescriptionprotected abstract ProjectileEntityProjectileDispenserBehavior.createProjectile(World world, Position position, ItemStack stack) Creates the entity that will be spawned in front of the dispenser.static voidItemDispenserBehavior.spawnItem(World world, ItemStack stack, int speed, Direction side, Position pos) -
Uses of World in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as WorldMethods in net.minecraft.block.entity that return WorldMethods in net.minecraft.block.entity with parameters of type WorldModifier and TypeMethodDescriptionprivate static voidBellBlockEntity.applyGlowToRaiders(World world, BlockPos pos, List<LivingEntity> hearingEntities) private static voidBellBlockEntity.applyParticlesToRaiders(World world, BlockPos pos, List<LivingEntity> hearingEntities) SpawnsParticleTypes.ENTITY_EFFECTparticles around raiders within 48 blocks.private static voidBeaconBlockEntity.applyPlayerEffects(World world, BlockPos pos, int beaconLevel, @Nullable StatusEffect primaryEffect, @Nullable StatusEffect secondaryEffect) private static voidConduitBlockEntity.attackHostileEntity(World world, BlockPos pos, BlockState state, List<BlockPos> activatingBlocks, ConduitBlockEntity blockEntity) static voidBellBlockEntity.clientTick(World world, BlockPos pos, BlockState state, BellBlockEntity blockEntity) static voidCampfireBlockEntity.clientTick(World world, BlockPos pos, BlockState state, CampfireBlockEntity campfire) static voidChestBlockEntity.clientTick(World world, BlockPos pos, BlockState state, ChestBlockEntity blockEntity) static voidConduitBlockEntity.clientTick(World world, BlockPos pos, BlockState state, ConduitBlockEntity blockEntity) static voidEnderChestBlockEntity.clientTick(World world, BlockPos pos, BlockState state, EnderChestBlockEntity blockEntity) static voidEndGatewayBlockEntity.clientTick(World world, BlockPos pos, BlockState state, EndGatewayBlockEntity blockEntity) static voidMobSpawnerBlockEntity.clientTick(World world, BlockPos pos, BlockState state, MobSpawnerBlockEntity blockEntity) voidViewerCountManager.closeContainer(PlayerEntity player, World world, BlockPos pos, BlockState state) private static voidBrewingStandBlockEntity.craft(World world, BlockPos pos, DefaultedList<ItemStack> slots) static booleanprivate static BlockPosEndGatewayBlockEntity.findBestPortalExitPos(World world, BlockPos pos) private static @Nullable LivingEntityConduitBlockEntity.findTargetEntity(World world, BlockPos pos, UUID uuid) private static WorldChunkprivate static intAbstractFurnaceBlockEntity.getCookTime(World world, AbstractFurnaceBlockEntity furnace) HopperBlockEntity.getInputInventory(World world, Hopper hopper) static List<ItemEntity>HopperBlockEntity.getInputItemEntities(World world, Hopper hopper) private intViewerCountManager.getInRangeViewerCount(World world, BlockPos pos) HopperBlockEntity.getInventoryAt(World world, double x, double y, double z) HopperBlockEntity.getInventoryAt(World world, BlockPos pos) HopperBlockEntity.getOutputInventory(World world, BlockPos pos, BlockState state) private static voidConduitBlockEntity.givePlayersEffects(World world, BlockPos pos, List<BlockPos> activatingBlocks) private static booleanHopperBlockEntity.insert(World world, BlockPos pos, BlockState state, Inventory inventory) private static booleanHopperBlockEntity.insertAndExtract(World world, BlockPos pos, BlockState state, HopperBlockEntity blockEntity, BooleanSupplier booleanSupplier) static voidCampfireBlockEntity.litServerTick(World world, BlockPos pos, BlockState state, CampfireBlockEntity campfire) protected static voidBlockEntity.markDirty(World world, BlockPos pos, BlockState state) private static voidPistonBlockEntity.moveEntitiesInHoneyBlock(World world, BlockPos pos, float float2, PistonBlockEntity blockEntity) protected abstract voidViewerCountManager.onContainerClose(World world, BlockPos pos, BlockState state) Run when this container closes (when the viewer count reaches zero).protected abstract voidViewerCountManager.onContainerOpen(World world, BlockPos pos, BlockState state) Run when this container is opened (when the viewer count becomes nonzero).static voidHopperBlockEntity.onEntityCollided(World world, BlockPos pos, BlockState state, Entity entity, HopperBlockEntity blockEntity) protected voidChestBlockEntity.onInvOpenOrClose(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount) protected voidTrappedChestBlockEntity.onInvOpenOrClose(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount) protected abstract voidViewerCountManager.onViewerCountUpdate(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount) Called when the viewer count updates, such as when a player interact with this container or when distance-based checks are run.voidViewerCountManager.openContainer(PlayerEntity player, World world, BlockPos pos, BlockState state) static voidBeaconBlockEntity.playSound(World world, BlockPos pos, SoundEvent sound) (package private) static voidChestBlockEntity.playSound(World world, BlockPos pos, BlockState state, SoundEvent soundEvent) private static voidPistonBlockEntity.pushEntities(World world, BlockPos pos, float float2, PistonBlockEntity blockEntity) private voidShulkerBoxBlockEntity.pushEntities(World world, BlockPos pos, BlockState state) private static booleanBeehiveBlockEntity.releaseBee(World world, BlockPos pos, BlockState state, BeehiveBlockEntity.Bee bee, @Nullable List<Entity> entities, BeehiveBlockEntity.BeeState beeState, @Nullable BlockPos flowerPos) voidBellBlockEntity.Effect.run(World world, BlockPos pos, List<LivingEntity> hearingEntities) 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) voidvoidprivate static voidConduitBlockEntity.spawnNautilusParticles(World world, BlockPos pos, List<BlockPos> activatingBlocks, @Nullable Entity entity, int ticks) private static voidEndGatewayBlockEntity.startTeleportCooldown(World world, BlockPos pos, BlockState state, EndGatewayBlockEntity blockEntity) static voidAbstractFurnaceBlockEntity.tick(World world, BlockPos pos, BlockState state, AbstractFurnaceBlockEntity blockEntity) static voidBeaconBlockEntity.tick(World world, BlockPos pos, BlockState state, BeaconBlockEntity blockEntity) private static voidBellBlockEntity.tick(World world, BlockPos pos, BlockState state, BellBlockEntity blockEntity, BellBlockEntity.Effect bellEffect) voidBlockEntityTicker.tick(World world, BlockPos pos, BlockState state, T blockEntity) Runs this action on the given block entity.static voidBrewingStandBlockEntity.tick(World world, BlockPos pos, BlockState state, BrewingStandBlockEntity 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 voidSkullBlockEntity.tick(World world, BlockPos pos, BlockState state, SkullBlockEntity blockEntity) private static voidBeehiveBlockEntity.tickBees(World world, BlockPos pos, BlockState state, List<BeehiveBlockEntity.Bee> bees, @Nullable BlockPos flowerPos) static voidEndGatewayBlockEntity.tryTeleportingEntity(World world, BlockPos pos, BlockState state, Entity entity, EndGatewayBlockEntity blockEntity) static voidCampfireBlockEntity.unlitServerTick(World world, BlockPos pos, BlockState state, CampfireBlockEntity campfire) private static booleanConduitBlockEntity.updateActivatingBlocks(World world, BlockPos pos, List<BlockPos> activatingBlocks) private voidShulkerBoxBlockEntity.updateAnimation(World world, BlockPos pos, BlockState state) private static intBeaconBlockEntity.updateLevel(World world, int x, int y, int z) private static voidShulkerBoxBlockEntity.updateNeighborStates(World world, BlockPos pos, BlockState state) private static voidConduitBlockEntity.updateTargetEntity(World world, BlockPos pos, ConduitBlockEntity blockEntity) voidViewerCountManager.updateViewerCount(World world, BlockPos pos, BlockState state) -
Uses of World in net.minecraft.block.piston
Fields in net.minecraft.block.piston declared as WorldConstructors in net.minecraft.block.piston with parameters of type WorldModifierConstructorDescriptionPistonHandler(World world, BlockPos pos, Direction dir, boolean retracted) -
Uses of World in net.minecraft.client.color.block
Methods in net.minecraft.client.color.block with parameters of type WorldModifier and TypeMethodDescriptionintBlockColors.getParticleColor(BlockState state, World world, BlockPos pos) Returns the particle color of the block state. -
Uses of World in net.minecraft.client.gui.hud
Methods in net.minecraft.client.gui.hud that return World -
Uses of World in net.minecraft.client.gui.screen.world
Fields in net.minecraft.client.gui.screen.world with type parameters of type WorldModifier and TypeFieldDescriptionprivate static final Object2IntMap<RegistryKey<World>>OptimizeWorldScreen.DIMENSION_COLORS -
Uses of World in net.minecraft.client.network
Fields in net.minecraft.client.network with type parameters of type WorldModifier and TypeFieldDescriptionprivate Set<RegistryKey<World>>ClientPlayNetworkHandler.worldKeysMethods in net.minecraft.client.network that return types with arguments of type WorldModifier and TypeMethodDescriptionClientCommandSource.getWorldKeys()ClientPlayNetworkHandler.getWorldKeys() -
Uses of World in net.minecraft.client.render
Fields in net.minecraft.client.render declared as WorldMethods in net.minecraft.client.render with parameters of type WorldModifier and TypeMethodDescriptionprivate voidWorldRenderer.updateEntitiesForSong(World world, BlockPos pos, boolean playing) Constructors in net.minecraft.client.render with parameters of type WorldModifierConstructorDescriptionBuiltChunkStorage(ChunkBuilder chunkBuilder, World world, int viewDistance, WorldRenderer worldRenderer) -
Uses of World in net.minecraft.client.render.block.entity
Fields in net.minecraft.client.render.block.entity declared as WorldMethods in net.minecraft.client.render.block.entity with parameters of type WorldModifier and TypeMethodDescriptionvoidprivate voidPistonBlockEntityRenderer.renderModel(BlockPos pos, BlockState state, MatrixStack matrices, VertexConsumerProvider vertexConsumers, World world, boolean cull, int overlay) void -
Uses of World in net.minecraft.client.render.chunk
Fields in net.minecraft.client.render.chunk declared as WorldMethods in net.minecraft.client.render.chunk with parameters of type WorldModifier and TypeMethodDescriptionConstructors in net.minecraft.client.render.chunk with parameters of type WorldModifierConstructorDescription(package private)ChunkRendererRegion(World world, int chunkX, int chunkZ, RenderedChunk[][] chunks) -
Uses of World in net.minecraft.client.render.debug
Methods in net.minecraft.client.render.debug with parameters of type World -
Uses of World in net.minecraft.client.render.entity
Fields in net.minecraft.client.render.entity declared as WorldMethods in net.minecraft.client.render.entity with parameters of type World -
Uses of World in net.minecraft.client.render.item
Methods in net.minecraft.client.render.item with parameters of type WorldModifier and TypeMethodDescriptionItemRenderer.getModel(ItemStack stack, @Nullable World world, @Nullable LivingEntity entity, int seed) voidItemRenderer.renderItem(@Nullable LivingEntity entity, ItemStack item, ModelTransformation.Mode renderMode, boolean leftHanded, MatrixStack matrices, VertexConsumerProvider vertexConsumers, @Nullable World world, int light, int overlay, int seed) -
Uses of World in net.minecraft.client.util
Methods in net.minecraft.client.util with parameters of type WorldModifier and TypeMethodDescriptionstatic voidParticleUtil.spawnParticle(Direction.Axis axis, World world, BlockPos pos, double variance, ParticleEffect effect, UniformIntProvider range) static voidParticleUtil.spawnParticle(World world, BlockPos pos, ParticleEffect effect, IntProvider count) static voidParticleUtil.spawnParticle(World world, BlockPos pos, Direction direction, ParticleEffect effect, Vec3d velocity, double offsetMultiplier) static voidParticleUtil.spawnParticles(World world, BlockPos pos, ParticleEffect effect, IntProvider count, Direction direction, Supplier<Vec3d> velocity, double offsetMultiplier) -
Uses of World in net.minecraft.client.world
Subclasses of World in net.minecraft.client.worldConstructor parameters in net.minecraft.client.world with type arguments of type WorldModifierConstructorDescriptionClientWorld(ClientPlayNetworkHandler networkHandler, ClientWorld.Properties properties, RegistryKey<World> registryRef, RegistryEntry<DimensionType> dimensionTypeEntry, int loadDistance, int simulationDistance, Supplier<Profiler> profiler, WorldRenderer worldRenderer, boolean debugWorld, long seed) -
Uses of World in net.minecraft.command
Methods in net.minecraft.command that return types with arguments of type World -
Uses of World in net.minecraft.enchantment
Methods in net.minecraft.enchantment with parameters of type WorldModifier and TypeMethodDescriptionstatic voidFrostWalkerEnchantment.freezeWater(LivingEntity entity, World world, BlockPos blockPos, int level) -
Uses of World in net.minecraft.entity
Fields in net.minecraft.entity declared as WorldMethods in net.minecraft.entity that return WorldMethods in net.minecraft.entity with parameters of type WorldModifier and TypeMethodDescriptionstatic Vec3dEntity.adjustMovementForCollisions(@Nullable Entity entity, Vec3d movement, Box entityBoundingBox, World world, List<VoxelShape> collisions) private voidLivingEntity.applyFoodEffects(ItemStack stack, World world, LivingEntity targetEntity) booleanEntity.canModifyAt(World world, BlockPos pos) private static voidLightningEntity.cleanOxidation(World world, BlockPos pos) LightningEntity.cleanOxidationAround(World world, BlockPos pos) private static voidLightningEntity.cleanOxidationAround(World world, BlockPos pos, BlockPos.Mutable mutablePos, int count) EntityType.EntityFactory.create(EntityType<T> type, World world) EntityType.getEntityFromNbt(NbtCompound nbt, World world) EntityType.loadEntityFromNbt(NbtCompound nbt, World world) EntityType.loadEntityWithPassengers(NbtCompound nbt, World world, Function<Entity, Entity> entityProcessor) static voidEntityType.loadFromEntityNbt(World world, @Nullable PlayerEntity player, @Nullable Entity entity, @Nullable NbtCompound itemNbt) 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) Constructors in net.minecraft.entity with parameters of type WorldModifierConstructorDescriptionAreaEffectCloudEntity(EntityType<? extends AreaEffectCloudEntity> type, World world) AreaEffectCloudEntity(World world, double x, double y, double z) Entity(EntityType<?> type, World world) ExperienceOrbEntity(EntityType<? extends ExperienceOrbEntity> type, World world) ExperienceOrbEntity(World world, double x, double y, double z, int amount) EyeOfEnderEntity(EntityType<? extends EyeOfEnderEntity> type, World world) EyeOfEnderEntity(World world, double x, double y, double z) FallingBlockEntity(EntityType<? extends FallingBlockEntity> type, World world) privateFallingBlockEntity(World world, double x, double y, double z, BlockState block) ItemEntity(EntityType<? extends ItemEntity> type, World world) ItemEntity(World world, double x, double y, double z, ItemStack stack) ItemEntity(World world, double x, double y, double z, ItemStack stack, double velocityX, double velocityY, double velocityZ) LightningEntity(EntityType<? extends LightningEntity> type, World world) protectedLivingEntity(EntityType<? extends LivingEntity> type, World world) MarkerEntity(EntityType<?> type, World world) TntEntity(EntityType<? extends TntEntity> type, World world) TntEntity(World world, double x, double y, double z, @Nullable LivingEntity igniter) -
Uses of World in net.minecraft.entity.ai.goal
Fields in net.minecraft.entity.ai.goal declared as WorldModifier and TypeFieldDescriptionprotected final WorldAnimalMateGoal.worldprivate final WorldEatGrassGoal.worldprivate final WorldEscapeSunlightGoal.worldprivate final WorldPowderSnowJumpGoal.worldprivate final WorldWolfBegGoal.worldMethods in net.minecraft.entity.ai.goal with parameters of type WorldModifier and TypeMethodDescriptionvoidStepAndDestroyBlockGoal.onDestroyBlock(World world, BlockPos pos) Constructors in net.minecraft.entity.ai.goal with parameters of type World -
Uses of World in net.minecraft.entity.ai.pathing
Fields in net.minecraft.entity.ai.pathing declared as WorldConstructors in net.minecraft.entity.ai.pathing with parameters of type WorldModifierConstructorDescriptionBirdNavigation(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) EndCrystalEntity(EntityType<? extends EndCrystalEntity> type, World world) EndCrystalEntity(World world, double x, double y, double z) GlowItemFrameEntity(EntityType<? extends ItemFrameEntity> type, World world) GlowItemFrameEntity(World world, BlockPos pos, Direction facing) ItemFrameEntity(EntityType<? extends ItemFrameEntity> type, World world) ItemFrameEntity(EntityType<? extends ItemFrameEntity> type, World world, BlockPos pos, Direction facing) ItemFrameEntity(World world, BlockPos pos, Direction facing) LeashKnotEntity(EntityType<? extends LeashKnotEntity> type, World world) LeashKnotEntity(World world, BlockPos pos) -
Uses of World in net.minecraft.entity.decoration.painting
Methods in net.minecraft.entity.decoration.painting with parameters of type WorldModifier and TypeMethodDescriptionstatic Optional<PaintingEntity>PaintingEntity.placePainting(World world, BlockPos pos, Direction facing) Constructors in net.minecraft.entity.decoration.painting with parameters of type WorldModifierConstructorDescriptionPaintingEntity(EntityType<? extends PaintingEntity> type, World world) privatePaintingEntity(World world, BlockPos pos) PaintingEntity(World world, BlockPos pos, Direction direction, RegistryEntry<PaintingVariant> variant) -
Uses of World in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob declared as WorldModifier and TypeFieldDescriptionprivate final WorldDrownedEntity.WanderAroundOnSurfaceGoal.worldMethods in net.minecraft.entity.mob with parameters of type WorldModifier and TypeMethodDescriptionprivate booleanEndermanEntity.PlaceBlockGoal.canPlaceOn(World world, BlockPos posAbove, BlockState carriedState, BlockState stateAbove, BlockState state, BlockPos pos) protected EntityNavigationGuardianEntity.createNavigation(World world) protected EntityNavigationMobEntity.createNavigation(World world) protected EntityNavigationRavagerEntity.createNavigation(World world) protected EntityNavigationSpiderEntity.createNavigation(World world) protected EntityNavigationWardenEntity.createNavigation(World world) default booleanAngerable.isUniversallyAngry(World world) voidZombieEntity.DestroyEggGoal.onDestroyBlock(World world, BlockPos pos) default voidAngerable.readAngerFromNbt(World world, NbtCompound nbt) Constructors in net.minecraft.entity.mob with parameters of type WorldModifierConstructorDescriptionAbstractPiglinEntity(EntityType<? extends AbstractPiglinEntity> type, World world) protectedAbstractSkeletonEntity(EntityType<? extends AbstractSkeletonEntity> type, World world) protectedAmbientEntity(EntityType<? extends AmbientEntity> type, World world) BlazeEntity(EntityType<? extends BlazeEntity> type, World world) CaveSpiderEntity(EntityType<? extends CaveSpiderEntity> type, World world) CreeperEntity(EntityType<? extends CreeperEntity> type, World world) DrownedEntity(EntityType<? extends DrownedEntity> type, World world) ElderGuardianEntity(EntityType<? extends ElderGuardianEntity> type, World world) EndermanEntity(EntityType<? extends EndermanEntity> type, World world) EndermiteEntity(EntityType<? extends EndermiteEntity> type, World world) EvokerEntity(EntityType<? extends EvokerEntity> type, World world) EvokerFangsEntity(EntityType<? extends EvokerFangsEntity> type, World world) EvokerFangsEntity(World world, double x, double y, double z, float yaw, int warmup, LivingEntity owner) protectedFlyingEntity(EntityType<? extends FlyingEntity> type, World world) GhastEntity(EntityType<? extends GhastEntity> type, World world) GiantEntity(EntityType<? extends GiantEntity> type, World world) GuardianEntity(EntityType<? extends GuardianEntity> type, World world) HoglinEntity(EntityType<? extends HoglinEntity> type, World world) protectedHostileEntity(EntityType<? extends HostileEntity> type, World world) HuskEntity(EntityType<? extends HuskEntity> type, World world) protectedIllagerEntity(EntityType<? extends IllagerEntity> type, World world) IllusionerEntity(EntityType<? extends IllusionerEntity> type, World world) MagmaCubeEntity(EntityType<? extends MagmaCubeEntity> type, World world) protectedMobEntity(EntityType<? extends MobEntity> type, World world) Navigation(MobEntity entity, World world) protectedPathAwareEntity(EntityType<? extends PathAwareEntity> type, World world) protectedPatrolEntity(EntityType<? extends PatrolEntity> type, World world) PhantomEntity(EntityType<? extends PhantomEntity> type, World world) PiglinBruteEntity(EntityType<? extends PiglinBruteEntity> type, World world) PiglinEntity(EntityType<? extends AbstractPiglinEntity> type, World world) PillagerEntity(EntityType<? extends PillagerEntity> type, World world) RavagerEntity(EntityType<? extends RavagerEntity> type, World world) ShulkerEntity(EntityType<? extends ShulkerEntity> type, World world) SilverfishEntity(EntityType<? extends SilverfishEntity> type, World world) SkeletonEntity(EntityType<? extends SkeletonEntity> type, World world) SkeletonHorseEntity(EntityType<? extends SkeletonHorseEntity> type, World world) SlimeEntity(EntityType<? extends SlimeEntity> type, World world) protectedSpellcastingIllagerEntity(EntityType<? extends SpellcastingIllagerEntity> type, World world) SpiderEntity(EntityType<? extends SpiderEntity> type, World world) StrayEntity(EntityType<? extends StrayEntity> type, World world) VexEntity(EntityType<? extends VexEntity> type, World world) VindicatorEntity(EntityType<? extends VindicatorEntity> type, World world) WardenEntity(EntityType<? extends HostileEntity> type, World world) protectedWaterCreatureEntity(EntityType<? extends WaterCreatureEntity> type, World world) WitchEntity(EntityType<? extends WitchEntity> type, World world) WitherSkeletonEntity(EntityType<? extends WitherSkeletonEntity> type, World world) ZoglinEntity(EntityType<? extends ZoglinEntity> type, World world) ZombieEntity(EntityType<? extends ZombieEntity> type, World world) ZombieEntity(World world) ZombieHorseEntity(EntityType<? extends ZombieHorseEntity> type, World world) ZombieVillagerEntity(EntityType<? extends ZombieVillagerEntity> type, World world) ZombifiedPiglinEntity(EntityType<? extends ZombifiedPiglinEntity> type, World world) -
Uses of World in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive with parameters of type WorldModifier and TypeMethodDescriptionprivate voidBeeEntity.addParticle(World world, double lastX, double x, double lastZ, double z, double y, ParticleEffect effect) protected EntityNavigationAllayEntity.createNavigation(World world) protected EntityNavigationAxolotlEntity.createNavigation(World world) protected EntityNavigationBeeEntity.createNavigation(World world) protected EntityNavigationDolphinEntity.createNavigation(World world) protected EntityNavigationFishEntity.createNavigation(World world) protected EntityNavigationFrogEntity.createNavigation(World world) protected EntityNavigationParrotEntity.createNavigation(World world) protected EntityNavigationStriderEntity.createNavigation(World world) protected EntityNavigationTadpoleEntity.createNavigation(World world) protected EntityNavigationTurtleEntity.createNavigation(World world) static SoundEventParrotEntity.getRandomSound(World world, Random random) static booleanParrotEntity.imitateNearbyMob(World world, Entity parrot) Constructors in net.minecraft.entity.passive with parameters of type WorldModifierConstructorDescriptionprotectedAbstractDonkeyEntity(EntityType<? extends AbstractDonkeyEntity> type, World world) protectedAbstractHorseEntity(EntityType<? extends AbstractHorseEntity> type, World world) AllayEntity(EntityType<? extends AllayEntity> type, World world) protectedAnimalEntity(EntityType<? extends AnimalEntity> type, World world) AxolotlEntity(EntityType<? extends AxolotlEntity> type, World world) AxolotlSwimNavigation(MobEntity mobEntity, World world) BatEntity(EntityType<? extends BatEntity> type, World world) BeeEntity(EntityType<? extends BeeEntity> 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) SnowGolemEntity(EntityType<? extends SnowGolemEntity> type, World world) SquidEntity(EntityType<? extends SquidEntity> type, World world) StriderEntity(EntityType<? extends StriderEntity> type, World world) TadpoleEntity(EntityType<? extends FishEntity> type, World world) protectedTameableEntity(EntityType<? extends TameableEntity> type, World world) protectedTameableShoulderEntity(EntityType<? extends TameableShoulderEntity> type, World world) TraderLlamaEntity(EntityType<? extends TraderLlamaEntity> type, World world) TropicalFishEntity(EntityType<? extends TropicalFishEntity> type, World world) TurtleEntity(EntityType<? extends TurtleEntity> type, World world) (package private)TurtleSwimNavigation(TurtleEntity owner, World world) VillagerEntity(EntityType<? extends VillagerEntity> type, World world) VillagerEntity(EntityType<? extends VillagerEntity> entityType, World world, VillagerType type) WanderingTraderEntity(EntityType<? extends WanderingTraderEntity> type, World world) WolfEntity(EntityType<? extends WolfEntity> type, World world) -
Uses of World in net.minecraft.entity.player
Methods in net.minecraft.entity.player with parameters of type WorldModifier and TypeMethodDescriptionbooleanPlayerEntity.isBlockBreakingRestricted(World world, BlockPos pos, GameMode gameMode) Constructors in net.minecraft.entity.player with parameters of type WorldModifierConstructorDescriptionPlayerEntity(World world, BlockPos pos, float yaw, com.mojang.authlib.GameProfile gameProfile, @Nullable PlayerPublicKey publicKey) -
Uses of World in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile with parameters of type WorldModifier and TypeMethodDescriptionbooleanProjectileEntity.canModifyAt(World world, BlockPos pos) 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 float2) Constructors in net.minecraft.entity.projectile with parameters of type WorldModifierConstructorDescriptionAbstractFireballEntity(EntityType<? extends AbstractFireballEntity> type, double x, double y, double z, double directionX, double directionY, double directionZ, World world) AbstractFireballEntity(EntityType<? extends AbstractFireballEntity> type, LivingEntity owner, double directionX, double directionY, double directionZ, World world) AbstractFireballEntity(EntityType<? extends AbstractFireballEntity> type, World world) ArrowEntity(EntityType<? extends ArrowEntity> type, World world) ArrowEntity(World world, double x, double y, double z) ArrowEntity(World world, LivingEntity owner) DragonFireballEntity(EntityType<? extends DragonFireballEntity> type, World world) DragonFireballEntity(World world, LivingEntity owner, double directionX, double directionY, double directionZ) ExplosiveProjectileEntity(EntityType<? extends ExplosiveProjectileEntity> type, double x, double y, double z, double directionX, double directionY, double directionZ, World world) ExplosiveProjectileEntity(EntityType<? extends ExplosiveProjectileEntity> type, LivingEntity owner, double directionX, double directionY, double directionZ, World world) protectedExplosiveProjectileEntity(EntityType<? extends ExplosiveProjectileEntity> type, World world) FireballEntity(EntityType<? extends FireballEntity> type, World world) FireballEntity(World world, LivingEntity owner, double velocityX, double velocityY, double velocityZ, int explosionPower) FireworkRocketEntity(EntityType<? extends FireworkRocketEntity> type, World world) FireworkRocketEntity(World world, double x, double y, double z, ItemStack stack) FireworkRocketEntity(World world, @Nullable Entity entity, double x, double y, double z, ItemStack stack) FireworkRocketEntity(World world, ItemStack stack, double x, double y, double z, boolean shotAtAngle) FireworkRocketEntity(World world, ItemStack stack, Entity entity, double x, double y, double z, boolean shotAtAngle) FireworkRocketEntity(World world, ItemStack stack, LivingEntity shooter) FishingBobberEntity(EntityType<? extends FishingBobberEntity> type, World world) privateFishingBobberEntity(EntityType<? extends FishingBobberEntity> type, World world, int luckOfTheSeaLevel, int lureLevel) FishingBobberEntity(PlayerEntity thrower, World world, int luckOfTheSeaLevel, int lureLevel) LlamaSpitEntity(EntityType<? extends LlamaSpitEntity> type, World world) LlamaSpitEntity(World world, LlamaEntity owner) protectedPersistentProjectileEntity(EntityType<? extends PersistentProjectileEntity> type, double x, double y, double z, World world) protectedPersistentProjectileEntity(EntityType<? extends PersistentProjectileEntity> type, LivingEntity owner, World world) protectedPersistentProjectileEntity(EntityType<? extends PersistentProjectileEntity> type, World world) (package private)ProjectileEntity(EntityType<? extends ProjectileEntity> type, World world) ShulkerBulletEntity(EntityType<? extends ShulkerBulletEntity> type, World world) ShulkerBulletEntity(World world, LivingEntity owner, Entity target, Direction.Axis axis) SmallFireballEntity(EntityType<? extends SmallFireballEntity> type, World world) SmallFireballEntity(World world, double x, double y, double z, double velocityX, double velocityY, double velocityZ) SmallFireballEntity(World world, LivingEntity owner, double velocityX, double velocityY, double velocityZ) SpectralArrowEntity(EntityType<? extends SpectralArrowEntity> type, World world) SpectralArrowEntity(World world, double x, double y, double z) SpectralArrowEntity(World world, LivingEntity owner) TridentEntity(EntityType<? extends TridentEntity> type, World world) TridentEntity(World world, LivingEntity owner, ItemStack stack) WitherSkullEntity(EntityType<? extends WitherSkullEntity> type, World world) WitherSkullEntity(World world, LivingEntity owner, double directionX, double directionY, double directionZ) -
Uses of World in net.minecraft.entity.projectile.thrown
Constructors in net.minecraft.entity.projectile.thrown with parameters of type WorldModifierConstructorDescriptionEggEntity(EntityType<? extends EggEntity> type, World world) EggEntity(World world, LivingEntity owner) EnderPearlEntity(EntityType<? extends EnderPearlEntity> type, World world) EnderPearlEntity(World world, LivingEntity owner) ExperienceBottleEntity(EntityType<? extends ExperienceBottleEntity> type, World world) ExperienceBottleEntity(World world, double x, double y, double z) ExperienceBottleEntity(World world, LivingEntity owner) PotionEntity(EntityType<? extends PotionEntity> type, World world) PotionEntity(World world, double x, double y, double z) PotionEntity(World world, LivingEntity owner) SnowballEntity(EntityType<? extends SnowballEntity> type, World world) SnowballEntity(World world, double x, double y, double z) SnowballEntity(World world, LivingEntity owner) protectedThrownEntity(EntityType<? extends ThrownEntity> type, double x, double y, double z, World world) protectedThrownEntity(EntityType<? extends ThrownEntity> type, LivingEntity owner, World world) protectedThrownEntity(EntityType<? extends ThrownEntity> type, World world) ThrownItemEntity(EntityType<? extends ThrownItemEntity> type, double x, double y, double z, World world) ThrownItemEntity(EntityType<? extends ThrownItemEntity> type, LivingEntity owner, World world) ThrownItemEntity(EntityType<? extends ThrownItemEntity> type, World world) -
Uses of World in net.minecraft.entity.raid
Constructors in net.minecraft.entity.raid with parameters of type WorldModifierConstructorDescriptionprotectedRaiderEntity(EntityType<? extends RaiderEntity> type, World world) -
Uses of World in net.minecraft.entity.vehicle
Methods in net.minecraft.entity.vehicle that return WorldMethods in net.minecraft.entity.vehicle with parameters of type WorldModifier and TypeMethodDescriptionstatic AbstractMinecartEntityAbstractMinecartEntity.create(World world, double x, double y, double z, AbstractMinecartEntity.Type type) private Runnabledefault voidVehicleInventory.onBroken(DamageSource source, World world, Entity vehicle) Constructors in net.minecraft.entity.vehicle with parameters of type WorldModifierConstructorDescriptionprotectedAbstractMinecartEntity(EntityType<?> type, World world) protectedAbstractMinecartEntity(EntityType<?> type, World world, double x, double y, double z) BoatEntity(EntityType<? extends BoatEntity> type, World world) BoatEntity(World world, double x, double y, double z) ChestBoatEntity(EntityType<? extends BoatEntity> type, World world) ChestBoatEntity(World world, double x, double y, double z) ChestMinecartEntity(EntityType<? extends ChestMinecartEntity> type, World world) ChestMinecartEntity(World world, double x, double y, double z) CommandBlockMinecartEntity(EntityType<? extends CommandBlockMinecartEntity> type, World world) CommandBlockMinecartEntity(World world, double x, double y, double z) FurnaceMinecartEntity(EntityType<? extends FurnaceMinecartEntity> type, World world) FurnaceMinecartEntity(World world, double x, double y, double z) HopperMinecartEntity(EntityType<? extends HopperMinecartEntity> type, World world) HopperMinecartEntity(World world, double x, double y, double z) MinecartEntity(EntityType<?> type, World world) MinecartEntity(World world, double x, double y, double z) SpawnerMinecartEntity(EntityType<? extends SpawnerMinecartEntity> type, World world) SpawnerMinecartEntity(World world, double x, double y, double z) protectedStorageMinecartEntity(EntityType<?> type, double x, double y, double z, World world) protectedStorageMinecartEntity(EntityType<?> type, World world) TntMinecartEntity(EntityType<? extends TntMinecartEntity> type, World world) TntMinecartEntity(World world, double x, double y, double z) -
Uses of World in net.minecraft.fluid
Methods in net.minecraft.fluid with parameters of type WorldModifier and TypeMethodDescriptionprotected intFlowableFluid.getNextTickDelay(World world, BlockPos pos, FluidState oldState, FluidState newState) intLavaFluid.getNextTickDelay(World world, BlockPos pos, FluidState oldState, FluidState newState) protected voidFluid.onRandomTick(World world, BlockPos pos, FluidState state, Random random) voidFluidState.onRandomTick(World world, BlockPos pos, Random random) voidLavaFluid.onRandomTick(World world, BlockPos pos, FluidState state, Random random) voidFlowableFluid.onScheduledTick(World world, BlockPos pos, FluidState state) protected voidFluid.onScheduledTick(World world, BlockPos pos, FluidState state) voidFluidState.onScheduledTick(World world, BlockPos pos) protected voidFluid.randomDisplayTick(World world, BlockPos pos, FluidState state, Random random) voidFluidState.randomDisplayTick(World world, BlockPos pos, Random random) voidLavaFluid.randomDisplayTick(World world, BlockPos pos, FluidState state, Random random) voidWaterFluid.randomDisplayTick(World world, BlockPos pos, FluidState state, Random random) -
Uses of World in net.minecraft.item
Fields in net.minecraft.item declared as WorldMethods in net.minecraft.item that return WorldMethods in net.minecraft.item that return types with arguments of type WorldModifier and TypeMethodDescriptionprivate static Optional<RegistryKey<World>>CompassItem.getLodestoneDimension(NbtCompound nbt) Methods in net.minecraft.item with parameters of type WorldModifier and TypeMethodDescriptionprivate static intFilledMapItem.allocateMapId(World world, int x, int z, int scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension) voidAirBlockItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidBannerItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidBannerPatternItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidBlockItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidBundleItem.appendTooltip(ItemStack stack, World world, List<Text> tooltip, TooltipContext context) voidCrossbowItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidDiscFragmentItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidEnchantedBookItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidEntityBucketItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidFilledMapItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidFireworkRocketItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidFireworkStarItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidGoatHornItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidLingeringPotionItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidMusicDiscItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidPotionItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidShieldItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidTippedArrowItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) voidWrittenBookItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) static ActionResultLeadItem.attachHeldMobsToBlock(PlayerEntity player, World world, BlockPos pos) booleanDebugStickItem.canMine(BlockState state, World world, BlockPos pos, PlayerEntity miner) Checks if a player can break a block while holding the item.booleanItem.canMine(BlockState state, World world, BlockPos pos, PlayerEntity miner) Checks if a player can break a block while holding the item.booleanSwordItem.canMine(BlockState state, World world, BlockPos pos, PlayerEntity miner) Checks if a player can break a block while holding the item.booleanTridentItem.canMine(BlockState state, World world, BlockPos pos, PlayerEntity miner) Checks if a player can break a block while holding the item.static TypedActionResult<ItemStack>ItemUsage.consumeHeldItem(World world, PlayerEntity player, Hand hand) static voidArrowItem.createArrow(World world, ItemStack stack, LivingEntity shooter) private static PersistentProjectileEntityCrossbowItem.createArrow(World world, LivingEntity entity, ItemStack crossbow, ItemStack arrow) SpectralArrowItem.createArrow(World world, ItemStack stack, LivingEntity shooter) private BoatEntityBoatItem.createEntity(World world, HitResult hitResult) static ItemStackFilledMapItem.createMap(World world, int x, int z, byte scale, boolean showIcons, boolean unlimitedTracking) private static voidFilledMapItem.createMapState(ItemStack stack, World world, int x, int z, int scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension) CompassItem.createSpawnPos(World world) FilledMapItem.createSyncPacket(ItemStack stack, World world, PlayerEntity player) Creates a packet that syncs additional item data to the client.NetworkSyncedItem.createSyncPacket(ItemStack stack, World world, PlayerEntity player) Creates a packet that syncs additional item data to the client.ChorusFruitItem.finishUsing(ItemStack stack, World world, LivingEntity user) HoneyBottleItem.finishUsing(ItemStack stack, World world, LivingEntity user) Item.finishUsing(ItemStack stack, World world, LivingEntity user) ItemStack.finishUsing(World world, LivingEntity user) MilkBucketItem.finishUsing(ItemStack stack, World world, LivingEntity user) PotionItem.finishUsing(ItemStack stack, World world, LivingEntity user) SpyglassItem.finishUsing(ItemStack stack, World world, LivingEntity user) StewItem.finishUsing(ItemStack stack, World world, LivingEntity user) SuspiciousStewItem.finishUsing(ItemStack stack, World world, LivingEntity user) private BlockStateFilledMapItem.getFluidStateIfVisible(World world, BlockState state, BlockPos pos) FilledMapItem.getMapState(@Nullable Integer id, World world) FilledMapItem.getOrCreateMapState(ItemStack map, World world) voidCompassItem.inventoryTick(ItemStack stack, World world, Entity entity, int slot, boolean selected) voidFilledMapItem.inventoryTick(ItemStack stack, World world, Entity entity, int slot, boolean selected) voidItem.inventoryTick(ItemStack stack, World world, Entity entity, int slot, boolean selected) voidItemStack.inventoryTick(World world, Entity entity, int slot, boolean selected) voidFilledMapItem.onCraft(ItemStack stack, World world, PlayerEntity player) Called when a player acquires the item by crafting, smelting, smithing, etc.voidItem.onCraft(ItemStack stack, World world, PlayerEntity player) Called when a player acquires the item by crafting, smelting, smithing, etc.voidItemStack.onCraft(World world, PlayerEntity player, int amount) voidvoidEntityBucketItem.onEmptied(@Nullable PlayerEntity player, World world, ItemStack stack, BlockPos pos) default voidFluidModificationItem.onEmptied(@Nullable PlayerEntity player, World world, ItemStack stack, BlockPos pos) voidBowItem.onStoppedUsing(ItemStack stack, World world, LivingEntity user, int remainingUseTicks) voidCrossbowItem.onStoppedUsing(ItemStack stack, World world, LivingEntity user, int remainingUseTicks) voidItem.onStoppedUsing(ItemStack stack, World world, LivingEntity user, int remainingUseTicks) voidItemStack.onStoppedUsing(World world, LivingEntity user, int remainingUseTicks) voidSpyglassItem.onStoppedUsing(ItemStack stack, World world, LivingEntity user, int remainingUseTicks) voidTridentItem.onStoppedUsing(ItemStack stack, World world, LivingEntity user, int remainingUseTicks) booleanBucketItem.placeFluid(@Nullable PlayerEntity player, World world, BlockPos pos, @Nullable BlockHitResult hitResult) booleanFluidModificationItem.placeFluid(@Nullable PlayerEntity player, World world, BlockPos pos, @Nullable BlockHitResult hitResult) booleanPowderSnowBucketItem.placeFluid(@Nullable PlayerEntity player, World world, BlockPos pos, @Nullable BlockHitResult hitResult) private BlockStateBlockItem.placeFromNbt(BlockPos pos, World world, ItemStack stack, BlockState state) private static voidGoatHornItem.playSound(World world, PlayerEntity player, Instrument instrument) private voidFireChargeItem.playUseSound(World world, BlockPos pos) booleanItem.postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) voidItemStack.postMine(World world, BlockState state, BlockPos pos, PlayerEntity miner) booleanMiningToolItem.postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) booleanShearsItem.postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) booleanSwordItem.postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) booleanTridentItem.postMine(ItemStack stack, World world, BlockState state, BlockPos pos, LivingEntity miner) protected booleanBlockItem.postPlacement(BlockPos pos, World world, @Nullable PlayerEntity player, ItemStack stack, BlockState state) protected booleanSignItem.postPlacement(BlockPos pos, World world, @Nullable PlayerEntity player, ItemStack stack, BlockState state) private static voidCrossbowItem.postShoot(World world, LivingEntity entity, ItemStack stack) protected static BlockHitResultItem.raycast(World world, PlayerEntity player, RaycastContext.FluidHandling fluidHandling) private static voidprivate static voidCrossbowItem.shoot(World world, LivingEntity shooter, Hand hand, ItemStack crossbow, ItemStack projectile, float soundPitch, boolean creative, float speed, float divergence, float simulated) static voidCrossbowItem.shootAll(World world, LivingEntity entity, Hand hand, ItemStack stack, float speed, float divergence) voidFilledMapItem.updateColors(World world, Entity entity, MapState state) voidCrossbowItem.usageTick(World world, LivingEntity user, ItemStack stack, int remainingUseTicks) voidItem.usageTick(World world, LivingEntity user, ItemStack stack, int remainingUseTicks) voidItemStack.usageTick(World world, LivingEntity user, int remainingUseTicks) ArmorItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.BoatItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.BowItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.BucketItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.BundleItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.CrossbowItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.EggItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.ElytraItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.EmptyMapItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.EnderEyeItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.EnderPearlItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.ExperienceBottleItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.FireworkRocketItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.FishingRodItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.GlassBottleItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.GoatHornItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.HoneyBottleItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.Item.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.ItemStack.use(World world, PlayerEntity user, Hand hand) KnowledgeBookItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.LingeringPotionItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.MilkBucketItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.OnAStickItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.PlaceableOnWaterItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.PotionItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.ShieldItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.SnowballItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.SpawnEggItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.SplashPotionItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.SpyglassItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.ThrowablePotionItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.TridentItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.WritableBookItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.WrittenBookItem.use(World world, PlayerEntity user, Hand hand) Called when an item is used by a player.static booleanBoneMealItem.useOnFertilizable(ItemStack stack, World world, BlockPos pos) static booleanBoneMealItem.useOnGround(ItemStack stack, World world, BlockPos blockPos, @Nullable Direction facing) static booleanBlockItem.writeNbtToBlockEntity(World world, @Nullable PlayerEntity player, BlockPos pos, ItemStack stack) Method parameters in net.minecraft.item with type arguments of type WorldModifier and TypeMethodDescriptionprivate static intFilledMapItem.allocateMapId(World world, int x, int z, int scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension) private static voidFilledMapItem.createMapState(ItemStack stack, World world, int x, int z, int scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension) private voidCompassItem.writeNbt(RegistryKey<World> worldKey, BlockPos pos, NbtCompound nbt) Constructors in net.minecraft.item with parameters of type WorldModifierConstructorDescriptionAutomaticItemPlacementContext(World world, BlockPos pos, Direction facing, ItemStack stack, Direction side) protectedItemPlacementContext(World world, @Nullable PlayerEntity player, Hand hand, ItemStack stack, BlockHitResult hit) protectedItemUsageContext(World world, @Nullable PlayerEntity player, Hand hand, ItemStack stack, BlockHitResult hit) -
Uses of World in net.minecraft.item.map
Fields in net.minecraft.item.map with type parameters of type WorldMethod parameters in net.minecraft.item.map with type arguments of type WorldModifier and TypeMethodDescriptionstatic MapStateMapState.of(byte scale, boolean showIcons, RegistryKey<World> dimension) Creates a new map state instance for the client.static MapStateMapState.of(double centerX, double centerZ, byte scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension) Creates a new map state instance.Constructor parameters in net.minecraft.item.map with type arguments of type WorldModifierConstructorDescriptionprivateMapState(int centerX, int centerZ, byte scale, boolean showIcons, boolean unlimitedTracking, boolean locked, RegistryKey<World> dimension) -
Uses of World in net.minecraft.network.packet.c2s.play
Methods in net.minecraft.network.packet.c2s.play with parameters of type WorldModifier and TypeMethodDescriptionUpdateCommandBlockMinecartC2SPacket.getMinecartCommandExecutor(World world) -
Uses of World in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play with type parameters of type WorldModifier and TypeFieldDescriptionprivate final RegistryKey<World>PlayerRespawnS2CPacket.dimensionprivate final RegistryKey<World>GameJoinS2CPacket.dimensionIdThe field for thedimensionIdrecord component.private final Set<RegistryKey<World>>GameJoinS2CPacket.dimensionIdsThe field for thedimensionIdsrecord component.Methods in net.minecraft.network.packet.s2c.play that return types with arguments of type WorldModifier and TypeMethodDescriptionGameJoinS2CPacket.dimensionId()Returns the value of thedimensionIdrecord component.GameJoinS2CPacket.dimensionIds()Returns the value of thedimensionIdsrecord component.PlayerRespawnS2CPacket.getDimension()Methods in net.minecraft.network.packet.s2c.play with parameters of type WorldConstructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type WorldModifierConstructorDescriptionGameJoinS2CPacket(int playerEntityId, boolean bool, GameMode previousGameMode, @Nullable GameMode gameMode, Set<RegistryKey<World>> set, DynamicRegistryManager.Immutable immutable, RegistryKey<DimensionType> registryKey, RegistryKey<World> registryKey2, long long2, int maxPlayers, int chunkLoadDistance, int int2, boolean bool2, boolean bool3, boolean bool4, boolean bool5, Optional<GlobalPos> optional) -
Uses of World in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity with type parameters of type WorldModifier and TypeFieldDescriptionprivate @Nullable RegistryKey<World>LocationPredicate.Builder.dimensionprivate final @Nullable RegistryKey<World>LocationPredicate.dimensionMethod parameters in net.minecraft.predicate.entity with type arguments of type WorldModifier and TypeMethodDescriptionLocationPredicate.Builder.dimension(@Nullable RegistryKey<World> dimension) static LocationPredicateLocationPredicate.dimension(RegistryKey<World> dimension) -
Uses of World in net.minecraft.recipe
Methods in net.minecraft.recipe with parameters of type WorldModifier and TypeMethodDescriptionRecipeManager.getAllMatches(RecipeType<T> type, C inventory, World world) Creates a list of all recipes of the giventypethat match the giveninventoryandworld.RecipeManager.getFirstMatch(RecipeType<T> type, C inventory, World world) Returns a recipe of the giventypethat match the giveninventoryandworld.<C extends Inventory,T extends Recipe<C>>
Optional<com.mojang.datafixers.util.Pair<Identifier,T>> RecipeManager.getFirstMatch(RecipeType<T> type, C inventory, World world, @Nullable Identifier id) RecipeManager.MatchGetter.getFirstMatch(C inventory, World world) <C extends Inventory,T extends Recipe<C>>
DefaultedList<ItemStack>RecipeManager.getRemainingStacks(RecipeType<T> type, C inventory, World world) Returns the remainder of a recipe of the giventypethat match the giveninventoryandworld, or a shallow copy of theinventory.booleanReturns whether this recipe matches the contents inside theinventoryin the givenworld.booleanArmorDyeRecipe.matches(CraftingInventory craftingInventory, World world) booleanBannerDuplicateRecipe.matches(CraftingInventory craftingInventory, World world) booleanBookCloningRecipe.matches(CraftingInventory craftingInventory, World world) booleanFireworkRocketRecipe.matches(CraftingInventory craftingInventory, World world) booleanFireworkStarFadeRecipe.matches(CraftingInventory craftingInventory, World world) booleanFireworkStarRecipe.matches(CraftingInventory craftingInventory, World world) booleanMapCloningRecipe.matches(CraftingInventory craftingInventory, World world) booleanMapExtendingRecipe.matches(CraftingInventory craftingInventory, World world) booleanReturns whether this recipe matches the contents inside theinventoryin the givenworld.booleanRepairItemRecipe.matches(CraftingInventory craftingInventory, World world) booleanShapedRecipe.matches(CraftingInventory craftingInventory, World world) booleanShapelessRecipe.matches(CraftingInventory craftingInventory, World world) booleanShieldDecorationRecipe.matches(CraftingInventory craftingInventory, World world) booleanShulkerBoxColoringRecipe.matches(CraftingInventory craftingInventory, World world) booleanReturns whether this recipe matches the contents inside theinventoryin the givenworld.booleanReturns whether this recipe matches the contents inside theinventoryin the givenworld.booleanSuspiciousStewRecipe.matches(CraftingInventory craftingInventory, World world) booleanTippedArrowRecipe.matches(CraftingInventory craftingInventory, World world) default booleanRecipeUnlocker.shouldCraftRecipe(World world, ServerPlayerEntity player, Recipe<?> recipe) -
Uses of World in net.minecraft.screen
Fields in net.minecraft.screen declared as WorldModifier and TypeFieldDescriptionprotected final WorldAbstractFurnaceScreenHandler.worldprivate final WorldSmithingScreenHandler.worldprivate final WorldStonecutterScreenHandler.worldMethods in net.minecraft.screen with parameters of type WorldModifier and TypeMethodDescriptionstatic ScreenHandlerContextReturns an active screen handler context.protected static voidCraftingScreenHandler.updateResult(ScreenHandler handler, World world, PlayerEntity player, CraftingInventory craftingInventory, CraftingResultInventory resultInventory) Method parameters in net.minecraft.screen with type arguments of type WorldModifier and TypeMethodDescription<T> Optional<T>ScreenHandlerContext.get(BiFunction<World, BlockPos, T> getter) Gets an optional value from this context's world and position with aBiFunctiongetter.default <T> TScreenHandlerContext.get(BiFunction<World, BlockPos, T> getter, T defaultValue) Gets a value from this context's world and position with aBiFunctiongetter.default voidScreenHandlerContext.run(BiConsumer<World, BlockPos> function) Runs aBiConsumerwith this context's world and position if this context is active. -
Uses of World in net.minecraft.server
Fields in net.minecraft.server with type parameters of type WorldModifier and TypeFieldDescriptionprivate final Map<RegistryKey<World>,ServerWorld> MinecraftServer.worldsMethods in net.minecraft.server that return types with arguments of type WorldMethod parameters in net.minecraft.server with type arguments of type WorldModifier and TypeMethodDescriptionMinecraftServer.getWorld(RegistryKey<World> key) voidPlayerManager.sendToAround(@Nullable PlayerEntity player, double x, double y, double z, double distance, RegistryKey<World> worldKey, Packet<?> packet) voidPlayerManager.sendToDimension(Packet<?> packet, RegistryKey<World> dimension) -
Uses of World in net.minecraft.server.chase
Fields in net.minecraft.server.chase with type parameters of type WorldModifier and TypeFieldDescriptionprivate final RegistryKey<World>ChaseClient.TeleportPos.dimensionThe field for thedimensionrecord component.Methods in net.minecraft.server.chase that return types with arguments of type WorldModifier and TypeMethodDescriptionChaseClient.TeleportPos.dimension()Returns the value of thedimensionrecord component.Constructor parameters in net.minecraft.server.chase with type arguments of type WorldModifierConstructorDescription(package private)TeleportPos(RegistryKey<World> dimension, Vec3d pos, Vec2f rot) Creates an instance of aTeleportPosrecord class. -
Uses of World in net.minecraft.server.command
Fields in net.minecraft.server.command with type parameters of type WorldMethods in net.minecraft.server.command that return types with arguments of type World -
Uses of World in net.minecraft.server.network
Fields in net.minecraft.server.network with type parameters of type WorldModifier and TypeFieldDescriptionprivate RegistryKey<World>ServerPlayerEntity.spawnPointDimensionMethods in net.minecraft.server.network that return types with arguments of type WorldMethods in net.minecraft.server.network with parameters of type WorldModifier and TypeMethodDescriptionbooleanServerPlayerEntity.canModifyAt(World world, BlockPos pos) DemoServerPlayerInteractionManager.interactBlock(ServerPlayerEntity player, World world, ItemStack stack, Hand hand, BlockHitResult hitResult) ServerPlayerInteractionManager.interactBlock(ServerPlayerEntity player, World world, ItemStack stack, Hand hand, BlockHitResult hitResult) DemoServerPlayerInteractionManager.interactItem(ServerPlayerEntity player, World world, ItemStack stack, Hand hand) ServerPlayerInteractionManager.interactItem(ServerPlayerEntity player, World world, ItemStack stack, Hand hand) static voidDebugInfoSender.sendBeehiveDebugData(World world, BlockPos pos, BlockState state, BeehiveBlockEntity blockEntity) static voidDebugInfoSender.sendGameEvent(World world, GameEvent event, Vec3d pos) static voidDebugInfoSender.sendGameEventListener(World world, GameEventListener eventListener) static voidDebugInfoSender.sendGoalSelector(World world, MobEntity mob, GoalSelector goalSelector) static voidDebugInfoSender.sendNeighborUpdate(World world, BlockPos pos) static voidDebugInfoSender.sendPathfindingData(World world, MobEntity mob, @Nullable Path path, float nodeReachProximity) Method parameters in net.minecraft.server.network with type arguments of type WorldModifier and TypeMethodDescriptionvoidServerPlayerEntity.setSpawnPoint(RegistryKey<World> dimension, @Nullable BlockPos pos, float angle, boolean forced, boolean sendMessage) Sets the player's spawn point. -
Uses of World in net.minecraft.server.world
Subclasses of World in net.minecraft.server.worldMethods in net.minecraft.server.world that return WorldMethods in net.minecraft.server.world with parameters of type WorldModifier and TypeMethodDescriptionprivate voidChunkHolder.sendBlockEntityUpdatePacket(World world, BlockPos pos) private voidChunkHolder.tryUpdateBlockEntityAt(World world, BlockPos pos, BlockState state) Constructors in net.minecraft.server.world with parameters of type WorldConstructor parameters in net.minecraft.server.world with type arguments of type WorldModifierConstructorDescriptionServerWorld(MinecraftServer server, Executor workerExecutor, LevelStorage.Session session, ServerWorldProperties properties, RegistryKey<World> worldKey, DimensionOptions dimensionOptions, WorldGenerationProgressListener worldGenerationProgressListener, boolean debugWorld, long seed, List<Spawner> spawners, boolean shouldTickTime) -
Uses of World in net.minecraft.structure
Methods in net.minecraft.structure with parameters of type WorldModifier and TypeMethodDescriptionprivate voidStructureTemplate.addEntitiesFromWorld(World world, BlockPos firstCorner, BlockPos secondCorner) voidStructureTemplate.saveFromWorld(World world, BlockPos start, Vec3i dimensions, boolean includeEntities, @Nullable Block ignoredBlock) -
Uses of World in net.minecraft.util
Methods in net.minecraft.util with parameters of type WorldModifier and TypeMethodDescriptionprivate static voidstatic voidstatic voidstatic voidstatic voidItemScatterer.spawn(World world, BlockPos pos, DefaultedList<ItemStack> stacks) -
Uses of World in net.minecraft.util.math
Fields in net.minecraft.util.math with type parameters of type WorldMethods in net.minecraft.util.math that return types with arguments of type WorldMethod parameters in net.minecraft.util.math with type arguments of type WorldModifier and TypeMethodDescriptionstatic GlobalPosGlobalPos.create(RegistryKey<World> dimension, BlockPos pos) Constructor parameters in net.minecraft.util.math with type arguments of type World -
Uses of World in net.minecraft.util.profiling.jfr
Method parameters in net.minecraft.util.profiling.jfr with type arguments of type WorldModifier and TypeMethodDescriptionFlightProfiler.NoopProfiler.startChunkGenerationProfiling(ChunkPos chunkPos, RegistryKey<World> world, String targetStatus) FlightProfiler.startChunkGenerationProfiling(ChunkPos chunkPos, RegistryKey<World> world, String targetStatus) JfrProfiler.startChunkGenerationProfiling(ChunkPos chunkPos, RegistryKey<World> world, String targetStatus) -
Uses of World in net.minecraft.util.profiling.jfr.event
Constructor parameters in net.minecraft.util.profiling.jfr.event with type arguments of type WorldModifierConstructorDescriptionChunkGenerationEvent(ChunkPos chunkPos, RegistryKey<World> world, String targetStatus) -
Uses of World in net.minecraft.util.registry
Fields in net.minecraft.util.registry with type parameters of type WorldModifier and TypeFieldDescriptionstatic final RegistryKey<Registry<World>>Registry.WORLD_KEYA registry key representing theWorldtype. -
Uses of World in net.minecraft.village.raid
Methods in net.minecraft.village.raid that return World -
Uses of World in net.minecraft.world
Fields in net.minecraft.world with type parameters of type WorldModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<RegistryKey<World>>World.CODECstatic final RegistryKey<World>World.ENDstatic final RegistryKey<World>World.NETHERstatic final RegistryKey<World>World.OVERWORLDprivate final RegistryKey<World>World.registryKeyprivate final RegistryKey<World>StructureLocator.worldKeyMethods in net.minecraft.world that return types with arguments of type WorldMethods in net.minecraft.world with parameters of type WorldModifier and TypeMethodDescriptionvoidMobSpawnerLogic.clientTick(World world, BlockPos pos) booleanprivate static BlockPosSpawnHelper.getRandomPosInChunkSection(World world, WorldChunk chunk) MobSpawnerLogic.getRenderedEntity(World world) booleanMobSpawnerLogic.handleStatus(World world, int status) private booleanMobSpawnerLogic.isPlayerInRange(World world, BlockPos pos) voidMobSpawnerLogic.readNbt(@Nullable World world, BlockPos pos, NbtCompound nbt) abstract voidMobSpawnerLogic.sendStatus(World world, BlockPos pos, int status) voidMobSpawnerLogic.setSpawnEntry(@Nullable World world, BlockPos pos, MobSpawnerEntry spawnEntry) private voidMobSpawnerLogic.updateSpawns(World world, BlockPos pos) Method parameters in net.minecraft.world with type arguments of type WorldModifier and TypeMethodDescriptionstatic FeatureUpdaterFeatureUpdater.create(RegistryKey<World> world, @Nullable PersistentStateManager persistentStateManager) Constructor parameters in net.minecraft.world with type arguments of type WorldModifierConstructorDescriptionStructureLocator(NbtScannable chunkIoWorker, DynamicRegistryManager registryManager, StructureTemplateManager structureTemplateManager, RegistryKey<World> worldKey, ChunkGenerator chunkGenerator, NoiseConfig noiseConfig, HeightLimitView world, BiomeSource biomeSource, long seed, com.mojang.datafixers.DataFixer dataFixer) protectedWorld(MutableWorldProperties properties, RegistryKey<World> registryRef, RegistryEntry<DimensionType> dimension, Supplier<Profiler> profiler, 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 voidNeighborUpdater.tryNeighborUpdate(World world, BlockState state, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify) booleanbooleanbooleanbooleanbooleanConstructors in net.minecraft.world.block with parameters of type WorldModifierConstructorDescriptionChainRestrictedNeighborUpdater(World world, int maxChainDepth) SimpleNeighborUpdater(World world) -
Uses of World in net.minecraft.world.chunk
Fields in net.minecraft.world.chunk declared as WorldModifier and TypeFieldDescriptionprotected final WorldChunkCache.world(package private) final WorldWorldChunk.worldMethods in net.minecraft.world.chunk that return WorldConstructors in net.minecraft.world.chunk with parameters of type WorldModifierConstructorDescriptionChunkCache(World world, BlockPos minPos, BlockPos maxPos) EmptyChunk(World world, ChunkPos chunkPos, RegistryEntry<Biome> registryEntry) WorldChunk(World world, ChunkPos chunkPos) 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 TypeMethodDescriptionstatic 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 World -
Uses of World in net.minecraft.world.event.listener
Methods in net.minecraft.world.event.listener with parameters of type WorldModifier and TypeMethodDescriptionprivate static booleanVibrationListener.isOccluded(World world, Vec3d start, Vec3d end) voidEntityGameEventHandler.setListener(T listener, @Nullable World world) void -
Uses of World in net.minecraft.world.explosion
Fields in net.minecraft.world.explosion declared as WorldConstructors in net.minecraft.world.explosion with parameters of type WorldModifierConstructorDescriptionExplosion(World world, @Nullable Entity entity, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType) Explosion(World world, @Nullable Entity entity, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType, List<BlockPos> affectedBlocks) Explosion(World world, @Nullable Entity entity, double x, double y, double z, float power, List<BlockPos> affectedBlocks) Explosion(World world, @Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType) -
Uses of World in net.minecraft.world.gen
Methods in net.minecraft.world.gen that return types with arguments of type WorldModifier and TypeMethodDescriptionGeneratorOptions.getWorlds()static RegistryKey<World>GeneratorOptions.toWorldKey(RegistryKey<DimensionOptions> dimensionOptionsKey) Method parameters in net.minecraft.world.gen with type arguments of type WorldModifier and TypeMethodDescriptionstatic RegistryKey<DimensionOptions>GeneratorOptions.toDimensionOptionsKey(RegistryKey<World> worldKey) -
Uses of World in net.minecraft.world.level.storage
Method parameters in net.minecraft.world.level.storage with type arguments of type World -
Uses of World in net.minecraft.world.storage
Method parameters in net.minecraft.world.storage with type arguments of type WorldModifier and TypeMethodDescriptionprivate FeatureUpdaterVersionedChunkStorage.method_43411(RegistryKey<World> registryKey, Supplier<PersistentStateManager> supplier) static voidVersionedChunkStorage.saveContextToNbt(NbtCompound nbt, RegistryKey<World> worldKey, Optional<RegistryKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>> generatorCodecKey) VersionedChunkStorage.updateChunkNbt(RegistryKey<World> worldKey, Supplier<PersistentStateManager> persistentStateManagerFactory, NbtCompound nbt, Optional<RegistryKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>> generatorCodecKey) -
Uses of World in net.minecraft.world.updater
Fields in net.minecraft.world.updater with type parameters of type WorldModifier and TypeFieldDescriptionprivate final Object2FloatMap<RegistryKey<World>>WorldUpdater.dimensionProgressMethods in net.minecraft.world.updater that return types with arguments of type WorldMethod parameters in net.minecraft.world.updater with type arguments of type WorldModifier and TypeMethodDescriptionWorldUpdater.getChunkPositions(RegistryKey<World> world) floatWorldUpdater.getProgress(RegistryKey<World> world)
AbstractBlock.AbstractBlockState.createScreenHandlerFactory(net.minecraft.world.World, net.minecraft.util.math.BlockPos)instead.