001 package org.bukkit; 002 003 import java.util.List; 004 005 import org.bukkit.inventory.ItemStack; 006 007 /** 008 * This interface provides value conversions that may be specific to a 009 * runtime, or have arbitrary meaning (read: magic values). 010 * <p> 011 * Their existence and behavior is not guaranteed across future versions. They 012 * may be poorly named, throw exceptions, have misleading parameters, or any 013 * other bad programming practice. 014 * <p> 015 * This interface is unsupported and only for internal use. 016 * 017 * @deprecated Unsupported & internal use only 018 */ 019 @Deprecated 020 public interface UnsafeValues { 021 022 Material getMaterialFromInternalName(String name); 023 024 List<String> tabCompleteInternalMaterialName(String token, List<String> completions); 025 026 ItemStack modifyItemStack(ItemStack stack, String arguments); 027 028 Statistic getStatisticFromInternalName(String name); 029 030 Achievement getAchievementFromInternalName(String name); 031 032 List<String> tabCompleteInternalStatisticOrAchievementName(String token, List<String> completions); 033 }