
org.bukkit.UnsafeValues Maven / Gradle / Ivy
Show all versions of walk-server Show documentation
package org.bukkit;
import org.bukkit.inventory.ItemStack;
import java.util.List;
/**
* This interface provides value conversions that may be specific to a
* runtime, or have arbitrary meaning (read: magic values).
*
* 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.
*
* This interface is unsupported and only for internal use.
*
* @deprecated Unsupported {@literal &} internal use only
*/
@Deprecated
public interface UnsafeValues {
Material getMaterialFromInternalName(String name);
List tabCompleteInternalMaterialName(String token, List completions);
ItemStack modifyItemStack(ItemStack stack, String arguments);
Statistic getStatisticFromInternalName(String name);
Achievement getAchievementFromInternalName(String name);
List tabCompleteInternalStatisticOrAchievementName(String token, List completions);
}