Class MultipartBalloonType
java.lang.Object
net.jeqo.bloons.balloon.multipart.MultipartBalloonType
An object to store the data of a balloon created in the config.yml file
-
Constructor Summary
ConstructorsConstructorDescriptionMultipartBalloonType
(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 -
Method Summary
-
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.Stringpermission
- The permission required to use the balloon (i.e. blue.jeqo), type java.lang.Stringname
- The name of the balloon, type java.lang.Stringlore
- 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 intdistanceBetweenNodes
- The distance between each node in the balloon measured as blocks, type doubleleashHeight
- The height of the leash from the player to the lead node, type doubleheadNodeOffset
- The offset of the head node from its 0 position measured as blocks, type doublebodyNodeOffset
- The offset of the body node from its 0 position measured as blocks, type doubletailNodeOffset
- The offset of the tail node from its 0 position measured as blocks, type doublemaxNodeJointAngle
- The maximum angle a node can rotate in degrees, type doubleyAxisInterpolation
- The interpolation of the Y-axis, type doubleturningSplineInterpolation
- The interpolation of the turning spline to prevent overturning, type doublepassiveSineWaveSpeed
- The speed of the passive sine wave animation, type doublepassiveSineWaveAmplitude
- The amplitude of the passive sine wave animation, type doublepassiveNoseSineWaveAmplitude
- The amplitude of the passive sine wave animation starting at the nose, type doubleheadModel
- The model used for the head node, type net.jeqo.bloons.balloon.multipart.MultipartBalloonModelbodyModel
- The model used for the body node, type net.jeqo.bloons.balloon.multipart.MultipartBalloonModeltailModel
- The model used for the tail node, type net.jeqo.bloons.balloon.multipart.MultipartBalloonModel
-