Commits

Wesley Wolfe authored 80462067ace
Deprecate missed magic values from 1f83111208ab3612f384a2e6b65cc28423dc625e
No tags

src/main/java/org/bukkit/World.java

Modified
692 692 * <p>
693 693 * The Material must be a block type, check with {@link Material#isBlock()
694 694 * material.isBlock()}. The Material may not be air.
695 695 *
696 696 * @param location The {@link Location} to spawn the FallingBlock
697 697 * @param material The block {@link Material} type
698 698 * @param data The block data
699 699 * @return The spawned {@link FallingBlock} instance
700 700 * @throws IllegalArgumentException if {@link Location} or {@link
701 701 * Material} are null or {@link Material} is not a block
702 + * @deprecated Magic value
702 703 */
704 + @Deprecated
703 705 public FallingBlock spawnFallingBlock(Location location, Material material, byte data) throws IllegalArgumentException;
704 706
705 707 /**
706 708 * Spawn a {@link FallingBlock} entity at the given {@link Location} of
707 709 * the specified blockId (converted to {@link Material})
708 710 *
709 711 * @param location The {@link Location} to spawn the FallingBlock
710 712 * @param blockId The id of the intended material
711 713 * @param blockData The block data
712 714 * @return The spawned FallingBlock instance
713 715 * @throws IllegalArgumentException if location is null, or blockId is
714 716 * invalid
715 717 * @see #spawnFallingBlock(org.bukkit.Location, org.bukkit.Material, byte)
718 + * @deprecated Magic value
716 719 */
720 + @Deprecated
717 721 public FallingBlock spawnFallingBlock(Location location, int blockId, byte blockData) throws IllegalArgumentException;
718 722
719 723 /**
720 724 * Plays an effect to all players within a default radius around a given
721 725 * location.
722 726 *
723 727 * @param location the {@link Location} around which players must be to
724 728 * hear the sound
725 729 * @param effect the {@link Effect}
726 730 * @param data a data bit needed for some effects

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut