mirror of
https://git.stillkill.net/MinecraftLeak/MinecraftLegends.git
synced 2026-10-22 13:22:20 +01:00
Initial commit
This commit is contained in:
commit
86efc669e9
5013 files changed
+237743
No files matched your search
@@ -0,0 +1,158 @@
|
||||
{
|
||||
"minecraft:entity": {
|
||||
"format_version": "1.2.0",
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:snowgolem_leashed": {
|
||||
"minecraft:behavior.move_towards_restriction": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1.0
|
||||
}
|
||||
},
|
||||
"minecraft:snowman_sheared": {
|
||||
"minecraft:is_sheared": {
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:identifier": {
|
||||
"id": "minecraft:snow_golem"
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "snowgolem" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"totalSupply": 15,
|
||||
"suffocateTime": 0
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.4,
|
||||
"height": 1.8
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/snowman.json"
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 4,
|
||||
"max": 4
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.2
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"avoid_water": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 2
|
||||
},
|
||||
"minecraft:fall_damage": {
|
||||
"value": 0.0
|
||||
},
|
||||
"minecraft:interact": [
|
||||
{
|
||||
"cooldown": 2.5,
|
||||
"use_item": false,
|
||||
"hurt_item": 1,
|
||||
"play_sounds": "shear",
|
||||
"interact_text": "action.interact.shear",
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "shears"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test" : "has_component", "operator": "!=", "value" : "minecraft:is_sheared"}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:on_sheared",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0,
|
||||
"on_leash": {
|
||||
"event": "minecraft:on_leash",
|
||||
"target": "self"
|
||||
},
|
||||
"on_unleash": {
|
||||
"event": "minecraft:on_unleash",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:behavior.ranged_attack": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25,
|
||||
"attack_interval": 1,
|
||||
"attack_radius": 10
|
||||
},
|
||||
"minecraft:shooter": {
|
||||
"def": "minecraft:snowball"
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 3,
|
||||
"look_distance": 6.0
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 4
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 1,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": { "test" : "is_family", "subject" : "other", "value" : "monster"},
|
||||
"within_default": 6
|
||||
}
|
||||
],
|
||||
"must_reach": true
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:hurt_when_wet": {
|
||||
"value": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:on_sheared": {
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:snowman_sheared"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:on_leash": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:snowgolem_leashed"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:on_unleash": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:snowgolem_leashed"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user