@@ -2,7 +2,6 @@ package org.bukkit.entity;
|
||||
|
||||
import java.util.List;
|
||||
import org.bukkit.Color;
|
||||
import org.bukkit.potion.PotionData;
|
||||
import org.bukkit.potion.PotionEffect;
|
||||
import org.bukkit.potion.PotionEffectType;
|
||||
import org.bukkit.potion.PotionType;
|
||||
@@ -11,38 +10,19 @@ import org.jetbrains.annotations.Nullable;
|
||||
|
||||
public interface Arrow extends AbstractArrow {
|
||||
|
||||
/**
|
||||
* Sets the underlying potion data
|
||||
*
|
||||
* @param data PotionData to set the base potion state to
|
||||
* @deprecated Upgraded / extended potions are now their own {@link PotionType} use {@link #setBasePotionType} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
void setBasePotionData(@NotNull PotionData data);
|
||||
|
||||
/**
|
||||
* Returns the potion data about the base potion
|
||||
*
|
||||
* @return a PotionData object
|
||||
* @deprecated Upgraded / extended potions are now their own {@link PotionType} use {@link #getBasePotionType()} instead.
|
||||
*/
|
||||
@NotNull
|
||||
@Deprecated
|
||||
PotionData getBasePotionData();
|
||||
|
||||
/**
|
||||
* Sets the underlying potion type
|
||||
*
|
||||
* @param type PotionType to set the base potion state to
|
||||
*/
|
||||
void setBasePotionType(@NotNull PotionType type);
|
||||
void setBasePotionType(@Nullable PotionType type);
|
||||
|
||||
/**
|
||||
* Returns the potion type about the base potion
|
||||
*
|
||||
* @return a PotionType object
|
||||
*/
|
||||
@NotNull
|
||||
@Nullable
|
||||
PotionType getBasePotionType();
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user