[ + ] A GiftBox in the shape of the tuff golem has been added. This will be the last box that comes by default in the plugin. In future versions, a system will be added so that everyone can share or download boxes with other players. There are new options used in the animation of the tuff golem, which will serve as an example.
[ x ] Fixed a bug that could cause a box to drop 2 items when the server closed.
[ + ] Added "Temporal parts". This new section allows you to create temporary parts and remove them while the animation is running. Here's an example:
Code (YAML):
#This is how we declare the part and its components. When the "material" is "[dropitem] index", the part will be the item to be dropped. The index must always be 0 for now since boxes cannot yet throw multiple items. temporal_parts:
item:
location: "x:-0.1 y:0.4 z:0.1" size: "x:0.4 y:0.4 z:0.4" type: item
material: "[dropitem] 0" glow: true
glow_color: "#a26e1a"
[ + ] A new option was added in the "drop" section. This option allows the item to be thrown towards the player, ignoring the other vectors. Here's an example: