Class SingleBalloonType

java.lang.Object
net.jeqo.bloons.balloon.single.SingleBalloonType

public class SingleBalloonType extends Object
Represents the contents of a configuration for a single balloon
  • 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.String
      id - The unique identifier for the balloon type, type java.lang.String
      permission - The permission required to use the balloon type, type java.lang.String
      leashHeight - The height of the leash when the balloon is attached to a player, type double
      balloonHeight - The height of the balloon when attached to a player, type double
      material - The name of the Bukkit Material used to create the item, type java.lang.String
      color - The color of the model as a hex color code value, type java.lang.String
      customModelData - The custom model data value stored in the item metadata, type int
      name - The name of the balloon, type java.lang.String
      lore - 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.String
      id - The unique identifier for the balloon type, type java.lang.String
      permission - The permission required to use the balloon type, type java.lang.String
      material - The name of the Bukkit Material used to create the item, type java.lang.String
      customModelData - The custom model data value stored in the item metadata, type int
      megModelID - The ID of the MEG model to use as the balloon model, type java.lang.String
      name - The name of the balloon, type java.lang.String
      lore - The lore of the balloon, type java.lang.String[]