The Minecraft implementation of the origin balloons logic repository. Easily expandable and easy to use!
- Create a new class that extends
BalloonType
and implement the abstract methods.nodeCount
- Number of nodes/models within the balloon.distanceBetweenNodes
- Distance between each node/model. This is calculated in blocks and can be a float.headNodeOffset, bodyNodeOffset, tailNodeOffset
- The offset of the head, body, and tail nodes from the basedistanceBetweenNodes
. This is calculated in blocks and can be a float.maxNodeJointAngle
- The maximum angle that the nodes can rotate to. This is calculated in degrees and can be a float.headNodeItem, bodyNodeItem, tailNodeItem
- The item that represents the head, body, and tail nodes. This is a newItem
object and can be created with theBalloonModel.createBlankModel
method. Note: To use custom models you must create a resource pack and you must place the custom model data value from the resource pack in thecustomModelData
field when creating the model.
- In the
registerBalloons
method in theOriginBalloons
class, put the new balloon in theballoonTypeMap
list along with the name. - When your plugin is built and reloaded into the server, the balloon will be available to use! Run the command
/spawnballoon <balloon name>
to spawn the balloon and/destroyballoon
to remove the balloon.