Class MultipartBalloonType

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

public class MultipartBalloonType extends Object
An object to store the data of a balloon created in the config.yml file
  • Constructor Details

    • MultipartBalloonType

      public MultipartBalloonType(String id, String permission, String name, String[] lore, int nodeCount, double distanceBetweenNodes, double leashHeight, double headNodeOffset, double bodyNodeOffset, double tailNodeOffset, double maxNodeJointAngle, double yAxisInterpolation, double turningSplineInterpolation, double passiveSineWaveSpeed, double passiveSineWaveAmplitude, double passiveNoseSineWaveAmplitude, MultipartBalloonModel headModel, MultipartBalloonModel bodyModel, MultipartBalloonModel tailModel)
      Creates a new multipart balloon type which contains the data in the configuration for the balloon
      Parameters:
      id - The ID of the balloon, type java.lang.String
      permission - The permission required to use the balloon (i.e. blue.jeqo), type java.lang.String
      name - The name of the balloon, type java.lang.String
      lore - The lore lines of the balloon in the balloon GUI, type java.lang.String[]
      nodeCount - The number of nodes, or models, in the balloon, type int
      distanceBetweenNodes - The distance between each node in the balloon measured as blocks, type double
      leashHeight - The height of the leash from the player to the lead node, type double
      headNodeOffset - The offset of the head node from its 0 position measured as blocks, type double
      bodyNodeOffset - The offset of the body node from its 0 position measured as blocks, type double
      tailNodeOffset - The offset of the tail node from its 0 position measured as blocks, type double
      maxNodeJointAngle - The maximum angle a node can rotate in degrees, type double
      yAxisInterpolation - The interpolation of the Y-axis, type double
      turningSplineInterpolation - The interpolation of the turning spline to prevent overturning, type double
      passiveSineWaveSpeed - The speed of the passive sine wave animation, type double
      passiveSineWaveAmplitude - The amplitude of the passive sine wave animation, type double
      passiveNoseSineWaveAmplitude - The amplitude of the passive sine wave animation starting at the nose, type double
      headModel - The model used for the head node, type net.jeqo.bloons.balloon.multipart.MultipartBalloonModel
      bodyModel - The model used for the body node, type net.jeqo.bloons.balloon.multipart.MultipartBalloonModel
      tailModel - The model used for the tail node, type net.jeqo.bloons.balloon.multipart.MultipartBalloonModel