Class MultipartBalloonModel

java.lang.Object
net.jeqo.bloons.balloon.multipart.MultipartBalloonModel

public class MultipartBalloonModel extends Object
A class to aid in the creation of the models used in the multipart balloons
  • Constructor Details Link icon

    • MultipartBalloonModel Link icon

      public MultipartBalloonModel(BalloonSegmentType segmentType, String material, String color, int customModelData)
      Creates a new model for a multipart balloon
      Parameters:
      segmentType - The type of model (head, body, tail), type net.jeqo.bloons.balloon.model.BalloonModelType
      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
  • Method Details Link icon

    • getFinalizedModel Link icon

      public org.bukkit.inventory.ItemStack getFinalizedModel()
      Gets the finalized item of a multipart balloon model with the specified metadata
      Returns:
      The finalized item model with the specified metadata, type org.bukkit.inventory.ItemStack