Uses of Class
studio.magemonkey.codex.legacy.placeholder.PlaceholderType
Packages that use PlaceholderType
-
Uses of PlaceholderType in studio.magemonkey.codex.legacy.placeholder
Fields in studio.magemonkey.codex.legacy.placeholder declared as PlaceholderTypeModifier and TypeFieldDescriptionstatic final PlaceholderType<org.bukkit.block.Block> PlaceholderRegistry.BLOCKstatic final PlaceholderType<org.bukkit.Chunk> PlaceholderRegistry.CHUNKstatic final PlaceholderType<org.bukkit.command.Command> PlaceholderRegistry.COMMANDstatic final PlaceholderType<org.bukkit.enchantments.Enchantment> PlaceholderRegistry.ENCHANTMENTstatic final PlaceholderType<org.bukkit.entity.Entity> PlaceholderRegistry.ENTITYstatic final PlaceholderType<org.bukkit.inventory.ItemStack> PlaceholderRegistry.ITEMstatic final PlaceholderType<org.bukkit.plugin.java.JavaPlugin> PlaceholderRegistry.JAVA_PLUGINstatic final PlaceholderType<org.bukkit.entity.LivingEntity> PlaceholderRegistry.LIVING_ENTITYstatic final PlaceholderType<org.bukkit.Location> PlaceholderRegistry.LOCATIONstatic final PlaceholderType<Object> PlaceholderType.OBJECTObjectplaceholder type, used by simple placeholders without any type, like just "points" instead of some object like "player.points"static final PlaceholderType<org.bukkit.entity.Player> PlaceholderRegistry.PLAYERstatic final PlaceholderType<org.bukkit.plugin.Plugin> PlaceholderRegistry.PLUGINstatic final PlaceholderType<org.bukkit.command.CommandSender> PlaceholderRegistry.SENDERstatic final PlaceholderType<org.bukkit.World> PlaceholderRegistry.WORLDMethods in studio.magemonkey.codex.legacy.placeholder that return PlaceholderTypeModifier and TypeMethodDescriptionstatic <T> PlaceholderType<T> PlaceholderType.create(String id, Class<T> clazz, PlaceholderType<? super T>... superTypes) static <T> PlaceholderType<? super T> Get placeholder by id, note: this don't check any types.PlaceholderItem.getType()Returns type of placeholder item, like that "player" in player.name.Methods in studio.magemonkey.codex.legacy.placeholder with parameters of type PlaceholderTypeModifier and TypeMethodDescriptionstatic <T> PlaceholderType<T> PlaceholderType.create(String id, Class<T> clazz, PlaceholderType<? super T>... superTypes) static <T> studio.magemonkey.codex.legacy.placeholder.PlaceholderType.GlobalPlaceholderType<T> PlaceholderType.createGlobal(String id, Class<T> clazz, Supplier<T> globalSupplier, PlaceholderType<? super T>... superTypes) <C> voidPlaceholderType.registerChild(String name, PlaceholderType<C> type, Function<T, C> converter) Register new child-type to this type.PlaceholderType.registerItem(PlaceholderType<T> type, String id, Function<T, Object> func) Register new placeholder item to this placeholder type.Constructors in studio.magemonkey.codex.legacy.placeholder with parameters of type PlaceholderTypeModifierConstructorDescriptionPlaceholderType(String id, Class<T> type, PlaceholderType<? super T>... superTypes) Construct new placeholder type for given id and class with possible super typesConstructor parameters in studio.magemonkey.codex.legacy.placeholder with type arguments of type PlaceholderTypeModifierConstructorDescriptionPlaceholderType(String id, Class<T> type, Collection<PlaceholderType<? super T>> superTypes) Construct new placeholder type for given id and class with possible super types