2014-01-14 21:32:03 -06:00
|
|
|
package org.bukkit;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
import org.bukkit.inventory.ItemStack;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* This interface provides value conversions that may be specific to a
|
|
|
|
* runtime, or have arbitrary meaning (read: magic values).
|
|
|
|
* <p>
|
|
|
|
* Their existence and behavior is not guaranteed across future versions. They
|
|
|
|
* may be poorly named, throw exceptions, have misleading parameters, or any
|
|
|
|
* other bad programming practice.
|
|
|
|
* <p>
|
|
|
|
* This interface is unsupported and only for internal use.
|
|
|
|
*
|
2014-11-30 21:09:01 +00:00
|
|
|
* @deprecated Unsupported {@literal &} internal use only
|
2014-01-14 21:32:03 -06:00
|
|
|
*/
|
|
|
|
@Deprecated
|
|
|
|
public interface UnsafeValues {
|
|
|
|
|
|
|
|
Material getMaterialFromInternalName(String name);
|
|
|
|
|
|
|
|
List<String> tabCompleteInternalMaterialName(String token, List<String> completions);
|
|
|
|
|
|
|
|
ItemStack modifyItemStack(ItemStack stack, String arguments);
|
2014-01-16 00:34:20 -05:00
|
|
|
|
|
|
|
Statistic getStatisticFromInternalName(String name);
|
|
|
|
|
|
|
|
Achievement getAchievementFromInternalName(String name);
|
|
|
|
|
|
|
|
List<String> tabCompleteInternalStatisticOrAchievementName(String token, List<String> completions);
|
2014-01-14 21:32:03 -06:00
|
|
|
}
|