Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
UnsafeValues.java
1 package org.bukkit;
2 
3 import java.util.List;
4 
6 
7 /**
8  * This interface provides value conversions that may be specific to a
9  * runtime, or have arbitrary meaning (read: magic values).
10  * <p>
11  * Their existence and behavior is not guaranteed across future versions. They
12  * may be poorly named, throw exceptions, have misleading parameters, or any
13  * other bad programming practice.
14  * <p>
15  * This interface is unsupported and only for internal use.
16  *
17  * @deprecated Unsupported & internal use only
18  */
19 @Deprecated
20 public interface UnsafeValues {
21 
22  Material getMaterialFromInternalName(String name);
23 
24  List<String> tabCompleteInternalMaterialName(String token, List<String> completions);
25 
26  ItemStack modifyItemStack(ItemStack stack, String arguments);
27 
28  Statistic getStatisticFromInternalName(String name);
29 
30  Achievement getAchievementFromInternalName(String name);
31 
32  List<String> tabCompleteInternalStatisticOrAchievementName(String token, List<String> completions);
33 }