##################### # default wolf ##################### dpets_wolf: type: yaml data is_dpet: true pet_id: wolf name: Wolf entity: e@wolf item_icon: i@bone actions: on spawn: - narrate "Woof woof!" format:dpets_format2 - repeat 2: - playsound sound:ENTITY_WOLF_AMBIENT - wait 5t on left click: - playsound sound:ENTITY_WOLF_pant - playeffect effect:heart qty:5 offset:0.5 visibility:50 on right click: - playsound sound:ENTITY_WOLF_AMBIENT - playeffect effect:heart qty:5 offset:0.5 visibility:50 on call: - adjust sitting:false - narrate "Woof!" format:dpets_format2 - playsound sound:ENTITY_WOLF_AMBIENT abilities: growl: item_icon: i@bone name: Growl script: - narrate "Grrrrr!" format:dpets_format2 - playsound sound:ENTITY_WOLF_growl - playeffect effect:MOBSPAWNER_FLAMES qty:5 offset:0.5 visibility:50 fetch: item_icon: i@snow_ball name: Fetch script: - adjust sitting:false - shoot e@snowball save:ball - define ball - playsound sound:ENTITY_WOLF_AMBIENT - while : - define location - wait 5t - repeat 2: - playsound sound:ENTITY_WOLF_AMBIENT - wait 5t - define location > - while ].is[more].than[10]||true>: - walk auto_range speed:1.5 - wait 1s - if > 25 { - while stop } - wait 10t - walk auto_range speed:1.5 - wait 3s shake: item_icon: i@water_bucket name: Shake script: - playsound sound:ENTITY_WOLF_SHAKE - animate animation:wolf_shake - wait 1s - repeat 2: - playsound sound:ENTITY_WOLF_ambient - wait 5t sit: item_icon: i@bed name: Sit script: - adjust sitting:true - repeat 2: - playsound sound:ENTITY_WOLF_ambient - wait 5t stand: item_icon: i@bed name: Stand script: - adjust sitting:false - repeat 2: - playsound sound:ENTITY_WOLF_ambient - wait 5t dig: item_icon: i@wood_spade name: Dig script: - repeat 2: - playsound sound:ENTITY_WOLF_ambient - wait 5t - define location ].sub[0,1.1,0]> - repeat 20: - playsound sound:BLOCK_grass_HIT - playsound sound:BLOCK_sand_HIT pitch:0.5 - playeffect effect:blockcrack_2 qty:15 visibility:40 offset:0.1 - wait 2t - displayitem duration:5s