{ code: "wolf-male", class: "EntityAgent", hitboxSize: { x: 1.2, y: 1 }, eyeHeight: 0.9, drops: [ { type: "item", code: "meat-raw", quantity: { avg: 4.5, var: 1.5 } }, { type: "item", code: "hide-raw", quantity: { avg: 1.25, var: 0 } }, { type: "item", code: "fat", quantity: { avg: 0.75, var: 0 } } ], client: { renderer: "Shape", shape: { base: "entity/land/wolf-male" }, texture: { base: "entity/wolf/wolf1", alternates: [ { base: "entity/wolf/wolf2" }, { base: "entity/wolf/wolf3" }, { base: "entity/wolf/wolf4" }, { base: "entity/wolf/wolf5" }, { base: "entity/wolf/wolf6" }, { base: "entity/wolf/wolf7" }, { base: "entity/wolf/wolf8" }, { base: "entity/wolf/wolf9" } ] }, behaviors: [{ code: "repulseagents" }, { code: "controlledphysics", stepHeight: 1.0001 }, { code: "interpolateposition" }], animations: [ { code: "hurt", animation: "hurt", animationSpeed: 2.2, weight: 10, blendMode: "AddAverage" } ] }, server: { behaviors: [ { code: "repulseagents" }, { code: "controlledphysics", stepHeight: 1.0001 }, { code: "despawn", minPlayerDistance: 8, belowLightLevel: 8, minSeconds: 300 }, { code: "health", currenthealth: 10, maxhealth: 10, }, { code: "breathe" }, { code: "taskai", aitasks: [ { code: "meleeattack", entityCodes: ["player"], priority: 2, damage: 8, slot: 1, mincooldown: 1500, maxcooldown: 1500, attackDurationMs: 800, damagePlayerAtMs: 500, animation: "Attack", animationSpeed: 2.5, sound: "creature/wolf/wolf-attack" }, { code: "seekentity", entityCodes: ["player"], priority: 1.5, movespeed: 0.021, seekingRange: 20, animation: "Run", animationSpeed: 1.5, sound: "creature/wolf/wolf-growl" }, { code: "getoutofwater", priority: 1.4, movespeed: 0.015, animation: "Walk", animationSpeed: 2.2 }, { code: "idle", priority: 1.3, priorityForCancel: 1.35, minduration: 4680, maxduration: 4680, mincooldown: 80000, maxcooldown: 500000, animation: "Howl", animationSpeed: 0.25, sound: "creature/wolf/wolf-howl", soundRange: 110 }, { code: "idle", priority: 1.2, priorityForCancel: 1.35, minduration: 2500, maxduration: 2500, mincooldown: 6000, maxcooldown: 20000, animation: "Sniff", animationSpeed: 1.25 }, { code: "wander", priority: 1.0, priorityForCancel: 1.35, movespeed: 0.006, animation: "Walk", preferredLightLevel: 20 }, { code: "lookaround", priority: 0.5 } ] } ], spawnconditions: { worldgen: { TriesPerChunk: { avg: 0.03, var: 0 }, tryOnlySurface: true, minLightLevel: 10, groupSize: { dist: "verynarrowgaussian", avg: 2, var: 3 }, insideBlockCodes: ["air", "tallgrass-*"], minTemp: -15, maxTemp: 15, minRain: 0.25, companions: ["wolf-female", "wolf-pup"] }, runtime: { group: "hostile", tryOnlySurface: true, chance: 0.003, maxQuantity: 4, minLightLevel: 10, groupSize: { dist: "verynarrowgaussian", avg: 2, var: 3 }, insideBlockCodes: ["air", "tallgrass-*"], minTemp: -15, maxTemp: 15, minRain: 0.25, companions: ["wolf-female", "wolf-pup"] } } }, sounds: { hurt: "creature/wolf/wolf-hurt", death: "creature/wolf/wolf-hurt", idle: "creature/wolf/wolf-howl" }, idleSoundChance: 0 }