Package net.jeqo.bloons.balloon.single
Class SingleBalloonType
java.lang.Object
net.jeqo.bloons.balloon.single.SingleBalloonType
Represents the contents of a configuration for a single balloon
-
Constructor Summary
ConstructorsConstructorDescriptionSingleBalloonType(String key, String id, String permission, double leashHeight, double balloonHeight, String material, String color, int customModelData, String name, String[] lore) Creates a new single balloon type configuration for a non-MEG balloonSingleBalloonType(String key, String id, String permission, String material, int customModelData, String megModelID, String name, String[] lore) Creates a new single balloon type configuration for a MEG balloon -
Method Summary
-
Constructor Details
-
SingleBalloonType
public SingleBalloonType(String key, String id, String permission, double leashHeight, double balloonHeight, String material, String color, int customModelData, String name, String[] lore) Creates a new single balloon type configuration for a non-MEG balloon- Parameters:
key- The key of the balloon type in the configuration, type java.lang.Stringid- The unique identifier for the balloon type, type java.lang.Stringpermission- The permission required to use the balloon type, type java.lang.StringleashHeight- The height of the leash when the balloon is attached to a player, type doubleballoonHeight- The height of the balloon when attached to a player, type doublematerial- The name of the Bukkit Material used to create the item, type java.lang.Stringcolor- The color of the model as a hex color code value, type java.lang.StringcustomModelData- The custom model data value stored in the item metadata, type intname- The name of the balloon, type java.lang.Stringlore- The lore of the balloon, type java.lang.String[]
-
SingleBalloonType
public SingleBalloonType(String key, String id, String permission, String material, int customModelData, String megModelID, String name, String[] lore) Creates a new single balloon type configuration for a MEG balloon- Parameters:
key- The key of the balloon type in the configuration, type java.lang.Stringid- The unique identifier for the balloon type, type java.lang.Stringpermission- The permission required to use the balloon type, type java.lang.Stringmaterial- The name of the Bukkit Material used to create the item, type java.lang.StringcustomModelData- The custom model data value stored in the item metadata, type intmegModelID- The ID of the MEG model to use as the balloon model, type java.lang.Stringname- The name of the balloon, type java.lang.Stringlore- The lore of the balloon, type java.lang.String[]
-