Behaviours are an already coded set of actions the item will do and which are not vanilla.
These behaviours are already included in the plugin and will allow you to add some already coded functionality to your item.
List of behaviours included in the plugin
block_trade_machine
furniture_trade_machine
fuel
furniture
furniture_sit
gun
hat
keep_on_death
liquid_analyzer
liquid_bucket
mob_animation
mob
music_disc
sapling
spawn_egg
vehicle
You can get suggestions how how to use the behaviours using the official editor:
# This behaviour allows you to open a trade GUI with the following items# For example black_fishing_rod and red_fishing_rodblock_trade_machine:title:"Your title"permission:"mypermission.trade.example"# <--- this is optionalgui_texture:###THIS IS OPTIONAL, use it only to retexture the GUIleft:customization_table_leftright:customization_table_righttrades_list:black_fishing_rod:ingredients:slot1:item:FISHING_RODamount:1slot2:item:BLACK_DYEamount:1result:item:black_fishing_rodamount:1red_fishing_rod:ingredients:slot1:item:FISHING_RODamount:1slot2:item:RED_DYEamount:1result:item:red_fishing_rodamount:1furniture_trade_machine:# ....... it's the same as block_trade_machine# When you rightclick with that item it will be placed on the ground with an# armorstand. The armorstand will have the item as helmet and will be invisible.furniture:entity:armor_stand# you can also use item_frame (works better on 1.16+)small:truegravity:truefixed_rotation:falselight_level:7solid:falseopposite_direction:false#makes the model rotate 180 when placedhitbox:length:2width:2.3height:1length_offset:0.5width_offset:0.5height_offset:0.5placeable_on:walls:falseceiling:falsefloor:true# If you add this behaviour and "furniture" behaviour you will be able to sit# on the furniture at the defined height.furniture_sit:sit_height:0.9opposite_direction:true#default is true# Sit on every BARRIER block of the furniture (for multi-seats chairs)sit_all_solid_blocks:false# Allows you to use this item as a gun. You can decide which projectile must# be hold on left hand in order to shot.gun:projectile:itemsadder:clip# Allows you to use the current item as hat (same vanilla helmet behaviour)hat:true# Allows you to make the item stay in player inventory on deathkeep_on_death:true# Allows you to use the current item as a vanilla music disc.# Remember that you will have to create a custom sound to be able# to play something.music_disc:song:name:"itemsadder:music_disc.cdk_sunday"description:"Cdk - Sunday"# Allows you to use the current item as a ridable vehiclevehicle:fixed_rotation:falsesmall:truesit_height:0step_height:0.1hitbox:length:2width:1.7height:1speed:drive:1jump:0.3fly:0fuel:start:150max:300items:COAL:1CHARCOAL:1COAL_BLOCK:9"itemsadder:banana":1smoke:amount:2offset:x:0y:0z:-0.8
Use the official files editor to read all the properties