Uses of Class
net.minecraft.world.World
-
Uses of World in net.minecraft.advancement.criterion
Fields in net.minecraft.advancement.criterion with type parameters of type World Modifier and Type Field Description private @Nullable RegistryKey<World>ChangedDimensionCriterion.Conditions. fromprivate @Nullable RegistryKey<World>ChangedDimensionCriterion.Conditions. toMethod parameters in net.minecraft.advancement.criterion with type arguments of type World Modifier and Type Method Description static ChangedDimensionCriterion.ConditionsChangedDimensionCriterion.Conditions. create(RegistryKey<World> from, RegistryKey<World> to)static ChangedDimensionCriterion.ConditionsChangedDimensionCriterion.Conditions. from(RegistryKey<World> from)booleanChangedDimensionCriterion.Conditions. matches(RegistryKey<World> from, RegistryKey<World> to)static ChangedDimensionCriterion.ConditionsChangedDimensionCriterion.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 World Constructor Description Conditions(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 World Modifier and Type Field Description private WorldRailPlacementHelper. worldMethods in net.minecraft.block with parameters of type World Modifier and Type Method Description private 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 booleanTurtleEggBlock. breaksEgg(World world, Entity entity)private intComparatorBlock. calculateOutputSignal(World world, BlockPos pos, BlockState state)static booleanWitherSkullBlock. canDispense(World world, BlockPos pos, ItemStack stack)protected static booleanCauldronBlock. canFillWithPrecipitation(World world)booleanAbstractPlantBlock. canGrow(World world, Random random, BlockPos pos, BlockState state)booleanAbstractPlantStemBlock. 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)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)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)@Nullable NamedScreenHandlerFactoryAbstractBlock.AbstractBlockState. createScreenHandlerFactory(World world, BlockPos pos)@Nullable NamedScreenHandlerFactoryAbstractBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)Deprecated.@Nullable NamedScreenHandlerFactoryAnvilBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)@Nullable NamedScreenHandlerFactoryBlockWithEntity. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)@Nullable NamedScreenHandlerFactoryCartographyTableBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)@Nullable NamedScreenHandlerFactoryChestBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)NamedScreenHandlerFactoryCraftingTableBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)@Nullable NamedScreenHandlerFactoryEnchantingTableBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)NamedScreenHandlerFactoryGrindstoneBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)@Nullable NamedScreenHandlerFactoryLecternBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)NamedScreenHandlerFactoryLoomBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)NamedScreenHandlerFactorySmithingTableBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)@Nullable NamedScreenHandlerFactoryStonecutterBlock. createScreenHandlerFactory(BlockState state, World world, BlockPos pos)static voidLeveledCauldronBlock. decrementFluidLevel(BlockState state, World world, BlockPos pos)private voidChorusFlowerBlock. die(World world, BlockPos pos)private voidLecternBlock. dropBook(BlockState state, World world, BlockPos pos)static voidBeehiveBlock. dropHoneycomb(World world, BlockPos pos)static voidBlock. dropStack(World world, BlockPos pos, ItemStack stack)static 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)DoubleBlockProperties.PropertySource<? extends ChestBlockEntity>ChestBlock. getBlockEntitySource(BlockState state, World world, BlockPos pos, boolean ignoreBlocked)DoubleBlockProperties.PropertySource<? extends ChestBlockEntity>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)private static @Nullable BlockPosPointedDripstoneBlock. 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)static FluidPointedDripstoneBlock. getDripFluid(World world, BlockPos pos)static @Nullable BlockPosPointedDripstoneBlock. getDripPos(World world, BlockPos pos)private static Optional<Fluid>PointedDripstoneBlock. getFluid(World world, BlockPos pos, BlockState state)default <T extends BlockEntity>
@Nullable GameEventListenerBlockEntityProvider. getGameEventListener(World world, T blockEntity)<T extends BlockEntity>
@Nullable GameEventListenerSculkSensorBlock. getGameEventListener(World world, T blockEntity)protected intBeetrootsBlock. getGrowthAmount(World world)protected intCropBlock. getGrowthAmount(World world)static @Nullable InventoryChestBlock. 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)private static Optional<BlockPos>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>PistonExtensionBlock. 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>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 voidBambooSaplingBlock. grow(World world, BlockPos pos)private voidChorusFlowerBlock. grow(World world, BlockPos pos, int age)private booleanBeehiveBlock. hasBees(World world, BlockPos pos)protected 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)private static booleanRedstoneTorchBlock. isBurnedOut(World world, BlockPos pos, boolean addNew)private booleanBedBlock. isFree(World world, BlockPos pos)static booleanCampfireBlock. isLitCampfireInRange(World world, BlockPos pos)static booleanPistonBlock. isMovable(BlockState state, World world, BlockPos pos, Direction direction, boolean canBreak, Direction pistonDir)static booleanRespawnAnchorBlock. isNether(World world)static booleanBedBlock. isOverworld(World world)private static booleanAbstractFireBlock. isOverworldOrNether(World world)protected booleanPoweredRailBlock. isPoweredByOtherRails(World world, BlockPos pos, boolean bool, int distance, RailShape shape)protected booleanPoweredRailBlock. isPoweredByOtherRails(World world, BlockPos pos, BlockState state, boolean bool, int distance)static booleanAbstractRailBlock. isRail(World world, BlockPos pos)protected 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 booleanPistonBlock. move(World world, BlockPos pos, Direction dir, boolean retract)voidAbstractBlock.AbstractBlockState. neighborUpdate(World world, BlockPos pos, Block block, BlockPos posFrom, boolean notify)voidAbstractBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)Deprecated.voidAbstractRailBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidAbstractRedstoneGateBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidBellBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidBigDripleafBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidCommandBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidDispenserBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidDoorBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidFenceGateBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidFluidBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidFrostedIceBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidHopperBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidNoteBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidPistonBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidPistonHeadBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidRedstoneLampBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidRedstoneTorchBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidRedstoneWireBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidSpongeBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidStructureBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidTntBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidTrapdoorBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, 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)voidHopperBlock. 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)Deprecated.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.voidInfestedBlock. 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)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)voidBedBlock. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)voidBlock. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)voidFarmlandBlock. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)voidHayBlock. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)voidHoneyBlock. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)voidPointedDripstoneBlock. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)voidSlimeBlock. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)voidTurtleEggBlock. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)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)Deprecated.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.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, Entity entity)Called when an entity steps on this block.voidMagmaBlock. onSteppedOn(World world, BlockPos pos, Entity entity)Called when an entity steps on this block.voidRedstoneOreBlock. onSteppedOn(World world, BlockPos pos, Entity entity)Called when an entity steps on this block.voidSlimeBlock. onSteppedOn(World world, BlockPos pos, Entity entity)Called when an entity steps on this block.voidStairsBlock. onSteppedOn(World world, BlockPos pos, Entity entity)Called when an entity steps on this block.voidTurtleEggBlock. onSteppedOn(World world, BlockPos pos, 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)ActionResultAbstractBlock.AbstractBlockState. onUse(World world, PlayerEntity player, Hand hand, BlockHitResult hit)ActionResultAbstractBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Deprecated.ActionResultAbstractButtonBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultAbstractCauldronBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultAbstractFurnaceBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultAbstractSignBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultAnvilBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultBarrelBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultBeaconBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultBedBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultBeehiveBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultBellBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultBrewingStandBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultCakeBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultCampfireBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultCandleBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultCandleCakeBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultCartographyTableBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultCaveVinesBodyBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultCaveVinesHeadBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultChestBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultCommandBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultComparatorBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultComposterBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultCraftingTableBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultDaylightDetectorBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultDispenserBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultDoorBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultDragonEggBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultEnchantingTableBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultEnderChestBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultFenceBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultFenceGateBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultFletchingTableBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultFlowerPotBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultGrindstoneBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultHopperBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultJigsawBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultJukeboxBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultLecternBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultLeverBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultLightBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultLoomBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultNoteBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultPistonExtensionBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultPumpkinBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultRedstoneOreBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultRedstoneWireBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultRepeaterBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultRespawnAnchorBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultShulkerBoxBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultSmithingTableBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultStairsBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultStonecutterBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultStructureBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultSweetBerryBushBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultTntBlock. onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)Called when this block is used by a player.ActionResultTrapdoorBlock. 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 voidNoteBlock. playNote(World world, BlockPos pos)private 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 voidTntBlock. primeTnt(World world, BlockPos pos)private static voidTntBlock. primeTnt(World world, BlockPos pos, @Nullable LivingEntity igniter)static BlockStateBlock. pushEntitiesUpBeforeBlockChange(BlockState from, BlockState to, World world, BlockPos pos)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)booleanBellBlock. ring(@Nullable Entity entity, World world, BlockPos pos, @Nullable Direction direction)booleanBellBlock. ring(World world, BlockState state, BlockHitResult hitResult, @Nullable PlayerEntity player, boolean bool)booleanBellBlock. ring(World world, BlockPos pos, @Nullable Direction direction)static voidSculkSensorBlock. setActive(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)static voidPowderSnowBlock. spawnParticles(World world, Vec3d pos)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)BlockStateLeverBlock. togglePower(BlockState state, World world, BlockPos pos)private voidTurtleEggBlock. tryBreakEgg(World world, 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 rand, int currentAge)private voidComparatorBlock. update(World world, BlockPos pos, BlockState state)private voidRedstoneWireBlock. update(World world, BlockPos pos, BlockState state)protected voidSpongeBlock. update(World world, BlockPos pos)private 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)Constructors in net.minecraft.block with parameters of type World Constructor Description RailPlacementHelper(World world, BlockPos pos, BlockState state) -
Uses of World in net.minecraft.block.cauldron
Methods in net.minecraft.block.cauldron with parameters of type World Modifier and Type Method Description static 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)ActionResultCauldronBehavior. 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 World Modifier and Type Method Description protected abstract ProjectileEntityProjectileDispenserBehavior. createProjectile(World world, Position position, ItemStack stack)static voidItemDispenserBehavior. spawnItem(World world, ItemStack stack, int offset, Direction side, Position pos) -
Uses of World in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as World Modifier and Type Field Description protected @Nullable WorldBlockEntity. worldMethods in net.minecraft.block.entity that return World Modifier and Type Method Description @Nullable WorldBlockEntity. getWorld()Methods in net.minecraft.block.entity with parameters of type World Modifier and Type Method Description voidSculkSensorBlockEntity. accept(World world, GameEventListener listener, GameEvent event, int distance)Accepts a game event after delay.booleanSculkSensorBlockEntity. accepts(World world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable Entity entity)Returns whether the callback wants to accept this event.private 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)voidChestStateManager. closeChest(PlayerEntity player, World world, BlockPos pos, BlockState state)private static voidBrewingStandBlockEntity. craft(World world, BlockPos pos, DefaultedList<ItemStack> slots)static booleanHopperBlockEntity. extract(World world, Hopper hopper)private static BlockPosEndGatewayBlockEntity. findBestPortalExitPos(World world, BlockPos pos)private static @Nullable LivingEntityConduitBlockEntity. findTargetEntity(World world, BlockPos pos, UUID uuid)private static WorldChunkEndGatewayBlockEntity. getChunk(World world, Vec3d pos)private static intAbstractFurnaceBlockEntity. getCookTime(World world, RecipeType<? extends AbstractCookingRecipe> recipeType, Inventory inventory)private static @Nullable InventoryHopperBlockEntity. getInputInventory(World world, Hopper hopper)static List<ItemEntity>HopperBlockEntity. getInputItemEntities(World world, Hopper hopper)private intChestStateManager. getInRangeViewerCount(World world, BlockPos pos)private static @Nullable InventoryHopperBlockEntity. getInventoryAt(World world, double x, double y, double z)static @Nullable InventoryHopperBlockEntity. getInventoryAt(World world, BlockPos pos)private static @Nullable InventoryHopperBlockEntity. 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 voidChestStateManager. onChestClosed(World world, BlockPos pos, BlockState state)Run when this chest closes (when the viewer count reaches zero).protected abstract voidChestStateManager. onChestOpened(World world, BlockPos pos, BlockState state)Run when this chest is opened (when the viewer count becomes nonzero).static voidHopperBlockEntity. onEntityCollided(World world, BlockPos pos, BlockState state, Entity entity, HopperBlockEntity blockEntity)protected abstract voidChestStateManager. onInteracted(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount)Run when a player interacts with this chest.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)voidChestStateManager. openChest(PlayerEntity player, World world, BlockPos pos, BlockState state)static voidBeaconBlockEntity. playSound(World world, BlockPos pos, SoundEvent sound)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 blockPos, BlockState state, BeehiveBlockEntity.Bee bee, @Nullable List<Entity> list, BeehiveBlockEntity.BeeState beeState, @Nullable BlockPos blockPos2)voidBellBlockEntity.Effect. run(World world, BlockPos pos, List<LivingEntity> hearingEntities)private static voidChestStateManager. 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)voidBeaconBlockEntity. setWorld(World world)voidBlockEntity. setWorld(World world)private static voidConduitBlockEntity. spawnNautilusParticles(World world, BlockPos pos, List<BlockPos> activatingBlocks, @Nullable Entity entity, int int2)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 voidPistonBlockEntity. tick(World world, BlockPos pos, BlockState state, PistonBlockEntity 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 blockPos, BlockState blockState, List<BeehiveBlockEntity.Bee> list, @Nullable BlockPos blockPos2)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)voidChestStateManager. updateViewerCount(World world, BlockPos pos, BlockState state) -
Uses of World in net.minecraft.block.piston
Fields in net.minecraft.block.piston declared as World Modifier and Type Field Description private WorldPistonHandler. worldConstructors in net.minecraft.block.piston with parameters of type World Constructor Description PistonHandler(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 World Modifier and Type Method Description intBlockColors. getColor(BlockState state, World world, BlockPos pos) -
Uses of World in net.minecraft.client.gui.hud
Methods in net.minecraft.client.gui.hud that return World Modifier and Type Method Description private WorldDebugHud. getWorld() -
Uses of World in net.minecraft.client.gui.screen.world
Fields in net.minecraft.client.gui.screen.world with type parameters of type World Modifier and Type Field Description private static Object2IntMap<RegistryKey<World>>OptimizeWorldScreen. DIMENSION_COLORSConstructor parameters in net.minecraft.client.gui.screen.world with type arguments of type World Constructor Description OptimizeWorldScreen(BooleanConsumer callback, com.mojang.datafixers.DataFixer dataFixer, LevelStorage.Session storageSession, LevelInfo levelInfo, boolean eraseCache, ImmutableSet<RegistryKey<World>> worlds) -
Uses of World in net.minecraft.client.network
Fields in net.minecraft.client.network with type parameters of type World Modifier and Type Field Description private Set<RegistryKey<World>>ClientPlayNetworkHandler. worldKeysMethods in net.minecraft.client.network that return types with arguments of type World Modifier and Type Method Description Set<RegistryKey<World>>ClientCommandSource. getWorldKeys()Set<RegistryKey<World>>ClientPlayNetworkHandler. getWorldKeys()Methods in net.minecraft.client.network with parameters of type World Modifier and Type Method Description ActionResultClientPlayerInteractionManager. interactItem(PlayerEntity player, World world, Hand hand) -
Uses of World in net.minecraft.client.render
Fields in net.minecraft.client.render declared as World Modifier and Type Field Description protected WorldBuiltChunkStorage. worldMethods in net.minecraft.client.render with parameters of type World Modifier and Type Method Description private floatLightmapTextureManager. getBrightness(World world, int int2)private voidWorldRenderer. updateEntitiesForSong(World world, BlockPos pos, boolean playing)Constructors in net.minecraft.client.render with parameters of type World Constructor Description BuiltChunkStorage(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 World Modifier and Type Field Description WorldBlockEntityRenderDispatcher. worldMethods in net.minecraft.client.render.block.entity with parameters of type World Modifier and Type Method Description voidBlockEntityRenderDispatcher. configure(World world, Camera camera, HitResult crosshairTarget)private voidPistonBlockEntityRenderer. renderModel(BlockPos pos, BlockState state, MatrixStack matrices, VertexConsumerProvider vertexConsumers, World world, boolean cull, int overlay)voidBlockEntityRenderDispatcher. setWorld(@Nullable World world) -
Uses of World in net.minecraft.client.render.chunk
Fields in net.minecraft.client.render.chunk declared as World Modifier and Type Field Description private WorldChunkBuilder. worldprotected WorldChunkRendererRegion. worldMethods in net.minecraft.client.render.chunk with parameters of type World Modifier and Type Method Description static @Nullable ChunkRendererRegionChunkRendererRegion. create(World world, BlockPos startPos, BlockPos endPos, int chunkRadius)voidChunkBuilder. setWorld(World world)Constructors in net.minecraft.client.render.chunk with parameters of type World Constructor Description ChunkBuilder(World world, WorldRenderer worldRenderer, Executor executor, boolean is64Bits, BlockBufferBuilderStorage buffers)ChunkRendererRegion(World world, int chunkX, int chunkZ, WorldChunk[][] chunks, BlockPos startPos, BlockPos endPos) -
Uses of World in net.minecraft.client.render.debug
Methods in net.minecraft.client.render.debug with parameters of type World Modifier and Type Method Description Optional<BlockPos>GameEventDebugRenderer.Listener. getPos(World world)booleanGameEventDebugRenderer.Listener. isTooFar(World world, BlockPos pos)booleanGameEventDebugRenderer.Listener. listen(World world, GameEvent event, @Nullable Entity entity, BlockPos pos)Listens to an incoming game event. -
Uses of World in net.minecraft.client.render.entity
Fields in net.minecraft.client.render.entity declared as World Modifier and Type Field Description private WorldEntityRenderDispatcher. world -
Uses of World in net.minecraft.client.render.item
Methods in net.minecraft.client.render.item with parameters of type World Modifier and Type Method Description BakedModelItemRenderer. getHeldItemModel(ItemStack itemStack, @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 World Modifier and Type Method Description static voidParticleUtil. spawnParticle(Direction.Axis axis, World world, BlockPos pos, double variance, ParticleEffect effect, UniformIntProvider range)static voidParticleUtil. spawnParticle(World world, BlockPos pos, ParticleEffect effect, UniformIntProvider range)static voidParticleUtil. spawnParticle(World world, BlockPos pos, Direction direction, ParticleEffect effect) -
Uses of World in net.minecraft.client.world
Subclasses of World in net.minecraft.client.world Modifier and Type Class Description classClientWorldConstructor parameters in net.minecraft.client.world with type arguments of type World Constructor Description ClientWorld(ClientPlayNetworkHandler networkHandler, ClientWorld.Properties properties, RegistryKey<World> registryRef, DimensionType dimensionType, int loadDistance, 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 Modifier and Type Method Description Set<RegistryKey<World>>CommandSource. getWorldKeys() -
Uses of World in net.minecraft.enchantment
Methods in net.minecraft.enchantment with parameters of type World Modifier and Type Method Description static voidFrostWalkerEnchantment. freezeWater(LivingEntity entity, World world, BlockPos blockPos, int level) -
Uses of World in net.minecraft.entity
Fields in net.minecraft.entity declared as World Modifier and Type Field Description WorldEntity. worldMethods in net.minecraft.entity that return World Modifier and Type Method Description WorldEntity. getEntityWorld()WorldFallingBlockEntity. getWorldClient()Methods in net.minecraft.entity with parameters of type World Modifier and Type Method Description static Vec3dEntity. adjustMovementForCollisions(@Nullable Entity entity, Vec3d movement, Box entityBoundingBox, World world, ShapeContext context, ReusableStream<VoxelShape> collisions)private voidLivingEntity. applyFoodEffects(ItemStack stack, World world, LivingEntity targetEntity)private static voidLightningEntity. cleanOxidization(World world, BlockPos pos)private static Optional<BlockPos>LightningEntity. cleanOxidizationAround(World world, BlockPos pos)private static voidLightningEntity. cleanOxidizationAround(World world, BlockPos pos, BlockPos.Mutable mutablePos, int count)TEntityType. create(World world)TEntityType.EntityFactory. create(EntityType<T> type, World world)static @Nullable EntityEntityType. createInstanceFromId(int type, World world)ItemStackLivingEntity. eatFood(World world, ItemStack stack)static Optional<Entity>EntityType. getEntityFromNbt(NbtCompound nbt, World world)private static Optional<Entity>EntityType. loadEntityFromNbt(NbtCompound nbt, World world)static @Nullable EntityEntityType. loadEntityWithPassengers(NbtCompound nbt, World world, Function<Entity,Entity> entityProcessor)static voidEntityType. loadFromEntityNbt(World world, @Nullable PlayerEntity player, @Nullable Entity entity, @Nullable NbtCompound itemNbt)private static @Nullable EntityEntityType. newInstance(World world, @Nullable EntityType<?> type)static Stream<Entity>EntityType. streamFromNbt(List<? extends NbtElement> entityNbtList, World world)Constructors in net.minecraft.entity with parameters of type World Constructor Description AreaEffectCloudEntity(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)FallingBlockEntity(World world, double x, double y, double z, BlockState block)ItemEntity(EntityType<? extends ItemEntity> type, World world)ItemEntity(World world, double x, double y, double z)ItemEntity(World world, double x, double y, double z, ItemStack stack)LightningEntity(EntityType<? extends LightningEntity> type, World world)LivingEntity(EntityType<? extends LivingEntity> 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 World Modifier and Type Field Description protected WorldAnimalMateGoal. worldprivate WorldEatGrassGoal. worldprivate WorldEscapeSunlightGoal. worldprivate WorldWolfBegGoal. worldMethods in net.minecraft.entity.ai.goal with parameters of type World Modifier and Type Method Description voidStepAndDestroyBlockGoal. onDestroyBlock(World world, BlockPos pos) -
Uses of World in net.minecraft.entity.ai.pathing
Fields in net.minecraft.entity.ai.pathing declared as World Modifier and Type Field Description protected WorldEntityNavigation. worldConstructors in net.minecraft.entity.ai.pathing with parameters of type World Constructor Description BirdNavigation(MobEntity mob, World world)EntityNavigation(MobEntity mob, World world)MobNavigation(MobEntity mob, World world)SpiderNavigation(MobEntity mob, World world)SwimNavigation(MobEntity mob, World world) -
Uses of World in net.minecraft.entity.boss
Constructors in net.minecraft.entity.boss with parameters of type World Constructor Description WitherEntity(EntityType<? extends WitherEntity> type, World world) -
Uses of World in net.minecraft.entity.boss.dragon
Constructors in net.minecraft.entity.boss.dragon with parameters of type World Constructor Description EnderDragonEntity(EntityType<? extends EnderDragonEntity> type, World world) -
Uses of World in net.minecraft.entity.decoration
Methods in net.minecraft.entity.decoration with parameters of type World Modifier and Type Method Description static LeashKnotEntityLeashKnotEntity. getOrCreate(World world, BlockPos pos) -
Uses of World in net.minecraft.entity.decoration.painting
Constructors in net.minecraft.entity.decoration.painting with parameters of type World Constructor Description PaintingEntity(EntityType<? extends PaintingEntity> type, World world)PaintingEntity(World world, BlockPos pos, Direction direction)PaintingEntity(World world, BlockPos pos, Direction direction, PaintingMotive motive) -
Uses of World in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob declared as World Modifier and Type Field Description private WorldDrownedEntity.WanderAroundOnSurfaceGoal. worldMethods in net.minecraft.entity.mob with parameters of type World Modifier and Type Method Description private 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)default booleanAngerable. isUniversallyAngry(World world)voidZombieEntity.DestroyEggGoal. onDestroyBlock(World world, BlockPos pos)default voidAngerable. readAngerFromNbt(World world, NbtCompound nbt) -
Uses of World in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive that return World Modifier and Type Method Description WorldMerchantEntity. getMerchantWorld()Methods in net.minecraft.entity.passive with parameters of type World Modifier and Type Method Description private voidBeeEntity. addParticle(World world, double lastX, double x, double lastZ, double z, double y, ParticleEffect effect)protected EntityNavigationAxolotlEntity. createNavigation(World world)protected EntityNavigationBeeEntity. createNavigation(World world)protected EntityNavigationDolphinEntity. createNavigation(World world)protected EntityNavigationFishEntity. createNavigation(World world)protected EntityNavigationParrotEntity. createNavigation(World world)protected EntityNavigationStriderEntity. createNavigation(World world)protected EntityNavigationTurtleEntity. createNavigation(World world)static SoundEventParrotEntity. getRandomSound(World world, Random random)static booleanParrotEntity. imitateNearbyMob(World world, Entity parrot) -
Uses of World in net.minecraft.entity.player
Methods in net.minecraft.entity.player with parameters of type World Modifier and Type Method Description ItemStackPlayerEntity. eatFood(World world, ItemStack stack)booleanPlayerEntity. isBlockBreakingRestricted(World world, BlockPos pos, GameMode gameMode)Constructors in net.minecraft.entity.player with parameters of type World Constructor Description PlayerEntity(World world, BlockPos pos, float yaw, com.mojang.authlib.GameProfile profile) -
Uses of World in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile with parameters of type World Modifier and Type Method Description static @Nullable EntityHitResultProjectileUtil. getEntityCollision(World world, Entity entity, Vec3d vec3d, Vec3d vec3d2, Box box, Predicate<Entity> predicate)Constructors in net.minecraft.entity.projectile with parameters of type World Constructor Description AbstractFireballEntity(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)ExplosiveProjectileEntity(EntityType<? extends ExplosiveProjectileEntity> type, World world)FireballEntity(EntityType<? extends FireballEntity> type, World world)FireballEntity(World world, LivingEntity owner, double velocityX, double velocityY, double velocityZ)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)FishingBobberEntity(EntityType<? extends FishingBobberEntity> type, World world, int lureLevel, int luckOfTheSeaLevel)FishingBobberEntity(PlayerEntity thrower, World world, int lureLevel, int luckOfTheSeaLevel)LlamaSpitEntity(EntityType<? extends LlamaSpitEntity> type, World world)LlamaSpitEntity(World world, LlamaEntity owner)PersistentProjectileEntity(EntityType<? extends PersistentProjectileEntity> type, double x, double y, double z, World world)PersistentProjectileEntity(EntityType<? extends PersistentProjectileEntity> type, LivingEntity owner, World world)PersistentProjectileEntity(EntityType<? extends PersistentProjectileEntity> type, World world)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
-
Uses of World in net.minecraft.entity.raid
Constructors in net.minecraft.entity.raid with parameters of type World Constructor Description RaiderEntity(EntityType<? extends RaiderEntity> type, World world) -
Uses of World in net.minecraft.entity.vehicle
Methods in net.minecraft.entity.vehicle with parameters of type World Modifier and Type Method Description static AbstractMinecartEntityAbstractMinecartEntity. create(World world, double x, double y, double z, AbstractMinecartEntity.Type type)private RunnableSpawnerMinecartEntity. getTicker(World world) -
Uses of World in net.minecraft.fluid
Methods in net.minecraft.fluid with parameters of type World Modifier and Type Method Description protected 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 World Modifier and Type Field Description private WorldItemUsageContext. worldMethods in net.minecraft.item that return World Modifier and Type Method Description WorldItemUsageContext. getWorld()Methods in net.minecraft.item that return types with arguments of type World Modifier and Type Method Description static Optional<RegistryKey<World>>CompassItem. getLodestoneDimension(NbtCompound nbt)Methods in net.minecraft.item with parameters of type World Modifier and Type Method Description private static intFilledMapItem. allocateMapId(World world, int x, int z, int scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension)voidAirBlockItem. appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)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)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)voidFireworkChargeItem. appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context)voidFireworkItem. 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 voidFilledMapItem. copyMap(World world, ItemStack stack)PersistentProjectileEntityArrowItem. createArrow(World world, ItemStack stack, LivingEntity shooter)private static PersistentProjectileEntityCrossbowItem. createArrow(World world, LivingEntity entity, ItemStack crossbow, ItemStack arrow)PersistentProjectileEntitySpectralArrowItem. createArrow(World world, ItemStack stack, LivingEntity shooter)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)@Nullable Packet<?>FilledMapItem. createSyncPacket(ItemStack stack, World world, PlayerEntity player)Creates a packet that syncs additional item data to the client.@Nullable Packet<?>NetworkSyncedItem. createSyncPacket(ItemStack stack, World world, PlayerEntity player)Creates a packet that syncs additional item data to the client.ItemStackChorusFruitItem. finishUsing(ItemStack stack, World world, LivingEntity user)ItemStackHoneyBottleItem. finishUsing(ItemStack stack, World world, LivingEntity user)ItemStackItem. finishUsing(ItemStack stack, World world, LivingEntity user)ItemStackItemStack. finishUsing(World world, LivingEntity user)ItemStackMilkBucketItem. finishUsing(ItemStack stack, World world, LivingEntity user)ItemStackMushroomStewItem. finishUsing(ItemStack stack, World world, LivingEntity user)ItemStackPotionItem. finishUsing(ItemStack stack, World world, LivingEntity user)ItemStackSpyglassItem. finishUsing(ItemStack stack, World world, LivingEntity user)ItemStackSuspiciousStewItem. finishUsing(ItemStack stack, World world, LivingEntity user)private BlockStateFilledMapItem. getFluidStateIfVisible(World world, BlockState state, BlockPos pos)static @Nullable MapStateFilledMapItem. getMapState(@Nullable Integer id, World world)static @Nullable MapStateFilledMapItem. 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)voidBucketItem. onEmptied(@Nullable PlayerEntity player, World world, ItemStack stack, BlockPos pos)voidEntityBucketItem. 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. placeFromTag(BlockPos pos, World world, ItemStack stack, BlockState state)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 voidFilledMapItem. scale(ItemStack map, World world, int amount)private 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)TypedActionResult<ItemStack>ArmorItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>BoatItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>BowItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>BucketItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>BundleItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>CrossbowItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>EggItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>ElytraItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>EmptyMapItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>EnderEyeItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>EnderPearlItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>ExperienceBottleItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>FireworkItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>FishingRodItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>GlassBottleItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>HoneyBottleItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>Item. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>ItemStack. use(World world, PlayerEntity user, Hand hand)TypedActionResult<ItemStack>KnowledgeBookItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>LilyPadItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>LingeringPotionItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>MilkBucketItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>OnAStickItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>PotionItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>ShieldItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>SnowballItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>SpawnEggItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>SplashPotionItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>SpyglassItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>ThrowablePotionItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>TridentItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>WritableBookItem. use(World world, PlayerEntity user, Hand hand)Called when an item is used by a player.TypedActionResult<ItemStack>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. writeTagToBlockEntity(World world, @Nullable PlayerEntity player, BlockPos pos, ItemStack stack)Method parameters in net.minecraft.item with type arguments of type World Modifier and Type Method Description private 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 World Constructor Description AutomaticItemPlacementContext(World world, BlockPos pos, Direction facing, ItemStack stack, Direction side)ItemPlacementContext(World world, @Nullable PlayerEntity player, Hand hand, ItemStack stack, BlockHitResult hit)ItemUsageContext(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 World Modifier and Type Field Description RegistryKey<World>MapState. dimensionMethod parameters in net.minecraft.item.map with type arguments of type World Modifier and Type Method Description static MapStateMapState. of(byte scale, boolean showIcons, RegistryKey<World> dimension)Creates a new map state instance for the client.static MapStateMapState. of(double xCenter, double zCenter, 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 World Constructor Description MapState(int xCenter, int zCenter, 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 World Modifier and Type Method Description @Nullable CommandBlockExecutorUpdateCommandBlockMinecartC2SPacket. 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 World Modifier and Type Field Description private RegistryKey<World>PlayerRespawnS2CPacket. dimensionprivate RegistryKey<World>GameJoinS2CPacket. dimensionIdprivate Set<RegistryKey<World>>GameJoinS2CPacket. dimensionIdsMethods in net.minecraft.network.packet.s2c.play that return types with arguments of type World Modifier and Type Method Description RegistryKey<World>PlayerRespawnS2CPacket. getDimension()RegistryKey<World>GameJoinS2CPacket. getDimensionId()Set<RegistryKey<World>>GameJoinS2CPacket. getDimensionIds()Methods in net.minecraft.network.packet.s2c.play with parameters of type World Modifier and Type Method Description @Nullable EntityEntityS2CPacket. getEntity(World world)EntityEntitySetHeadYawS2CPacket. getEntity(World world)@Nullable EntityEntityStatusS2CPacket. getEntity(World world)@Nullable EntityRemoveEntityStatusEffectS2CPacket. getEntity(World world)@Nullable EntitySetCameraEntityS2CPacket. getEntity(World world)@Nullable Vec3dLookAtS2CPacket. getTargetPosition(World world)Constructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type World Constructor Description GameJoinS2CPacket(int playerEntityId, GameMode gameMode, @Nullable GameMode previousGameMode, long sha256Seed, boolean hardcore, Set<RegistryKey<World>> dimensionIds, DynamicRegistryManager.Impl registryManager, DimensionType dimensionType, RegistryKey<World> dimensionId, int maxPlayers, int chunkLoadDistance, boolean reducedDebugInfo, boolean showDeathScreen, boolean debugWorld, boolean flatWorld)GameJoinS2CPacket(int playerEntityId, GameMode gameMode, @Nullable GameMode previousGameMode, long sha256Seed, boolean hardcore, Set<RegistryKey<World>> dimensionIds, DynamicRegistryManager.Impl registryManager, DimensionType dimensionType, RegistryKey<World> dimensionId, int maxPlayers, int chunkLoadDistance, boolean reducedDebugInfo, boolean showDeathScreen, boolean debugWorld, boolean flatWorld)PlayerRespawnS2CPacket(DimensionType dimensionType, RegistryKey<World> dimension, long sha256Seed, GameMode gameMode, @Nullable GameMode previousGameMode, boolean debugWorld, boolean flatWorld, boolean keepPlayerAttributes) -
Uses of World in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity with type parameters of type World Modifier and Type Field Description private @Nullable RegistryKey<World>LocationPredicate.Builder. dimensionprivate @Nullable RegistryKey<World>LocationPredicate. dimensionMethod parameters in net.minecraft.predicate.entity with type arguments of type World Modifier and Type Method Description static LocationPredicateLocationPredicate. dimension(RegistryKey<World> dimension)LocationPredicate.BuilderLocationPredicate.Builder. method_35279(@Nullable RegistryKey<World> registryKey) -
Uses of World in net.minecraft.recipe
Methods in net.minecraft.recipe with parameters of type World Modifier and Type Method Description default <C extends Inventory>
Optional<T>RecipeType. get(Recipe<C> recipe, World world, C inventory)<C extends Inventory, T extends Recipe<C>>
List<T>RecipeManager. getAllMatches(RecipeType<T> type, C inventory, World world)<C extends Inventory, T extends Recipe<C>>
Optional<T>RecipeManager. getFirstMatch(RecipeType<T> type, C inventory, World world)<C extends Inventory, T extends Recipe<C>>
DefaultedList<ItemStack>RecipeManager. getRemainingStacks(RecipeType<T> recipeType, C inventory, World world)booleanAbstractCookingRecipe. matches(Inventory inv, World world)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)booleanRecipe. matches(C inv, World world)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)booleanSmithingRecipe. matches(Inventory inv, World world)booleanStonecuttingRecipe. matches(Inventory inv, World world)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 World Modifier and Type Field Description private WorldSmithingScreenHandler. field_25385protected WorldAbstractFurnaceScreenHandler. worldprivate WorldStonecutterScreenHandler. worldMethods in net.minecraft.screen with parameters of type World Modifier and Type Method Description static ScreenHandlerContextScreenHandlerContext. create(World world, BlockPos pos)Returns an active screen handler context.protected static voidCraftingScreenHandler. updateResult(ScreenHandler screenHandler, World world, PlayerEntity player, CraftingInventory craftingInventory, CraftingResultInventory resultInventory)Method parameters in net.minecraft.screen with type arguments of type World Modifier and Type Method Description <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 World Modifier and Type Field Description private Map<RegistryKey<World>,ServerWorld>MinecraftServer. worldsMethods in net.minecraft.server that return types with arguments of type World Modifier and Type Method Description Set<RegistryKey<World>>MinecraftServer. getWorldRegistryKeys()Method parameters in net.minecraft.server with type arguments of type World Modifier and Type Method Description private static voidMain. forceUpgradeWorld(LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, boolean eraseCache, BooleanSupplier booleanSupplier, ImmutableSet<RegistryKey<World>> worlds)@Nullable ServerWorldMinecraftServer. 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.command
Methods in net.minecraft.server.command that return types with arguments of type World Modifier and Type Method Description Set<RegistryKey<World>>ServerCommandSource. getWorldKeys() -
Uses of World in net.minecraft.server.network
Fields in net.minecraft.server.network with type parameters of type World Modifier and Type Field Description private RegistryKey<World>ServerPlayerEntity. spawnPointDimensionMethods in net.minecraft.server.network that return types with arguments of type World Modifier and Type Method Description RegistryKey<World>ServerPlayerEntity. getSpawnPointDimension()Methods in net.minecraft.server.network with parameters of type World Modifier and Type Method Description ActionResultDemoServerPlayerInteractionManager. interactBlock(ServerPlayerEntity player, World world, ItemStack stack, Hand hand, BlockHitResult hitResult)ActionResultServerPlayerInteractionManager. interactBlock(ServerPlayerEntity player, World world, ItemStack stack, Hand hand, BlockHitResult hitResult)ActionResultDemoServerPlayerInteractionManager. interactItem(ServerPlayerEntity player, World world, ItemStack stack, Hand hand)ActionResultServerPlayerInteractionManager. 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, BlockPos 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 World Modifier and Type Method Description voidServerPlayerEntity. setSpawnPoint(RegistryKey<World> dimension, @Nullable BlockPos pos, float angle, boolean spawnPointSet, boolean bool) -
Uses of World in net.minecraft.server.world
Subclasses of World in net.minecraft.server.world Modifier and Type Class Description classServerWorldMethods in net.minecraft.server.world that return World Modifier and Type Method Description WorldServerChunkManager. getWorld()Methods in net.minecraft.server.world with parameters of type World Modifier and Type Method Description private 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 World Constructor Description MainThreadExecutor(World world)Constructor parameters in net.minecraft.server.world with type arguments of type World Constructor Description ServerWorld(MinecraftServer server, Executor workerExecutor, LevelStorage.Session session, ServerWorldProperties properties, RegistryKey<World> worldKey, DimensionType dimensionType, WorldGenerationProgressListener worldGenerationProgressListener, ChunkGenerator chunkGenerator, 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 World Modifier and Type Method Description private voidStructure. addEntitiesFromWorld(World world, BlockPos firstCorner, BlockPos secondCorner)voidStructure. saveFromWorld(World world, BlockPos start, Vec3i vec3i, boolean includeEntities, @Nullable Block ignoredBlock) -
Uses of World in net.minecraft.util
Methods in net.minecraft.util with parameters of type World Modifier and Type Method Description private static voidItemScatterer. spawn(World world, double x, double y, double z, Inventory inventory)static voidItemScatterer. spawn(World world, double x, double y, double z, ItemStack stack)static voidItemScatterer. spawn(World world, Entity entity, Inventory inventory)static voidItemScatterer. spawn(World world, BlockPos pos, Inventory inventory)static voidItemScatterer. spawn(World world, BlockPos pos, DefaultedList<ItemStack> stacks) -
Uses of World in net.minecraft.util.dynamic
Fields in net.minecraft.util.dynamic with type parameters of type World Modifier and Type Field Description private RegistryKey<World>GlobalPos. dimensionMethods in net.minecraft.util.dynamic that return types with arguments of type World Modifier and Type Method Description RegistryKey<World>GlobalPos. getDimension()Method parameters in net.minecraft.util.dynamic with type arguments of type World Modifier and Type Method Description static GlobalPosGlobalPos. create(RegistryKey<World> dimension, BlockPos pos)Constructor parameters in net.minecraft.util.dynamic with type arguments of type World Constructor Description GlobalPos(RegistryKey<World> dimension, BlockPos pos) -
Uses of World in net.minecraft.util.registry
Fields in net.minecraft.util.registry with type parameters of type World Modifier and Type Field Description static RegistryKey<Registry<World>>Registry. WORLD_KEYA registry key representing theWorldtype. -
Uses of World in net.minecraft.village
Methods in net.minecraft.village that return World Modifier and Type Method Description WorldMerchant. getMerchantWorld()WorldSimpleMerchant. getMerchantWorld() -
Uses of World in net.minecraft.village.raid
Methods in net.minecraft.village.raid that return World Modifier and Type Method Description WorldRaid. getWorld() -
Uses of World in net.minecraft.world
Fields in net.minecraft.world with type parameters of type World Modifier and Type Field Description static com.mojang.serialization.Codec<RegistryKey<World>>World. CODECstatic RegistryKey<World>World. ENDstatic RegistryKey<World>World. NETHERstatic RegistryKey<World>World. OVERWORLDprivate RegistryKey<World>World. registryKeyMethods in net.minecraft.world that return types with arguments of type World Modifier and Type Method Description RegistryKey<World>World. getRegistryKey()Methods in net.minecraft.world with parameters of type World Modifier and Type Method Description voidMobSpawnerLogic. clientTick(World world, BlockPos pos)booleanCommandBlockExecutor. execute(World world)private @Nullable IdentifierMobSpawnerLogic. getEntityId(@Nullable World world, BlockPos pos)@Nullable EntityMobSpawnerLogic. getRenderedEntity(World world)private static BlockPosSpawnHelper. getSpawnPos(World world, WorldChunk chunk)private booleanMobSpawnerLogic. isPlayerInRange(World world, BlockPos pos)booleanMobSpawnerLogic. method_8275(World world, int int2)voidMobSpawnerLogic. readNbt(@Nullable World world, BlockPos pos, NbtCompound nbt)abstract voidMobSpawnerLogic. sendStatus(World world, BlockPos pos, int int2)voidMobSpawnerLogic. setSpawnEntry(@Nullable World world, BlockPos pos, MobSpawnerEntry spawnEntry)private voidMobSpawnerLogic. updateSpawns(World world, BlockPos pos)NbtCompoundMobSpawnerLogic. writeNbt(@Nullable World world, BlockPos pos, NbtCompound nbt)Method parameters in net.minecraft.world with type arguments of type World Modifier and Type Method Description static FeatureUpdaterFeatureUpdater. create(RegistryKey<World> registryKey, @Nullable PersistentStateManager persistentStateManager)Constructor parameters in net.minecraft.world with type arguments of type World Constructor Description World(MutableWorldProperties properties, RegistryKey<World> registryRef, DimensionType dimensionType, Supplier<Profiler> profiler, boolean isClient, boolean debugWorld, long seed) -
Uses of World in net.minecraft.world.chunk
Fields in net.minecraft.world.chunk declared as World Modifier and Type Field Description protected WorldChunkCache. worldprivate WorldWorldChunk. worldMethods in net.minecraft.world.chunk that return World Modifier and Type Method Description WorldWorldChunk. getWorld()Constructors in net.minecraft.world.chunk with parameters of type World Constructor Description ChunkCache(World world, BlockPos minPos, BlockPos maxPos)EmptyBiomeArray(World world)EmptyChunk(World world, ChunkPos pos)WorldChunk(World world, ChunkPos pos, BiomeArray biomes)WorldChunk(World world, ChunkPos pos, BiomeArray biomes, UpgradeData upgradeData, TickScheduler<Block> blockTickScheduler, TickScheduler<Fluid> fluidTickScheduler, long inhabitedTime, @Nullable ChunkSection[] sections, @Nullable Consumer<WorldChunk> loadToWorldConsumer) -
Uses of World in net.minecraft.world.dimension
Methods in net.minecraft.world.dimension that return types with arguments of type World Modifier and Type Method Description static com.mojang.serialization.DataResult<RegistryKey<World>>DimensionType. worldFromDimensionNbt(com.mojang.serialization.Dynamic<?> nbt)Deprecated.Method parameters in net.minecraft.world.dimension with type arguments of type World Modifier and Type Method Description static FileDimensionType. getSaveDirectory(RegistryKey<World> worldRef, File root) -
Uses of World in net.minecraft.world.event
-
Uses of World in net.minecraft.world.event.listener
Fields in net.minecraft.world.event.listener declared as World Modifier and Type Field Description private WorldSimpleGameEventDispatcher. worldMethods in net.minecraft.world.event.listener with parameters of type World Modifier and Type Method Description voidSculkSensorListener.Callback. accept(World world, GameEventListener listener, GameEvent event, int distance)Accepts a game event after delay.booleanSculkSensorListener.Callback. accepts(World world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable Entity entity)Returns whether the callback wants to accept this event.private booleanSimpleGameEventDispatcher. dispatchTo(World world, GameEvent event, @Nullable Entity entity, BlockPos pos, GameEventListener listener)private booleanSculkSensorListener. isOccluded(World world, BlockPos pos, BlockPos sourcePos)booleanGameEventListener. listen(World world, GameEvent event, @Nullable Entity entity, BlockPos pos)Listens to an incoming game event.booleanSculkSensorListener. listen(World world, GameEvent event, @Nullable Entity entity, BlockPos pos)Listens to an incoming game event.private voidSculkSensorListener. listen(World world, GameEvent event, BlockPos pos, BlockPos sourcePos)voidEntityGameEventHandler. onEntityRemoval(World world)voidEntityGameEventHandler. onEntitySetPos(World world)voidSculkSensorListener. tick(World world)private voidEntityGameEventHandler. updateDispatcher(World world, @Nullable ChunkSectionPos sectionPos, Consumer<GameEventDispatcher> action)Constructors in net.minecraft.world.event.listener with parameters of type World Constructor Description SimpleGameEventDispatcher(World world) -
Uses of World in net.minecraft.world.explosion
Fields in net.minecraft.world.explosion declared as World Modifier and Type Field Description private WorldExplosion. worldConstructors in net.minecraft.world.explosion with parameters of type World Constructor Description Explosion(World world, @Nullable Entity entity, double x, double y, double z, float power)Explosion(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 World Modifier and Type Method Description ImmutableSet<RegistryKey<World>>GeneratorOptions. getWorlds() -
Uses of World in net.minecraft.world.level.storage
Method parameters in net.minecraft.world.level.storage with type arguments of type World Modifier and Type Method Description FileLevelStorage.Session. getWorldDirectory(RegistryKey<World> key) -
Uses of World in net.minecraft.world.storage
Method parameters in net.minecraft.world.storage with type arguments of type World Modifier and Type Method Description NbtCompoundVersionedChunkStorage. updateChunkNbt(RegistryKey<World> worldKey, Supplier<PersistentStateManager> persistentStateManagerFactory, NbtCompound nbt) -
Uses of World in net.minecraft.world.updater
Fields in net.minecraft.world.updater with type parameters of type World Modifier and Type Field Description private Object2FloatMap<RegistryKey<World>>WorldUpdater. dimensionProgressprivate ImmutableSet<RegistryKey<World>>WorldUpdater. worldsMethods in net.minecraft.world.updater that return types with arguments of type World Modifier and Type Method Description ImmutableSet<RegistryKey<World>>WorldUpdater. getWorlds()Method parameters in net.minecraft.world.updater with type arguments of type World Modifier and Type Method Description private List<ChunkPos>WorldUpdater. getChunkPositions(RegistryKey<World> world)floatWorldUpdater. getProgress(RegistryKey<World> world)Constructor parameters in net.minecraft.world.updater with type arguments of type World Constructor Description WorldUpdater(LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, ImmutableSet<RegistryKey<World>> worlds, boolean eraseCache)