mirror of
https://git.stillkill.net/MinecraftLeak/MinecraftLegends.git
synced 2026-10-22 05:22:18 +01:00
Initial commit
This commit is contained in:
commit
86efc669e9
5013 files changed
+237743
No files matched your search
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,114 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:hard_arrow": {
|
||||||
|
"minecraft:projectile": {
|
||||||
|
"onHit": {
|
||||||
|
"impact_damage": {
|
||||||
|
"damage": [ 1, 5 ],
|
||||||
|
"knockback": true,
|
||||||
|
"semirandomdiffdamage": false,
|
||||||
|
"destroyonhit": false
|
||||||
|
},
|
||||||
|
"remove_on_hit": {
|
||||||
|
},
|
||||||
|
"arrow_effect": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"hitSound": "bow.hit",
|
||||||
|
"power": 1.6,
|
||||||
|
"gravity": 0.05,
|
||||||
|
"uncertaintyBase": 16,
|
||||||
|
"uncertaintyMultiplier": 4,
|
||||||
|
"anchor": 1,
|
||||||
|
"shouldbounce": true,
|
||||||
|
"offset": [ 0, -0.1, 0 ],
|
||||||
|
"ignoreBlocks": [ ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:player_arrow": {
|
||||||
|
"minecraft:projectile": {
|
||||||
|
"onHit": {
|
||||||
|
"impact_damage": {
|
||||||
|
"damage": 1,
|
||||||
|
"knockback": true,
|
||||||
|
"semirandomdiffdamage": true,
|
||||||
|
"destroyonhit": false
|
||||||
|
},
|
||||||
|
"remove_on_hit": {
|
||||||
|
},
|
||||||
|
"arrow_effect": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"hitSound": "bow.hit",
|
||||||
|
"power": 5.0,
|
||||||
|
"gravity": 0.05,
|
||||||
|
"uncertaintyBase": 1,
|
||||||
|
"uncertaintyMultiplier": 0,
|
||||||
|
"anchor": 1,
|
||||||
|
"shouldbounce": true,
|
||||||
|
"offset": [ 0, -0.1, 0 ],
|
||||||
|
"ignoreBlocks": [ ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:arrow"
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.25,
|
||||||
|
"height": 0.25
|
||||||
|
},
|
||||||
|
"minecraft:projectile": {
|
||||||
|
"onHit": {
|
||||||
|
"impact_damage": {
|
||||||
|
"damage": [ 4, 4 ],
|
||||||
|
"knockback": true,
|
||||||
|
"semirandomdiffdamage": false,
|
||||||
|
"destroyonhit": false
|
||||||
|
},
|
||||||
|
"remove_on_hit": {
|
||||||
|
},
|
||||||
|
"arrow_effect": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"hitSound": "bow.hit",
|
||||||
|
"power": 1.6,
|
||||||
|
"gravity": 0.05,
|
||||||
|
"uncertaintyBase": 16,
|
||||||
|
"uncertaintyMultiplier": 4,
|
||||||
|
"anchor": 1,
|
||||||
|
"shouldbounce": true,
|
||||||
|
"offset": [ 0, -0.1, 0 ],
|
||||||
|
"ignoreBlocks": [ ]
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"sequence": [
|
||||||
|
{
|
||||||
|
"filters": {"test": "is_difficulty", "value": "hard"},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [ "minecraft:hard_arrow" ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filters": {"test": "is_family", "subject": "other", "value": "player"},
|
||||||
|
"add": {
|
||||||
|
"component_groups" : [ "minecraft:player_arrow" ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,56 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"from_explosion": {
|
||||||
|
"minecraft:explode": {
|
||||||
|
"fuseLength": {
|
||||||
|
"range_min": 0.5,
|
||||||
|
"range_max": 2.0
|
||||||
|
},
|
||||||
|
"fuseLit": true,
|
||||||
|
"power": 4,
|
||||||
|
"causesFire": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:badger_tnt"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "tnt", "inanimate" ]
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.98,
|
||||||
|
"height": 0.98
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:explode": {
|
||||||
|
"fuseLength": 4,
|
||||||
|
"fuseLit": true,
|
||||||
|
"power": 4,
|
||||||
|
"causesFire": true,
|
||||||
|
"breaks_blocks": true,
|
||||||
|
"fireAffectedByGriefing": false,
|
||||||
|
"destroyAffectedByGriefing": false,
|
||||||
|
"depthLimit": 0,
|
||||||
|
"structureDamageMultiplier": 3.5
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"from_explosion": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"from_explosion"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,655 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:stats_normal": {
|
||||||
|
"minecraft:scale": {
|
||||||
|
"value": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 16,
|
||||||
|
"max": 16
|
||||||
|
},
|
||||||
|
"minecraft:attack": {
|
||||||
|
"damage": 3
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:stats_giant": {
|
||||||
|
"minecraft:scale": {
|
||||||
|
"value": 4.0
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 48,
|
||||||
|
"max": 48
|
||||||
|
},
|
||||||
|
"minecraft:attack": {
|
||||||
|
"damage": 9
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:exploding": {
|
||||||
|
"minecraft:explode": {
|
||||||
|
"fuseLength": 1.5,
|
||||||
|
"fuseLit": true,
|
||||||
|
"power": 4,
|
||||||
|
"causesFire": false,
|
||||||
|
"destroyAffectedByGriefing": true,
|
||||||
|
"structureDamageMultiplier": 1,
|
||||||
|
"depthLimit": 0
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"check_for_buffs": {
|
||||||
|
"minecraft:structure_prox_trigger": {
|
||||||
|
"structure_filters": {
|
||||||
|
"all_of": [{
|
||||||
|
"test": "is_structure_same_team",
|
||||||
|
"subject": "other"
|
||||||
|
},{
|
||||||
|
"test": "is_structure_name",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "placeable_magmablood"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"opeartor": "and",
|
||||||
|
"filters": {
|
||||||
|
"all_of": [{
|
||||||
|
"test": "has_component",
|
||||||
|
"operator": "not",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "magmablood"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"event": "apply_magmablood"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"magmablood": {
|
||||||
|
"minecraft:behavior.spawn_block_on_death": {
|
||||||
|
"block_name": "flowing_lava",
|
||||||
|
"offset": [0.0, 0.0, 0.0],
|
||||||
|
"duration": 5.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:charged_creeper": {
|
||||||
|
"minecraft:is_charged": {}
|
||||||
|
},
|
||||||
|
"minecraft:charged_exploding": {
|
||||||
|
"minecraft:explode": {
|
||||||
|
"fuseLength": 1.5,
|
||||||
|
"fuseLit": true,
|
||||||
|
"power": 6,
|
||||||
|
"causesFire": false,
|
||||||
|
"destroyAffectedByGriefing": true,
|
||||||
|
|
||||||
|
"depthLimit": 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:forced_exploding": {
|
||||||
|
"minecraft:target_nearby_sensor": {},
|
||||||
|
"minecraft:explode": {
|
||||||
|
"fuseLength": 1.5,
|
||||||
|
"fuseLit": true,
|
||||||
|
"power": 3,
|
||||||
|
"causesFire": false,
|
||||||
|
"destroyAffectedByGriefing": true,
|
||||||
|
|
||||||
|
"depthLimit": 0
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:on_target_escape": {}
|
||||||
|
},
|
||||||
|
"minecraft:forced_charged_exploding": {
|
||||||
|
"minecraft:target_nearby_sensor": {},
|
||||||
|
"minecraft:explode": {
|
||||||
|
"fuseLength": 1.5,
|
||||||
|
"fuseLit": true,
|
||||||
|
"power": 6,
|
||||||
|
"causesFire": false,
|
||||||
|
"destroyAffectedByGriefing": true,
|
||||||
|
|
||||||
|
"depthLimit": 0
|
||||||
|
},
|
||||||
|
"minecraft:on_target_escape": {}
|
||||||
|
},
|
||||||
|
"minecraft:horny_for_spiders": {
|
||||||
|
"minecraft:behavior.combine_with_target": {
|
||||||
|
"priority": 4,
|
||||||
|
"structure_types": [{
|
||||||
|
"filters": { "test": "is_structure_name", "value": "placeable_mob_combiner" }
|
||||||
|
}],
|
||||||
|
"entity_types": [{
|
||||||
|
"filters": { "all_of": [
|
||||||
|
{"any_of":[
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "wolf"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "blue"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "blue"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "wolf"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "wild"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "wild"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "wolf"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "red"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "red"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "slime"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "blue"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "blue"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "slime"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "wild"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "wild"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "slime"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "red"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "red"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "spider"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "blue"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "blue"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "spider"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "wild"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "wild"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "spider"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "red"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "red"}
|
||||||
|
]}
|
||||||
|
]}
|
||||||
|
]}
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:creeper"
|
||||||
|
},
|
||||||
|
"minecraft:structure_sensor": {
|
||||||
|
"on_proximity": {
|
||||||
|
"event": "apply_buffs"
|
||||||
|
},
|
||||||
|
"on_leave": {
|
||||||
|
"event": "ignore_buffs"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [
|
||||||
|
"creeper",
|
||||||
|
"monster"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 0,
|
||||||
|
"suffocateTime": 0
|
||||||
|
},
|
||||||
|
"minecraft:enlargeable": {
|
||||||
|
"grow": {
|
||||||
|
"event": "minecraft:enlargeable_grow",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"shrink": {
|
||||||
|
"event": "minecraft:enlargeable_shrink",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.6,
|
||||||
|
"height": 1.8
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.25
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
"avoid_water": true
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {},
|
||||||
|
"minecraft:jump.static": {},
|
||||||
|
"minecraft:can_climb": {},
|
||||||
|
"minecraft:damage_sensor": [
|
||||||
|
{
|
||||||
|
"on_damage": {
|
||||||
|
"filters": {
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "lightning"
|
||||||
|
},
|
||||||
|
"event": "minecraft:become_charged"
|
||||||
|
},
|
||||||
|
"deals_damage": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"minecraft:target_nearby_sensor": {
|
||||||
|
"inside_range": 1.5,
|
||||||
|
"outside_range": 20.0,
|
||||||
|
"on_inside_range": {
|
||||||
|
"event": "minecraft:start_exploding",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"on_outside_range": {
|
||||||
|
"event": "minecraft:stop_exploding",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:interact": {
|
||||||
|
"on_interact": {
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "player"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "has_equipment",
|
||||||
|
"domain": "hand",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "flint_and_steel"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "has_component",
|
||||||
|
"operator": "!=",
|
||||||
|
"value": "minecraft:explode"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"event": "minecraft:start_exploding_forced",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"hurt_item": 1,
|
||||||
|
"swing": true,
|
||||||
|
"play_sounds": "ignite",
|
||||||
|
"interact_text": "action.interact.creeper"
|
||||||
|
},
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/creeper.json"
|
||||||
|
},
|
||||||
|
"minecraft:behavior.desire_position": {
|
||||||
|
"priority": 7
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:behavior.hurt_by_target": {
|
||||||
|
"priority": 0,
|
||||||
|
"entity_types": [
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"any_of": [
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "player"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "villager"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "spider"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "skeleton"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "creeper"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "wolf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "zombie"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.panic": {
|
||||||
|
"priority": 1,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.swell": {
|
||||||
|
"start_distance": 1.5,
|
||||||
|
"stop_distance": 6.0,
|
||||||
|
"priority": 2
|
||||||
|
},
|
||||||
|
"minecraft:behavior.nearest_attackable_target": {
|
||||||
|
"priority": 6,
|
||||||
|
"within_radius": 20,
|
||||||
|
"entity_types": [
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"any_of": [
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "wild"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "wild"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "red"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "red"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "blue"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"max_dist": 20
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"must_see": true,
|
||||||
|
"must_see_forget_duration": 2.5
|
||||||
|
},
|
||||||
|
"minecraft:behavior.desire_direction": {
|
||||||
|
"priority": 8
|
||||||
|
},
|
||||||
|
"minecraft:behavior.target_structures": {
|
||||||
|
"priority": 5,
|
||||||
|
"within_radius": 10,
|
||||||
|
"speed_multiplier": 1.15,
|
||||||
|
"structure_types": [
|
||||||
|
{
|
||||||
|
"filters": [
|
||||||
|
{
|
||||||
|
"any_of": [
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "has_structure_tag",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "do_not_target",
|
||||||
|
"subject": "other"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"any_of": [
|
||||||
|
{
|
||||||
|
"test": "is_structure_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "red"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_structure_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "wild"
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "red"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "has_structure_tag",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "do_not_target",
|
||||||
|
"subject": "other"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"any_of": [
|
||||||
|
{
|
||||||
|
"test": "is_structure_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_structure_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "wild"
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "wild"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "has_structure_tag",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "do_not_target",
|
||||||
|
"subject": "other"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"any_of": [
|
||||||
|
{
|
||||||
|
"test": "is_structure_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "red"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_structure_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "blue"
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.melee_attack": {
|
||||||
|
"priority": 3,
|
||||||
|
"speed_multiplier": 1.15,
|
||||||
|
"track_target": false
|
||||||
|
},
|
||||||
|
"badger:behavior.idle": {
|
||||||
|
"priority": 1000,
|
||||||
|
"probability": 0.99,
|
||||||
|
"max_dist": 8,
|
||||||
|
"speed_multiplier": 0.8
|
||||||
|
},
|
||||||
|
"minecraft:physics": {},
|
||||||
|
"minecraft:on_target_escape": {
|
||||||
|
"event": "minecraft:stop_exploding",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"events": {
|
||||||
|
|
||||||
|
"apply_buffs": {
|
||||||
|
"add":{ "component_groups": [
|
||||||
|
"check_for_buffs",
|
||||||
|
"minecraft:horny_for_spiders"
|
||||||
|
]}
|
||||||
|
},
|
||||||
|
"ignore_buffs": {
|
||||||
|
"remove":{ "component_groups": [
|
||||||
|
"check_for_buffs"
|
||||||
|
]}
|
||||||
|
},
|
||||||
|
|
||||||
|
"apply_magmablood": {
|
||||||
|
"add": { "component_groups": [
|
||||||
|
"magmablood"
|
||||||
|
]}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:get_horny": {
|
||||||
|
"add": { "component_groups": [
|
||||||
|
"minecraft:horny_for_spiders"
|
||||||
|
]}
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:turn_off": {
|
||||||
|
"remove": { "component_groups": [
|
||||||
|
"minecraft:horny_for_spiders"
|
||||||
|
]}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:start_exploding_forced": {
|
||||||
|
"sequence": [
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"test": "has_component",
|
||||||
|
"operator": "!=",
|
||||||
|
"value": "minecraft:is_charged"
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:forced_exploding"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"test": "has_component",
|
||||||
|
"value": "minecraft:is_charged"
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:forced_charged_exploding"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:start_exploding": {
|
||||||
|
"sequence": [
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"test": "has_component",
|
||||||
|
"operator": "!=",
|
||||||
|
"value": "minecraft:is_charged"
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:exploding"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"test": "has_component",
|
||||||
|
"value": "minecraft:is_charged"
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:charged_exploding"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:stop_exploding": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:exploding"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:become_charged": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:exploding"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:charged_creeper"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:stats_normal"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:enlargeable_grow": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:stats_normal"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:stats_giant"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:enlargeable_shrink": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:stats_giant"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:stats_normal"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,461 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:donkey_baby": {
|
||||||
|
"minecraft:is_baby": {
|
||||||
|
},
|
||||||
|
"minecraft:scale_by_age": {
|
||||||
|
"start_scale": 0.5,
|
||||||
|
"end_scale": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:ageable": {
|
||||||
|
"duration": 1200,
|
||||||
|
"feedItems": [
|
||||||
|
{
|
||||||
|
"item": "wheat",
|
||||||
|
"growth": 0.016667
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "sugar",
|
||||||
|
"growth": 0.025
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "tile.hay_block",
|
||||||
|
"growth": 0.15
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "apple",
|
||||||
|
"growth": 0.05
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_carrot",
|
||||||
|
"growth": 0.05
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_apple",
|
||||||
|
"growth": 0.2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "appleEnchanted",
|
||||||
|
"growth": 0.2
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"grow_up": {
|
||||||
|
"event": "minecraft:ageable_grow_up",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.follow_parent": {
|
||||||
|
"priority": 4,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:donkey_adult": {
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/horse.json"
|
||||||
|
},
|
||||||
|
"minecraft:behavior.run_around_like_crazy": {
|
||||||
|
"priority": 1,
|
||||||
|
"speed_multiplier": 1.2
|
||||||
|
},
|
||||||
|
"minecraft:behavior.breed": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:donkey_wild": {
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"seat_count": 1,
|
||||||
|
"family_types": [
|
||||||
|
"player",
|
||||||
|
"zombie"
|
||||||
|
],
|
||||||
|
"interact_text": "action.interact.mount",
|
||||||
|
"seats": {
|
||||||
|
"position": [ 0.0, 0.925, -0.2 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.mount_pathing": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.5,
|
||||||
|
"target_dist": 0.0,
|
||||||
|
"track_target": true
|
||||||
|
},
|
||||||
|
"minecraft:tamemount": {
|
||||||
|
"minTemper": 0,
|
||||||
|
"maxTemper": 100,
|
||||||
|
"feed_text": "action.interact.feed",
|
||||||
|
"ride_text": "action.interact.mount",
|
||||||
|
"feedItems": [
|
||||||
|
{
|
||||||
|
"item": "wheat",
|
||||||
|
"temperMod": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "sugar",
|
||||||
|
"temperMod": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "apple",
|
||||||
|
"temperMod": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_carrot",
|
||||||
|
"temperMod": 5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_apple",
|
||||||
|
"temperMod": 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "appleEnchanted",
|
||||||
|
"temperMod": 10
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"autoRejectItems": [
|
||||||
|
{
|
||||||
|
"item": "horsearmorleather"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "horsearmoriron"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "horsearmorgold"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "horsearmordiamond"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "saddle"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"tame_event": {
|
||||||
|
"event": "minecraft:on_tame",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:donkey_tamed": {
|
||||||
|
"minecraft:is_tamed": {
|
||||||
|
},
|
||||||
|
"minecraft:equippable": {
|
||||||
|
"slots": [
|
||||||
|
{
|
||||||
|
"slot": 0,
|
||||||
|
"item": "saddle",
|
||||||
|
"accepted_items": ["saddle"],
|
||||||
|
"on_equip": {
|
||||||
|
"event": "minecraft:donkey_saddled"
|
||||||
|
},
|
||||||
|
"on_unequip": {
|
||||||
|
"event": "minecraft:donkey_unsaddled"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"priority": 0,
|
||||||
|
"seat_count": 1,
|
||||||
|
"crouching_skip_interact": true,
|
||||||
|
"interact_text": "action.interact.ride.horse",
|
||||||
|
"seats": {
|
||||||
|
"position": [ 0.0, 0.925, -0.2 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.player_ride_tamed": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:inventory": {
|
||||||
|
"inventory_size": 17,
|
||||||
|
"container_type": "horse"
|
||||||
|
},
|
||||||
|
"minecraft:breedable": {
|
||||||
|
"requireTame": true,
|
||||||
|
"inheritTamed": false,
|
||||||
|
"breedsWith": [
|
||||||
|
{
|
||||||
|
"mateType": "minecraft:donkey",
|
||||||
|
"babyType": "minecraft:donkey",
|
||||||
|
"breed_event": {
|
||||||
|
"event": "minecraft:entity_born",
|
||||||
|
"target": "baby"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mateType": "minecraft:horse",
|
||||||
|
"babyType": "minecraft:mule",
|
||||||
|
"breed_event": {
|
||||||
|
"event": "minecraft:entity_born",
|
||||||
|
"target": "baby"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"breedItems": [
|
||||||
|
"golden_carrot",
|
||||||
|
"golden_apple",
|
||||||
|
"appleEnchanted"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.tempt": {
|
||||||
|
"priority": 5,
|
||||||
|
"speed_multiplier": 1.2,
|
||||||
|
"items": [
|
||||||
|
"apple",
|
||||||
|
"carrot",
|
||||||
|
"golden_apple",
|
||||||
|
"appleEnchanted",
|
||||||
|
"golden_carrot",
|
||||||
|
"carrotOnAStick",
|
||||||
|
"tile.hay_block",
|
||||||
|
"sugar",
|
||||||
|
"bread",
|
||||||
|
"wheat"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:donkey_unchested": {
|
||||||
|
"minecraft:interact": [
|
||||||
|
{
|
||||||
|
"on_interact": {
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
{ "test" : "has_equipment", "domain": "hand","subject" : "other", "value" : "chest:0"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"event": "minecraft:on_chest",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"use_item": true,
|
||||||
|
"interact_text": "action.interact.attachchest"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:donkey_chested": {
|
||||||
|
"minecraft:is_chested": {
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:donkey_saddled": {
|
||||||
|
"minecraft:is_saddled": {
|
||||||
|
},
|
||||||
|
"minecraft:input_ground_controlled": {
|
||||||
|
},
|
||||||
|
"minecraft:can_power_jump": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:donkey_leashed": {
|
||||||
|
"minecraft:behavior.move_towards_restriction": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:donkey"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "donkey" ]
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 15,
|
||||||
|
"suffocateTime": 0
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 1.4,
|
||||||
|
"height": 1.6
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": {
|
||||||
|
"range_min": 15,
|
||||||
|
"range_max": 30
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.175
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
"can_float": true,
|
||||||
|
"avoid_water": true,
|
||||||
|
"avoid_damage_blocks": true
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
"minecraft:horse.jump_strength": {
|
||||||
|
"value": 0.5
|
||||||
|
},
|
||||||
|
"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:healable": {
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"item": "wheat",
|
||||||
|
"heal_amount": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "sugar",
|
||||||
|
"heal_amount": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "tile.hay_block",
|
||||||
|
"heal_amount": 20
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "apple",
|
||||||
|
"heal_amount": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_carrot",
|
||||||
|
"heal_amount": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_apple",
|
||||||
|
"heal_amount": 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "appleEnchanted",
|
||||||
|
"heal_amount": 10
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.float": {
|
||||||
|
"priority": 0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.panic": {
|
||||||
|
"priority": 1,
|
||||||
|
"speed_multiplier": 1.2
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_stroll": {
|
||||||
|
"priority": 6,
|
||||||
|
"speed_multiplier": 0.7
|
||||||
|
},
|
||||||
|
"minecraft:behavior.look_at_player": {
|
||||||
|
"priority": 7,
|
||||||
|
"look_distance": 6.0,
|
||||||
|
"probability": 0.02
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_look_around": {
|
||||||
|
"priority": 8
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:donkey_adult",
|
||||||
|
"minecraft:donkey_tamed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:entity_born": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:donkey_baby"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:on_tame": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:donkey_wild"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:donkey_tamed",
|
||||||
|
"minecraft:donkey_unchested"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:ageable_grow_up": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:donkey_baby"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:donkey_adult",
|
||||||
|
"minecraft:donkey_wild"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:on_leash": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:donkey_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:on_unleash": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:donkey_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:on_chest": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:donkey_unchested"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:donkey_chested"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:donkey_saddled": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:donkey_saddled"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:donkey_unsaddled": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:donkey_saddled"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,61 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:exploding": {
|
||||||
|
"minecraft:explode": {
|
||||||
|
"fuseLength": 0,
|
||||||
|
"fuseLit": true,
|
||||||
|
"power": 5,
|
||||||
|
"causesFire": false,
|
||||||
|
"fireAffectedByGriefing": true,
|
||||||
|
"destroyAffectedByGriefing": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:fireball"
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 1.0,
|
||||||
|
"height": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:projectile": {
|
||||||
|
|
||||||
|
"onHit": {
|
||||||
|
"definition_event": {
|
||||||
|
"affectProjectile": true,
|
||||||
|
"eventTrigger": {
|
||||||
|
"event": "minecraft:explode",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"power": 5,
|
||||||
|
"gravity": 0.25,
|
||||||
|
"inertia": 1,
|
||||||
|
"uncertaintyBase": 10,
|
||||||
|
"uncertaintyMultiplier": 0,
|
||||||
|
"anchor": 0,
|
||||||
|
"offset": [ 0, -0.1, 0 ],
|
||||||
|
"reflectOnHurt": true,
|
||||||
|
"catchFire": false,
|
||||||
|
"shoottarget": false
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"events": {
|
||||||
|
"minecraft:explode": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:exploding"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,442 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:horse_baby": {
|
||||||
|
"minecraft:is_baby": {
|
||||||
|
},
|
||||||
|
"minecraft:scale_by_age": {
|
||||||
|
"start_scale": 0.5,
|
||||||
|
"end_scale": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:ageable": {
|
||||||
|
"duration": 1200,
|
||||||
|
"feedItems": [
|
||||||
|
{
|
||||||
|
"item": "wheat",
|
||||||
|
"growth": 0.016667
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "sugar",
|
||||||
|
"growth": 0.025
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "tile.hay_block",
|
||||||
|
"growth": 0.15
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "apple",
|
||||||
|
"growth": 0.05
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_carrot",
|
||||||
|
"growth": 0.05
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_apple",
|
||||||
|
"growth": 0.2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "appleEnchanted",
|
||||||
|
"growth": 0.2
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"grow_up": {
|
||||||
|
"event": "minecraft:ageable_grow_up",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.follow_parent": {
|
||||||
|
"priority": 4,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:horse_adult": {
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/horse.json"
|
||||||
|
},
|
||||||
|
"minecraft:behavior.run_around_like_crazy": {
|
||||||
|
"priority": 1,
|
||||||
|
"speed_multiplier": 1.2
|
||||||
|
},
|
||||||
|
"minecraft:behavior.breed": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:horse_wild": {
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"seat_count": 1,
|
||||||
|
"family_types": [
|
||||||
|
"player",
|
||||||
|
"zombie"
|
||||||
|
],
|
||||||
|
"interact_text": "action.interact.mount",
|
||||||
|
"seats": {
|
||||||
|
"position": [0.0, 1.1, -0.2]
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:behavior.mount_pathing": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.5,
|
||||||
|
"target_dist": 0.0,
|
||||||
|
"track_target": true
|
||||||
|
},
|
||||||
|
"minecraft:tamemount": {
|
||||||
|
"minTemper": 0,
|
||||||
|
"maxTemper": 100,
|
||||||
|
"feed_text": "action.interact.feed",
|
||||||
|
"ride_text": "action.interact.mount",
|
||||||
|
"feedItems": [
|
||||||
|
{
|
||||||
|
"item": "wheat",
|
||||||
|
"temperMod": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "sugar",
|
||||||
|
"temperMod": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "apple",
|
||||||
|
"temperMod": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_carrot",
|
||||||
|
"temperMod": 5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_apple",
|
||||||
|
"temperMod": 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "appleEnchanted",
|
||||||
|
"temperMod": 10
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"autoRejectItems": [
|
||||||
|
{
|
||||||
|
"item": "horsearmorleather"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "horsearmoriron"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "horsearmorgold"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "horsearmordiamond"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "saddle"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"tame_event": {
|
||||||
|
"event": "minecraft:on_tame",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:horse_tamed": {
|
||||||
|
"minecraft:is_tamed": {
|
||||||
|
},
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"priority": 0,
|
||||||
|
"seat_count": 1,
|
||||||
|
"crouching_skip_interact": true,
|
||||||
|
"family_types": [
|
||||||
|
"player"
|
||||||
|
],
|
||||||
|
"interact_text": "action.interact.ride.horse",
|
||||||
|
"seats": {
|
||||||
|
"position": [ 0.0, 1.1, -0.2 ]
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:inventory": {
|
||||||
|
"inventory_size": 2,
|
||||||
|
"container_type": "horse"
|
||||||
|
},
|
||||||
|
"minecraft:breedable": {
|
||||||
|
"requireTame": true,
|
||||||
|
"inheritTamed": false,
|
||||||
|
"breedsWith": [
|
||||||
|
{
|
||||||
|
"mateType": "minecraft:horse",
|
||||||
|
"babyType": "minecraft:horse",
|
||||||
|
"breed_event": {
|
||||||
|
"event": "minecraft:entity_born",
|
||||||
|
"target": "baby"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mateType": "minecraft:donkey",
|
||||||
|
"babyType": "minecraft:mule",
|
||||||
|
"breed_event": {
|
||||||
|
"event": "minecraft:entity_born",
|
||||||
|
"target": "baby"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"breedItems": [
|
||||||
|
"golden_carrot",
|
||||||
|
"golden_apple",
|
||||||
|
"appleEnchanted"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.tempt": {
|
||||||
|
"priority": 5,
|
||||||
|
"speed_multiplier": 1.2,
|
||||||
|
"items": [
|
||||||
|
"apple",
|
||||||
|
"carrot",
|
||||||
|
"golden_apple",
|
||||||
|
"appleEnchanted",
|
||||||
|
"golden_carrot",
|
||||||
|
"tile.hay_block",
|
||||||
|
"sugar",
|
||||||
|
"bread",
|
||||||
|
"wheat"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:horse_leashed": {
|
||||||
|
"minecraft:behavior.move_towards_restriction": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:horse_saddled": {
|
||||||
|
"minecraft:is_saddled": {
|
||||||
|
},
|
||||||
|
"minecraft:input_ground_controlled": {
|
||||||
|
},
|
||||||
|
"minecraft:can_power_jump": {
|
||||||
|
},
|
||||||
|
"minecraft:behavior.player_ride_tamed": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:horse"
|
||||||
|
},
|
||||||
|
"minecraft:equippable": {
|
||||||
|
"slots": [
|
||||||
|
{
|
||||||
|
"slot": 0,
|
||||||
|
"item": "saddle",
|
||||||
|
"accepted_items": ["saddle"],
|
||||||
|
"on_equip": {
|
||||||
|
"event": "minecraft:horse_saddled"
|
||||||
|
},
|
||||||
|
"on_unequip": {
|
||||||
|
"event": "minecraft:horse_unsaddled"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"slot": 1,
|
||||||
|
"item": "horsearmoriron",
|
||||||
|
"accepted_items": [
|
||||||
|
"horsearmorleather",
|
||||||
|
"horsearmoriron",
|
||||||
|
"horsearmorgold",
|
||||||
|
"horsearmordiamond"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "horse" ]
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 15,
|
||||||
|
"suffocateTime": 1
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.35,
|
||||||
|
"height": 1.25
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": {
|
||||||
|
"range_min": 500,
|
||||||
|
"range_max": 500
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": {
|
||||||
|
"range_min": 0.2375,
|
||||||
|
"range_max": 0.2375
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
"can_float": true,
|
||||||
|
"avoid_water": true,
|
||||||
|
"avoid_damage_blocks": true
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
"minecraft:horse.jump_strength": {
|
||||||
|
"value": {
|
||||||
|
"range_min": 0.90,
|
||||||
|
"range_max": 0.90
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"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:healable": {
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"item": "wheat",
|
||||||
|
"heal_amount": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "sugar",
|
||||||
|
"heal_amount": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "tile.hay_block",
|
||||||
|
"heal_amount": 20
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "apple",
|
||||||
|
"heal_amount": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_carrot",
|
||||||
|
"heal_amount": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_apple",
|
||||||
|
"heal_amount": 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "appleEnchanted",
|
||||||
|
"heal_amount": 10
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.float": {
|
||||||
|
"priority": 0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.panic": {
|
||||||
|
"priority": 3,
|
||||||
|
"speed_multiplier": 1.2
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_stroll": {
|
||||||
|
"priority": 6,
|
||||||
|
"speed_multiplier": 0.7
|
||||||
|
},
|
||||||
|
"minecraft:behavior.look_at_player": {
|
||||||
|
"priority": 7,
|
||||||
|
"look_distance": 6.0,
|
||||||
|
"probability": 0.02
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_look_around": {
|
||||||
|
"priority": 8
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:horse_adult",
|
||||||
|
"minecraft:horse_tamed",
|
||||||
|
"minecraft:horse_saddled"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:entity_born": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:horse_baby"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:on_tame": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:horse_wild"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:horse_tamed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:ageable_grow_up": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:horse_baby"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:horse_adult",
|
||||||
|
"minecraft:horse_wild"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:on_leash": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:horse_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:on_unleash": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:horse_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:horse_saddled": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:horse_saddled"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:horse_unsaddled": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:horse_saddled"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,178 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:iron_golem"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "irongolem" ]
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 1.4,
|
||||||
|
"height": 1.5
|
||||||
|
},
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/golem.json"
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 40,
|
||||||
|
"max": 40
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.22
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
"can_float": false,
|
||||||
|
"avoid_water": true,
|
||||||
|
"avoid_damage_blocks": true
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
},
|
||||||
|
"minecraft:attack": {
|
||||||
|
"damage": {
|
||||||
|
"range_min": 20,
|
||||||
|
"range_max": 20
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:fall_damage": {
|
||||||
|
"value": 0.0
|
||||||
|
},
|
||||||
|
"minecraft:knockback_resistance": {
|
||||||
|
"value": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.melee_attack": {
|
||||||
|
"priority": 1,
|
||||||
|
"target_dist": 1.0,
|
||||||
|
"track_target": true
|
||||||
|
},
|
||||||
|
"minecraft:behavior.move_towards_target": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.0,
|
||||||
|
"within_radius": 20
|
||||||
|
},
|
||||||
|
"badger:defender": {
|
||||||
|
"priority": 3,
|
||||||
|
"entity_types": [{
|
||||||
|
"filters": {
|
||||||
|
"any_of": [{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "player"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"max_dist": 20,
|
||||||
|
"walk_speed_multiplier": 1,
|
||||||
|
"sprint_speed_multiplier": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"any_of": [{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "villager"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"max_dist": 20,
|
||||||
|
"walk_speed_multiplier": 1,
|
||||||
|
"sprint_speed_multiplier": 1
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.nearest_attackable_target": {
|
||||||
|
"priority": 3,
|
||||||
|
"entity_types": [
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"any_of": [
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "wild"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "wild"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "red"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "red"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "blue"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"max_dist": 20
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"must_see": false,
|
||||||
|
"must_reach": true
|
||||||
|
},
|
||||||
|
"minecraft:behavior.move_towards_restriction": {
|
||||||
|
"priority": 5,
|
||||||
|
"speed_multiplier": 1
|
||||||
|
},
|
||||||
|
"minecraft:behavior.desire_direction": {
|
||||||
|
"priority": 6
|
||||||
|
},
|
||||||
|
"minecraft:behavior.loiter": {
|
||||||
|
"priority": 7,
|
||||||
|
"speed_multiplier": 0.8,
|
||||||
|
"structure_tag": "golem_factory"
|
||||||
|
},
|
||||||
|
"minecraft:behavior.offer_flower": {
|
||||||
|
"priority": 8
|
||||||
|
},
|
||||||
|
"minecraft:behavior.look_at_player": {
|
||||||
|
"priority": 8,
|
||||||
|
"look_distance": 6.0,
|
||||||
|
"probability": 0.2
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_look_around": {
|
||||||
|
"priority": 8
|
||||||
|
},
|
||||||
|
"badger:behavior.idle": {
|
||||||
|
"priority": 1000,
|
||||||
|
"probability": 0.99,
|
||||||
|
"max_dist": 5,
|
||||||
|
"speed_multiplier": 0.8
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,617 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:llama_baby": {
|
||||||
|
"minecraft:is_baby": {
|
||||||
|
},
|
||||||
|
"minecraft:scale": {
|
||||||
|
"value": 0.5
|
||||||
|
},
|
||||||
|
"minecraft:ageable": {
|
||||||
|
"duration": 1200,
|
||||||
|
"feedItems": [
|
||||||
|
{
|
||||||
|
"item": "wheat",
|
||||||
|
"growth": 0.1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "tile.hay_block",
|
||||||
|
"growth": 0.9
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"grow_up": {
|
||||||
|
"event": "minecraft:ageable_grow_up",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:behavior.follow_parent": {
|
||||||
|
"priority": 5,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:llama_adult": {
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/llama.json"
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.9,
|
||||||
|
"height": 1.87
|
||||||
|
},
|
||||||
|
"minecraft:behavior.breed": {
|
||||||
|
"priority": 4,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:breedable": {
|
||||||
|
"requireTame": true,
|
||||||
|
"inheritTamed": false,
|
||||||
|
"breedsWith": {
|
||||||
|
"mateType": "minecraft:llama",
|
||||||
|
"babyType": "minecraft:llama",
|
||||||
|
"breed_event": {
|
||||||
|
"event": "minecraft:entity_born",
|
||||||
|
"target": "baby"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"breedItems": [ "tile.hay_block" ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:strength_1": {
|
||||||
|
"minecraft:strength": {
|
||||||
|
"value": 1,
|
||||||
|
"max": 5
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:strength_2": {
|
||||||
|
"minecraft:strength": {
|
||||||
|
"value": 2,
|
||||||
|
"max": 5
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:strength_3": {
|
||||||
|
"minecraft:strength": {
|
||||||
|
"value": 3,
|
||||||
|
"max": 5
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:strength_4": {
|
||||||
|
"minecraft:strength": {
|
||||||
|
"value": 4,
|
||||||
|
"max": 5
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:strength_5": {
|
||||||
|
"minecraft:strength": {
|
||||||
|
"value": 5,
|
||||||
|
"max": 5
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:llama_creamy": {
|
||||||
|
"minecraft:variant": {
|
||||||
|
"value": 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:llama_white": {
|
||||||
|
"minecraft:variant": {
|
||||||
|
"value": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:llama_brown": {
|
||||||
|
"minecraft:variant": {
|
||||||
|
"value": 2
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:llama_gray": {
|
||||||
|
"minecraft:variant": {
|
||||||
|
"value": 3
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:llama_wild": {
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"seat_count": 1,
|
||||||
|
"family_types": [
|
||||||
|
"player"
|
||||||
|
],
|
||||||
|
"interact_text": "action.interact.mount",
|
||||||
|
"seats": {
|
||||||
|
"position": [ 0.0, 1.25, -0.3 ]
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:tamemount": {
|
||||||
|
"minTemper": 0,
|
||||||
|
"maxTemper": 30,
|
||||||
|
"feed_text": "action.interact.feed",
|
||||||
|
"ride_text": "action.interact.mount",
|
||||||
|
"feedItems": [
|
||||||
|
{
|
||||||
|
"item": "wheat",
|
||||||
|
"temperMod": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "tile.hay_block",
|
||||||
|
"temperMod": 6
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"autoRejectItems": [
|
||||||
|
{
|
||||||
|
"item": "horsearmorleather"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "horsearmoriron"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "horsearmorgold"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "horsearmordiamond"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "saddle"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"tame_event": {
|
||||||
|
"event": "minecraft:on_tame",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
"minecraft:llama_tamed": {
|
||||||
|
"minecraft:is_tamed": {
|
||||||
|
},
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"priority": 0,
|
||||||
|
"seat_count": 1,
|
||||||
|
"crouching_skip_interact": true,
|
||||||
|
"family_types": [
|
||||||
|
"player"
|
||||||
|
],
|
||||||
|
"interact_text": "action.interact.ride.horse",
|
||||||
|
"seats": {
|
||||||
|
"position": [ 0.0, 1.1, -0.2 ]
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:inventory": {
|
||||||
|
"inventory_size": 16,
|
||||||
|
"container_type": "horse",
|
||||||
|
"additional_slots_per_strength": 3
|
||||||
|
},
|
||||||
|
"minecraft:equippable": {
|
||||||
|
"slots": [
|
||||||
|
{
|
||||||
|
"slot": 1,
|
||||||
|
"item": "carpet",
|
||||||
|
"accepted_items": [ "carpet" ]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:llama_unchested": {
|
||||||
|
"minecraft:interact": [
|
||||||
|
{
|
||||||
|
"on_interact": {
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
{ "test" : "has_equipment", "domain": "hand","subject" : "other", "value" : "chest:0"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"event": "minecraft:on_chest",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"use_item": true,
|
||||||
|
"interact_text": "action.interact.attachchest"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:llama_chested": {
|
||||||
|
"minecraft:is_chested": {
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:llama_leashed": {
|
||||||
|
"minecraft:behavior.move_towards_restriction": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:llama_angry": {
|
||||||
|
"minecraft:angry": {
|
||||||
|
"duration": 4,
|
||||||
|
"broadcastAnger": false,
|
||||||
|
"calm_event": {
|
||||||
|
"event": "minecraft:on_calm",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.ranged_attack": {
|
||||||
|
"priority": 2,
|
||||||
|
"attack_radius": 64,
|
||||||
|
"charge_shoot_trigger": 2,
|
||||||
|
"charge_charged_trigger": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:llama_angry_wolf": {
|
||||||
|
"minecraft:angry": {
|
||||||
|
"duration": -1,
|
||||||
|
"broadcastAnger": false,
|
||||||
|
"calm_event": {
|
||||||
|
"event": "minecraft:on_calm",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.ranged_attack": {
|
||||||
|
"priority": 2,
|
||||||
|
"attack_radius": 64,
|
||||||
|
"charge_shoot_trigger": 2,
|
||||||
|
"charge_charged_trigger": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:in_caravan": {
|
||||||
|
"minecraft:damage_sensor": [
|
||||||
|
{
|
||||||
|
"cause": "all",
|
||||||
|
"deals_damage": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:llama"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "llama" ]
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 15,
|
||||||
|
"suffocateTime": 0
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": {
|
||||||
|
"range_min": 15,
|
||||||
|
"range_max": 30
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.25
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
"can_float": true,
|
||||||
|
"avoid_damage_blocks": true
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
},
|
||||||
|
"minecraft:follow_range": {
|
||||||
|
"value": 40,
|
||||||
|
"max": 40
|
||||||
|
},
|
||||||
|
"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:shooter": {
|
||||||
|
"type": "llamaspit",
|
||||||
|
"def": "minecraft:llama_spit"
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:behavior.float": {
|
||||||
|
"priority": 0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.run_around_like_crazy": {
|
||||||
|
"priority": 1,
|
||||||
|
"speed_multiplier": 1.2
|
||||||
|
},
|
||||||
|
"minecraft:behavior.follow_caravan": {
|
||||||
|
"priority": 3,
|
||||||
|
"speed_multiplier": 2.1,
|
||||||
|
"entity_count": 10,
|
||||||
|
"entity_types": {
|
||||||
|
"filters": { "test" : "is_family", "subject" : "other", "value" : "llama"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.panic": {
|
||||||
|
"priority": 4,
|
||||||
|
"speed_multiplier": 1.2
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_stroll": {
|
||||||
|
"priority": 6,
|
||||||
|
"speed_multiplier": 0.7
|
||||||
|
},
|
||||||
|
"minecraft:behavior.look_at_player": {
|
||||||
|
"priority": 7,
|
||||||
|
"look_distance": 6.0,
|
||||||
|
"probability": 0.02
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_look_around": {
|
||||||
|
"priority": 8
|
||||||
|
},
|
||||||
|
"minecraft:behavior.mount_pathing": {
|
||||||
|
"priority": 1,
|
||||||
|
"speed_multiplier": 1.25,
|
||||||
|
"target_dist": 0.0,
|
||||||
|
"track_target": true
|
||||||
|
},
|
||||||
|
"minecraft:behavior.hurt_by_target": {
|
||||||
|
"priority": 1,
|
||||||
|
"hurt_owner": true
|
||||||
|
},
|
||||||
|
"minecraft:damage_sensor": [
|
||||||
|
{
|
||||||
|
"cause": "all",
|
||||||
|
"deals_damage": true,
|
||||||
|
"on_damage": {
|
||||||
|
"filters": { "test": "in_caravan", "value": false },
|
||||||
|
"event": "minecraft:become_angry"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"minecraft:behavior.nearest_attackable_target": {
|
||||||
|
"priority": 2,
|
||||||
|
"attack_interval": 16,
|
||||||
|
"entity_types": [
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "wolf"},
|
||||||
|
{ "test" : "has_component","subject" : "other", "operator": "!=", "value" : "minecraft:is_tamed"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"max_dist": 10
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"must_see": false,
|
||||||
|
"must_reach": true
|
||||||
|
},
|
||||||
|
"minecraft:on_target_acquired": {
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test" : "is_family", "subject" : "target", "value" : "wolf"},
|
||||||
|
{ "test" : "has_component","subject" : "target", "operator": "!=", "value" : "minecraft:is_tamed"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"event": "minecraft:mad_at_wolf",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"minecraft:on_target_escape": {
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test" : "is_family", "subject" : "target", "value" : "wolf"},
|
||||||
|
{ "test" : "has_component","subject" : "target", "operator": "!=", "value" : "minecraft:is_tamed"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"event": "minecraft:on_calm",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"sequence": [
|
||||||
|
{
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_adult",
|
||||||
|
"minecraft:llama_tamed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"randomize": [
|
||||||
|
{
|
||||||
|
"weight": 32,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:strength_1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 32,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:strength_2"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 32,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:strength_3"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 2,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:strength_4"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 2,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:strength_5"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"randomize": [
|
||||||
|
{
|
||||||
|
"weight": 25,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_creamy"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 25,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_white"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 25,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_brown"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 25,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_gray"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:entity_born": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_baby"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:ageable_grow_up": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_baby"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_adult",
|
||||||
|
"minecraft:llama_wild"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:on_tame": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_wild"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_tamed",
|
||||||
|
"minecraft:llama_unchested"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
"minecraft:on_leash": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:on_unleash": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:join_caravan": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:in_caravan"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:leave_caravan": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:in_caravan"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:mad_at_wolf": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_angry_wolf"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:become_angry": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_angry"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:on_calm": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_angry",
|
||||||
|
"minecraft:llama_angry_wolf"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:on_chest": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_unchested"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_chested"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,429 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:mule_baby": {
|
||||||
|
"minecraft:is_baby": {
|
||||||
|
},
|
||||||
|
"minecraft:scale_by_age": {
|
||||||
|
"start_scale": 0.5,
|
||||||
|
"end_scale": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:ageable": {
|
||||||
|
"duration": 1200,
|
||||||
|
"feedItems": [
|
||||||
|
{
|
||||||
|
"item": "wheat",
|
||||||
|
"growth": 0.016667
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "sugar",
|
||||||
|
"growth": 0.025
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "tile.hay_block",
|
||||||
|
"growth": 0.15
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "apple",
|
||||||
|
"growth": 0.05
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_carrot",
|
||||||
|
"growth": 0.05
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_apple",
|
||||||
|
"growth": 0.2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "appleEnchanted",
|
||||||
|
"growth": 0.2
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"grow_up": {
|
||||||
|
"event": "minecraft:ageable_grow_up",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.follow_parent": {
|
||||||
|
"priority": 4,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:mule_adult": {
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/horse.json"
|
||||||
|
},
|
||||||
|
"minecraft:behavior.run_around_like_crazy": {
|
||||||
|
"priority": 1,
|
||||||
|
"speed_multiplier": 1.2
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:mule_wild": {
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"seat_count": 1,
|
||||||
|
"family_types": [
|
||||||
|
"player",
|
||||||
|
"zombie"
|
||||||
|
],
|
||||||
|
"interact_text": "action.interact.mount",
|
||||||
|
"seats": {
|
||||||
|
"position": [ 0.0, 0.975, -0.2 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.mount_pathing": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.5,
|
||||||
|
"target_dist": 0.0,
|
||||||
|
"track_target": true
|
||||||
|
},
|
||||||
|
"minecraft:tamemount": {
|
||||||
|
"minTemper": 0,
|
||||||
|
"maxTemper": 100,
|
||||||
|
"feed_text": "action.interact.feed",
|
||||||
|
"ride_text": "action.interact.mount",
|
||||||
|
"feedItems": [
|
||||||
|
{
|
||||||
|
"item": "wheat",
|
||||||
|
"temperMod": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "sugar",
|
||||||
|
"temperMod": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "apple",
|
||||||
|
"temperMod": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_carrot",
|
||||||
|
"temperMod": 5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_apple",
|
||||||
|
"temperMod": 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "appleEnchanted",
|
||||||
|
"temperMod": 10
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"autoRejectItems": [
|
||||||
|
{
|
||||||
|
"item": "horsearmorleather"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "horsearmoriron"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "horsearmorgold"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "horsearmordiamond"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "saddle"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"tame_event": {
|
||||||
|
"event": "minecraft:on_tame",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:mule_tamed": {
|
||||||
|
"minecraft:is_tamed": {
|
||||||
|
},
|
||||||
|
"minecraft:equippable": {
|
||||||
|
"slots": [
|
||||||
|
{
|
||||||
|
"slot": 0,
|
||||||
|
"item": "saddle",
|
||||||
|
"accepted_items": [ "saddle" ],
|
||||||
|
"on_equip": {
|
||||||
|
"event": "minecraft:mule_saddled"
|
||||||
|
},
|
||||||
|
"on_unequip": {
|
||||||
|
"event": "minecraft:mule_unsaddled"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"priority": 0,
|
||||||
|
"seat_count": 1,
|
||||||
|
"crouching_skip_interact": true,
|
||||||
|
"interact_text": "action.interact.ride.horse",
|
||||||
|
"seats": {
|
||||||
|
"position": [ 0.0, 0.975, -0.2 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:inventory": {
|
||||||
|
"inventory_size": 17,
|
||||||
|
"container_type": "horse"
|
||||||
|
},
|
||||||
|
"minecraft:behavior.tempt": {
|
||||||
|
"priority": 5,
|
||||||
|
"speed_multiplier": 1.2,
|
||||||
|
"items": [
|
||||||
|
"apple",
|
||||||
|
"carrot",
|
||||||
|
"golden_apple",
|
||||||
|
"appleEnchanted",
|
||||||
|
"golden_carrot",
|
||||||
|
"carrotOnAStick",
|
||||||
|
"tile.hay_block",
|
||||||
|
"sugar",
|
||||||
|
"bread",
|
||||||
|
"wheat"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:mule_unchested": {
|
||||||
|
"minecraft:interact": [
|
||||||
|
{
|
||||||
|
"on_interact": {
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "chest:0"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "player"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"event": "minecraft:on_chest",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"use_item": true,
|
||||||
|
"interact_text": "action.interact.attachchest"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:mule_chested": {
|
||||||
|
"minecraft:is_chested": {
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:mule_saddled": {
|
||||||
|
"minecraft:is_saddled": {
|
||||||
|
},
|
||||||
|
"minecraft:input_ground_controlled": {
|
||||||
|
},
|
||||||
|
"minecraft:can_power_jump": {
|
||||||
|
},
|
||||||
|
"minecraft:behavior.player_ride_tamed": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:mule_leashed": {
|
||||||
|
"minecraft:behavior.move_towards_restriction": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:mule"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "mule" ]
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 15,
|
||||||
|
"suffocateTime": 0
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 1.4,
|
||||||
|
"height": 1.6
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": {
|
||||||
|
"range_min": 15,
|
||||||
|
"range_max": 30
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.175
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
"can_float": true,
|
||||||
|
"avoid_water": true,
|
||||||
|
"avoid_damage_blocks": true
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
"minecraft:horse.jump_strength": {
|
||||||
|
"value": 0.5
|
||||||
|
},
|
||||||
|
"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:healable": {
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"item": "wheat",
|
||||||
|
"heal_amount": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "sugar",
|
||||||
|
"heal_amount": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "tile.hay_block",
|
||||||
|
"heal_amount": 20
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "apple",
|
||||||
|
"heal_amount": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_carrot",
|
||||||
|
"heal_amount": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_apple",
|
||||||
|
"heal_amount": 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "appleEnchanted",
|
||||||
|
"heal_amount": 10
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.float": {
|
||||||
|
"priority": 0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.panic": {
|
||||||
|
"priority": 1,
|
||||||
|
"speed_multiplier": 1.2
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_stroll": {
|
||||||
|
"priority": 6,
|
||||||
|
"speed_multiplier": 0.7
|
||||||
|
},
|
||||||
|
"minecraft:behavior.look_at_player": {
|
||||||
|
"priority": 7,
|
||||||
|
"look_distance": 6.0,
|
||||||
|
"probability": 0.02
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_look_around": {
|
||||||
|
"priority": 8
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:mule_adult",
|
||||||
|
"minecraft:mule_tamed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:entity_born": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:mule_baby"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:on_tame": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:mule_wild"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:mule_tamed",
|
||||||
|
"minecraft:mule_unchested"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:ageable_grow_up": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:mule_baby"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:mule_adult",
|
||||||
|
"minecraft:mule_wild"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:on_leash": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:mule_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:on_unleash": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:mule_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:on_chest": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:mule_unchested"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:mule_chested"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:mule_saddled": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:mule_saddled"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:mule_unsaddled": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:mule_saddled"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,291 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:pig_baby": {
|
||||||
|
"minecraft:is_baby": {
|
||||||
|
},
|
||||||
|
"minecraft:scale": {
|
||||||
|
"value": 0.5
|
||||||
|
},
|
||||||
|
"minecraft:ageable": {
|
||||||
|
"duration": 1200,
|
||||||
|
"feedItems": [ "carrot", "beetroot", "potato" ],
|
||||||
|
"grow_up": {
|
||||||
|
"event": "minecraft:ageable_grow_up",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:behavior.follow_parent": {
|
||||||
|
"priority": 6,
|
||||||
|
"speed_multiplier": 1.1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:pig_transform": {
|
||||||
|
"minecraft:transformation": {
|
||||||
|
"into": "minecraft:pig_zombie",
|
||||||
|
"delay": 0.5
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:pig_adult": {
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/pig.json"
|
||||||
|
},
|
||||||
|
"minecraft:behavior.breed": {
|
||||||
|
"priority": 4,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:breedable": {
|
||||||
|
"requireTame": false,
|
||||||
|
"breedsWith": {
|
||||||
|
"mateType": "minecraft:pig",
|
||||||
|
"babyType": "minecraft:pig",
|
||||||
|
"breed_event": {
|
||||||
|
"event": "minecraft:entity_born",
|
||||||
|
"target": "baby"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"breedItems": [ "carrot", "beetroot", "potato" ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:pig_unsaddled": {
|
||||||
|
"minecraft:interact": [
|
||||||
|
{
|
||||||
|
"on_interact": {
|
||||||
|
"filters": { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "saddle"},
|
||||||
|
"event": "minecraft:on_saddled"
|
||||||
|
},
|
||||||
|
"use_item": true,
|
||||||
|
"play_sounds": "saddle",
|
||||||
|
"interact_text": "action.interact.saddle"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"seat_count": 1,
|
||||||
|
"family_types": [
|
||||||
|
"zombie"
|
||||||
|
],
|
||||||
|
"seats": {
|
||||||
|
"position": [ 0.0, 0.63, 0.0 ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:pig_saddled": {
|
||||||
|
"minecraft:is_saddled": {
|
||||||
|
},
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/pig_saddled.json"
|
||||||
|
},
|
||||||
|
"minecraft:boostable": {
|
||||||
|
"speed_multiplier": 2.0,
|
||||||
|
"duration": 3.0,
|
||||||
|
"boost_items": [
|
||||||
|
{
|
||||||
|
"item": "carrotOnAStick",
|
||||||
|
"item_damage": 2,
|
||||||
|
"replaceItem": "fishing_rod"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"seat_count": 1,
|
||||||
|
"interact_text": "action.interact.mount",
|
||||||
|
"family_types": [
|
||||||
|
"player"
|
||||||
|
],
|
||||||
|
"seats": {
|
||||||
|
"position": [ 0.0, 0.63, 0.0 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:item_controllable": {
|
||||||
|
"control_items": "carrotOnAStick"
|
||||||
|
},
|
||||||
|
"minecraft:behavior.controlled_by_player": {
|
||||||
|
"priority": 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:pig_leashed": {
|
||||||
|
"minecraft:behavior.move_towards_restriction": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:damage_sensor": {
|
||||||
|
"on_damage": {
|
||||||
|
"filters": { "test" : "is_family", "subject" : "other", "value" : "lightning"},
|
||||||
|
"event": "become_zombie"
|
||||||
|
},
|
||||||
|
"deals_damage": false
|
||||||
|
},
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:pig"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "pig" ]
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 15,
|
||||||
|
"suffocateTime": 0
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 10,
|
||||||
|
"max": 10
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.25
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
"can_float": true,
|
||||||
|
"avoid_water": true,
|
||||||
|
"avoid_damage_blocks": true
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
},
|
||||||
|
"minecraft:can_climb": {
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.9,
|
||||||
|
"height": 0.9
|
||||||
|
},
|
||||||
|
"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.mount_pathing": {
|
||||||
|
"priority": 1,
|
||||||
|
"speed_multiplier": 1.25,
|
||||||
|
"target_dist": 0.0,
|
||||||
|
"track_target": true
|
||||||
|
},
|
||||||
|
"minecraft:behavior.float": {
|
||||||
|
"priority": 2
|
||||||
|
},
|
||||||
|
"minecraft:behavior.panic": {
|
||||||
|
"priority": 3,
|
||||||
|
"speed_multiplier": 1.25
|
||||||
|
},
|
||||||
|
"minecraft:behavior.tempt": {
|
||||||
|
"priority": 5,
|
||||||
|
"speed_multiplier": 1.2,
|
||||||
|
"items": [
|
||||||
|
"potato",
|
||||||
|
"carrot",
|
||||||
|
"beetroot",
|
||||||
|
"carrotOnAStick"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_stroll": {
|
||||||
|
"priority": 7,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.look_at_player": {
|
||||||
|
"priority": 8,
|
||||||
|
"look_distance": 6.0,
|
||||||
|
"probability": 0.02
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_look_around": {
|
||||||
|
"priority": 9
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"become_zombie": {
|
||||||
|
"remove": {
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:pig_transform"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:pig_adult",
|
||||||
|
"minecraft:pig_unsaddled"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:entity_born": {
|
||||||
|
"remove": {
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:pig_baby"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:ageable_grow_up": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:pig_baby"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:pig_adult",
|
||||||
|
"minecraft:pig_unsaddled"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:on_saddled": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:pig_unsaddled"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:pig_saddled"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:on_leash": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:pig_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:on_unleash": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:pig_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,475 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups" : {
|
||||||
|
"check_for_buffs": {
|
||||||
|
"minecraft:structure_prox_trigger": {
|
||||||
|
"structure_filters": {
|
||||||
|
"all_of": [{
|
||||||
|
"test": "is_structure_same_team",
|
||||||
|
"subject": "other"
|
||||||
|
},{
|
||||||
|
"test": "is_structure_name",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "placeable_magmablood"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"opeartor": "and",
|
||||||
|
"filters": {
|
||||||
|
"all_of": [{
|
||||||
|
"test": "has_component",
|
||||||
|
"operator": "not",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "magmablood"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"event": "apply_magmablood"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"magmablood": {
|
||||||
|
"minecraft:behavior.spawn_block_on_death": {
|
||||||
|
"block_name": "flowing_lava",
|
||||||
|
"offset": [0.0, 0.0, 0.0],
|
||||||
|
"duration": 5.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:horny_for_spiders": {
|
||||||
|
"minecraft:behavior.combine_with_target": {
|
||||||
|
"priority": 5,
|
||||||
|
"structure_types": [{
|
||||||
|
"filters": { "test": "is_structure_name", "value": "placeable_mob_combiner" }
|
||||||
|
}],
|
||||||
|
"entity_types": [{
|
||||||
|
"filters": { "all_of": [
|
||||||
|
{"any_of":[
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "wolf"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "blue"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "blue"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "wolf"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "wild"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "wild"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "wolf"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "red"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "red"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "slime"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "blue"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "blue"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "slime"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "wild"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "wild"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "slime"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "red"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "red"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "spider"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "blue"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "blue"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "spider"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "wild"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "wild"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "spider"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "red"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "red"}
|
||||||
|
]}
|
||||||
|
]}
|
||||||
|
]}
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:stats_normal": {
|
||||||
|
"minecraft:scale": {
|
||||||
|
"value": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 12,
|
||||||
|
"max": 12
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:stats_giant": {
|
||||||
|
"minecraft:scale": {
|
||||||
|
"value": 4.0
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 36,
|
||||||
|
"max": 36
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"apply_buffs": {
|
||||||
|
"add":{ "component_groups": [
|
||||||
|
"check_for_buffs",
|
||||||
|
"minecraft:horny_for_spiders"
|
||||||
|
]}
|
||||||
|
},
|
||||||
|
"ignore_buffs": {
|
||||||
|
"remove":{ "component_groups": [
|
||||||
|
"check_for_buffs"
|
||||||
|
]}
|
||||||
|
},
|
||||||
|
|
||||||
|
"apply_magmablood": {
|
||||||
|
"add": { "component_groups": [
|
||||||
|
"magmablood"
|
||||||
|
]}
|
||||||
|
},
|
||||||
|
"minecraft:get_horny": {
|
||||||
|
"add": { "component_groups": [
|
||||||
|
"minecraft:horny_for_spiders"
|
||||||
|
]}
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:turn_off": {
|
||||||
|
"remove": { "component_groups": [
|
||||||
|
"minecraft:horny_for_spiders"
|
||||||
|
]}
|
||||||
|
},
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:stats_normal"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:enlargeable_grow": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:stats_normal"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:stats_giant"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:enlargeable_shrink": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:stats_giant"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:stats_normal"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:skeleton"
|
||||||
|
},
|
||||||
|
"minecraft:structure_sensor": {
|
||||||
|
"on_proximity": {
|
||||||
|
"event": "apply_buffs"
|
||||||
|
},
|
||||||
|
"on_leave": {
|
||||||
|
"event": "ignore_buffs"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.6,
|
||||||
|
"height": 1.95
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": ["skeleton",
|
||||||
|
"undead",
|
||||||
|
"monster"]
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 10,
|
||||||
|
"suffocateTime": 3
|
||||||
|
},
|
||||||
|
"minecraft:enlargeable": {
|
||||||
|
"grow": {
|
||||||
|
"event": "minecraft:enlargeable_grow",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"shrink": {
|
||||||
|
"event": "minecraft:enlargeable_shrink",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:burns_in_daylight": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.2
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
"avoid_water": true
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:can_climb": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:shooter": {
|
||||||
|
"type": "Arrow",
|
||||||
|
"def": "minecraft:arrow"
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/skeleton.json"
|
||||||
|
},
|
||||||
|
"minecraft:equipment": {
|
||||||
|
"table": "loot_tables/entities/skeleton_gear.json"
|
||||||
|
},
|
||||||
|
"minecraft:behavior.restrict_sun": {
|
||||||
|
"priority": 1
|
||||||
|
},
|
||||||
|
"minecraft:behavior.desire_position": {
|
||||||
|
"priority": 5
|
||||||
|
},
|
||||||
|
"minecraft:behavior.hurt_by_target": {
|
||||||
|
"priority": 0,
|
||||||
|
"entity_types": [{
|
||||||
|
"filters": {
|
||||||
|
"any_of": [{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "player"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "villager"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "zombie"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "creeper"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "witch"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "spider"
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.flee_sun": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1
|
||||||
|
},
|
||||||
|
"minecraft:behavior.nearest_attackable_target": {
|
||||||
|
"priority": 4,
|
||||||
|
"attack_interval": 3,
|
||||||
|
"within_radius": 25,
|
||||||
|
"entity_types": [
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"any_of": [
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "wild"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "wild"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "red"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "red"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "blue"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"max_dist": 40
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"must_see": false,
|
||||||
|
"must_see_forget_duration": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.ranged_attack": {
|
||||||
|
"priority": 3,
|
||||||
|
"attack_interval_min": 2,
|
||||||
|
"attack_interval_max": 4,
|
||||||
|
"min_dist": 1,
|
||||||
|
"max_dist": 30,
|
||||||
|
"attack_radius": 30
|
||||||
|
},
|
||||||
|
"minecraft:behavior.desire_direction": {
|
||||||
|
"priority": 6
|
||||||
|
},
|
||||||
|
"minecraft:behavior.panic": {
|
||||||
|
"priority": 7,
|
||||||
|
"speed_multiplier": 1
|
||||||
|
},
|
||||||
|
"minecraft:behavior.target_structures": {
|
||||||
|
"priority": 5,
|
||||||
|
"attack_interval": 1,
|
||||||
|
"within_radius": 10,
|
||||||
|
"structure_types": [{
|
||||||
|
"filters": [{
|
||||||
|
"any_of": [
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"any_of": [
|
||||||
|
{
|
||||||
|
"test": "is_structure_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "red"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_structure_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "wild"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "has_structure_tag",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "do_not_target",
|
||||||
|
"subject": "other"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "red"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"any_of": [
|
||||||
|
{
|
||||||
|
"test": "is_structure_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_structure_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "wild"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "has_structure_tag",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "do_not_target",
|
||||||
|
"subject": "other"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "wild"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"any_of": [
|
||||||
|
{
|
||||||
|
"test": "is_structure_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "red"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_structure_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "blue"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "has_structure_tag",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "do_not_target",
|
||||||
|
"subject": "other"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}]
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"badger:behavior.idle": {
|
||||||
|
"priority": 1000,
|
||||||
|
"probability": 0.99,
|
||||||
|
"max_dist": 10,
|
||||||
|
"speed_multiplier": 0.8
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,288 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:slime_large": {
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 1.00,
|
||||||
|
"height": 1.00
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 16,
|
||||||
|
"max": 16
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.6
|
||||||
|
},
|
||||||
|
"minecraft:attack": {
|
||||||
|
"damage": 4
|
||||||
|
},
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"seat_count": 1,
|
||||||
|
"family_types": [
|
||||||
|
"zombie",
|
||||||
|
"Creeper",
|
||||||
|
"witch",
|
||||||
|
"skeleton"
|
||||||
|
],
|
||||||
|
"seats": {
|
||||||
|
"position": [ 0.0, 0.54, 0.0 ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:slime_medium": {
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.5,
|
||||||
|
"height": 0.5
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 4,
|
||||||
|
"max": 4
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.4
|
||||||
|
},
|
||||||
|
"minecraft:attack": {
|
||||||
|
"damage": 2
|
||||||
|
},
|
||||||
|
"minecraft:structure_sensor": {
|
||||||
|
},
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"seat_count": 1,
|
||||||
|
"family_types": [
|
||||||
|
"creeper",
|
||||||
|
"witch"
|
||||||
|
],
|
||||||
|
"seats": {
|
||||||
|
"position": [ 0.0, 0.54, 0.0 ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:slime_small": {
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.25,
|
||||||
|
"height": 0.25
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 1,
|
||||||
|
"max": 1
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.3
|
||||||
|
},
|
||||||
|
"minecraft:attack": {
|
||||||
|
"damage": 1
|
||||||
|
},
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/slime.json"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:slime_calm": {
|
||||||
|
"minecraft:movement.jump": {
|
||||||
|
"jump_delay": [ 0.5, 1.5 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:slime_aggressive": {
|
||||||
|
"minecraft:movement.jump": {
|
||||||
|
"jump_delay": [ 0.16, 0.5 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"check_for_buffs": {
|
||||||
|
"minecraft:structure_prox_trigger": {
|
||||||
|
"structure_filters": {
|
||||||
|
"all_of": [{
|
||||||
|
"test": "is_structure_same_team",
|
||||||
|
"subject": "other"
|
||||||
|
},{
|
||||||
|
"test": "is_structure_name",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "placeable_magmablood"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"opeartor": "and",
|
||||||
|
"filters": {
|
||||||
|
"all_of": [{
|
||||||
|
"test": "has_component",
|
||||||
|
"operator": "not",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "magmablood"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"event": "apply_magmablood"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"magmablood": {
|
||||||
|
"minecraft:behavior.spawn_block_on_death": {
|
||||||
|
"block_name": "flowing_lava",
|
||||||
|
"offset": [0.0, 0.0, 0.0],
|
||||||
|
"duration": 5.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:slime"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "slime", "monster" ]
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 10,
|
||||||
|
"suffocateTime": 1
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
"can_float": true,
|
||||||
|
"avoid_water": false
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
},
|
||||||
|
"minecraft:can_climb": {
|
||||||
|
},
|
||||||
|
"minecraft:movement.jump": {
|
||||||
|
"jump_delay": [ 0.5, 1.5 ]
|
||||||
|
},
|
||||||
|
"minecraft:on_target_acquired": {
|
||||||
|
"event": "minecraft:become_aggressive",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"minecraft:on_target_escape": {
|
||||||
|
"event": "minecraft:become_calm",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
"minecraft:behavior.desire_position": {
|
||||||
|
"priority": 7
|
||||||
|
},
|
||||||
|
"minecraft:behavior.slime_attack": {
|
||||||
|
"priority": 3
|
||||||
|
},
|
||||||
|
"minecraft:behavior.melee_attack": {
|
||||||
|
"priority": 4,
|
||||||
|
"target_dist": 1.0,
|
||||||
|
"track_target": true,
|
||||||
|
"reach_multiplier": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.slime_random_direction": {
|
||||||
|
"priority": 5
|
||||||
|
},
|
||||||
|
"minecraft:behavior.slime_keep_on_jumping": {
|
||||||
|
"priority": 6
|
||||||
|
},
|
||||||
|
"minecraft:behavior.nearest_attackable_target": {
|
||||||
|
"priority": 2,
|
||||||
|
"entity_types": [
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"any_of": [
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "wild"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "wild"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "red"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "red"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "blue"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"max_dist": 20
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"must_see": true
|
||||||
|
},
|
||||||
|
"minecraft:behavior.desire_direction": {
|
||||||
|
"priority": 8
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:structure_sensor": {
|
||||||
|
"on_proximity": {
|
||||||
|
"event": "apply_buffs"
|
||||||
|
},
|
||||||
|
"on_leave": {
|
||||||
|
"event": "ignore_buffs"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:slime_calm"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:become_calm": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:slime_calm"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:become_aggressive": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:slime_aggressive"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"apply_buffs": {
|
||||||
|
"add":{ "component_groups": [
|
||||||
|
"check_for_buffs"
|
||||||
|
]}
|
||||||
|
},
|
||||||
|
"ignore_buffs": {
|
||||||
|
"remove":{ "component_groups": [
|
||||||
|
"check_for_buffs"
|
||||||
|
]}
|
||||||
|
},
|
||||||
|
|
||||||
|
"apply_magmablood": {
|
||||||
|
"add": { "component_groups": [
|
||||||
|
"magmablood"
|
||||||
|
]}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,432 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"check_for_buffs": {
|
||||||
|
"minecraft:structure_prox_trigger": {
|
||||||
|
"structure_filters": {
|
||||||
|
"all_of": [{
|
||||||
|
"test": "is_structure_same_team",
|
||||||
|
"subject": "other"
|
||||||
|
},{
|
||||||
|
"test": "is_structure_name",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "placeable_magmablood"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"opeartor": "and",
|
||||||
|
"filters": {
|
||||||
|
"all_of": [{
|
||||||
|
"test": "has_component",
|
||||||
|
"operator": "not",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "magmablood"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"event": "apply_magmablood"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"magmablood": {
|
||||||
|
"minecraft:behavior.spawn_block_on_death": {
|
||||||
|
"block_name": "flowing_lava",
|
||||||
|
"offset": [0.0, 0.0, 0.0],
|
||||||
|
"duration": 5.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:stats_normal": {
|
||||||
|
"minecraft:scale": {
|
||||||
|
"value": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 16,
|
||||||
|
"max": 16
|
||||||
|
},
|
||||||
|
"minecraft:attack": {
|
||||||
|
"damage": 3
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:stats_giant": {
|
||||||
|
"minecraft:scale": {
|
||||||
|
"value": 4.0
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 48,
|
||||||
|
"max": 48
|
||||||
|
},
|
||||||
|
"minecraft:attack": {
|
||||||
|
"damage": 9
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:spider"
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": ["spider",
|
||||||
|
"monster",
|
||||||
|
"arthropod"]
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 0,
|
||||||
|
"suffocateTime": 0
|
||||||
|
},
|
||||||
|
"minecraft:enlargeable": {
|
||||||
|
"grow": {
|
||||||
|
"event": "minecraft:enlargeable_grow",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"shrink": {
|
||||||
|
"event": "minecraft:enlargeable_shrink",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 1.4,
|
||||||
|
"height": 0.9
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.27
|
||||||
|
},
|
||||||
|
"minecraft:navigation.climb": {
|
||||||
|
"can_float": true,
|
||||||
|
"avoid_water": true
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:can_climb": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/spider.json"
|
||||||
|
},
|
||||||
|
"minecraft:structure_sensor": {
|
||||||
|
},
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"seat_count": 1,
|
||||||
|
"family_types": [
|
||||||
|
"zombie",
|
||||||
|
"Creeper",
|
||||||
|
"witch",
|
||||||
|
"skeleton"
|
||||||
|
],
|
||||||
|
"seats": {
|
||||||
|
"position": [ 0.0, 0.54, 0.0 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.float": {
|
||||||
|
"priority": 0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.desire_position": {
|
||||||
|
"priority": 7
|
||||||
|
},
|
||||||
|
"minecraft:behavior.hurt_by_target": {
|
||||||
|
"priority": 1,
|
||||||
|
"entity_types": [{
|
||||||
|
"filters": {
|
||||||
|
"any_of": [{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "player"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "villager"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "player"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "skeleton"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "witch"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "zombie"
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.nearest_attackable_target": {
|
||||||
|
"priority": 1,
|
||||||
|
"within_radius": 20,
|
||||||
|
"entity_types": [
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"any_of": [
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "wild"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "wild"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "red"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "red"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "blue"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"max_dist": 20
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"must_see": true,
|
||||||
|
"must_see_forget_duration": 0.0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.leap_at_target": {
|
||||||
|
"priority": 2,
|
||||||
|
"yd": 0.4,
|
||||||
|
"must_be_on_ground": false
|
||||||
|
},
|
||||||
|
"minecraft:behavior.melee_attack": {
|
||||||
|
"priority": 3,
|
||||||
|
"speed_multiplier": 1.0,
|
||||||
|
"track_target": true,
|
||||||
|
"random_stop_interval": 100,
|
||||||
|
"reach_multiplier": 1.4
|
||||||
|
},
|
||||||
|
"minecraft:behavior.panic": {
|
||||||
|
"priority": 5,
|
||||||
|
"speed_multiplier": 1
|
||||||
|
},
|
||||||
|
"minecraft:behavior.desire_direction": {
|
||||||
|
"priority": 8
|
||||||
|
},
|
||||||
|
"minecraft:behavior.target_structures": {
|
||||||
|
"priority": 6,
|
||||||
|
"within_radius": 10,
|
||||||
|
"structure_types": [{
|
||||||
|
"filters": [{
|
||||||
|
"any_of": [
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "has_structure_tag",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "do_not_target",
|
||||||
|
"subject": "other"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "has_structure_tag",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "do_not_target_wall",
|
||||||
|
"subject": "other"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"any_of": [
|
||||||
|
{
|
||||||
|
"test": "is_structure_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "red"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_structure_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "wild"
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "has_structure_tag",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "do_not_target",
|
||||||
|
"subject": "other"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "has_structure_tag",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "do_not_target_wall",
|
||||||
|
"subject": "other"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "red"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"any_of": [
|
||||||
|
{
|
||||||
|
"test": "is_structure_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_structure_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "wild"
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "has_structure_tag",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "do_not_target",
|
||||||
|
"subject": "other"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "has_structure_tag",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "do_not_target_wall",
|
||||||
|
"subject": "other"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "wild"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"any_of": [
|
||||||
|
{
|
||||||
|
"test": "is_structure_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "red"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_structure_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "blue"
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}]
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"badger:behavior.idle": {
|
||||||
|
"priority": 1000,
|
||||||
|
"probability": 0.99,
|
||||||
|
"speed_multiplier": 0.8,
|
||||||
|
"max_dist": 10
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:structure_sensor": {
|
||||||
|
"on_proximity": {
|
||||||
|
"event": "apply_buffs"
|
||||||
|
},
|
||||||
|
"on_leave": {
|
||||||
|
"event": "ignore_buffs"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"apply_buffs": {
|
||||||
|
"add":{ "component_groups": [
|
||||||
|
"check_for_buffs"
|
||||||
|
]}
|
||||||
|
},
|
||||||
|
"ignore_buffs": {
|
||||||
|
"remove":{ "component_groups": [
|
||||||
|
"check_for_buffs"
|
||||||
|
]}
|
||||||
|
},
|
||||||
|
|
||||||
|
"apply_magmablood": {
|
||||||
|
"add": { "component_groups": [
|
||||||
|
"magmablood"
|
||||||
|
]}
|
||||||
|
},
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:stats_normal"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:enlargeable_grow": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:stats_normal"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:stats_giant"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:enlargeable_shrink": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:stats_giant"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:stats_normal"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,67 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:exploding": {
|
||||||
|
"minecraft:explode": {
|
||||||
|
"fuseLength": 0,
|
||||||
|
"fuseLit": true,
|
||||||
|
"power": 6,
|
||||||
|
"depthLimit": -2,
|
||||||
|
"causesFire": true,
|
||||||
|
"fireAffectedByGriefing": true,
|
||||||
|
"destroyAffectedByGriefing": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:trebuchet_projectile"
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 3.0,
|
||||||
|
"height": 3.0
|
||||||
|
},
|
||||||
|
"minecraft:projectile": {
|
||||||
|
"onHit": {
|
||||||
|
"impact_damage": {
|
||||||
|
"damage": [ 200, 200 ],
|
||||||
|
"knockback": true,
|
||||||
|
"semirandomdiffdamage": false,
|
||||||
|
"destroyonhit": true
|
||||||
|
},
|
||||||
|
"definition_event": {
|
||||||
|
"affectProjectile": true,
|
||||||
|
"eventTrigger": {
|
||||||
|
"event": "minecraft:explode",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"power": 2.5,
|
||||||
|
"gravity": 0.0625,
|
||||||
|
"inertia": 1,
|
||||||
|
"uncertaintyBase": 5,
|
||||||
|
"uncertaintyMultiplier": 0,
|
||||||
|
"anchor": 0,
|
||||||
|
"offset": [ 0, -0.1, 0 ],
|
||||||
|
"reflectOnHurt": true,
|
||||||
|
"catchFire": false,
|
||||||
|
"shoottarget": false
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"events": {
|
||||||
|
"minecraft:explode": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:exploding"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,363 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups" : {
|
||||||
|
"check_for_buffs": {
|
||||||
|
"minecraft:structure_prox_trigger": {
|
||||||
|
"structure_filters": {
|
||||||
|
"all_of": [{
|
||||||
|
"test": "is_structure_same_team",
|
||||||
|
"subject": "other"
|
||||||
|
},{
|
||||||
|
"test": "is_structure_name",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "placeable_magmablood"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"opeartor": "and",
|
||||||
|
"filters": {
|
||||||
|
"all_of": [{
|
||||||
|
"test": "has_component",
|
||||||
|
"operator": "not",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "magmablood"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"event": "apply_magmablood"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"magmablood": {
|
||||||
|
"minecraft:behavior.spawn_block_on_death": {
|
||||||
|
"block_name": "flowing_lava",
|
||||||
|
"offset": [0.0, 0.0, 0.0],
|
||||||
|
"duration": 5.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:horny_for_spiders": {
|
||||||
|
"minecraft:behavior.combine_with_target": {
|
||||||
|
"priority": 5,
|
||||||
|
"structure_types": [{
|
||||||
|
"filters": { "test": "is_structure_name", "value": "placeable_mob_combiner" }
|
||||||
|
}],
|
||||||
|
"entity_types": [{
|
||||||
|
"filters": { "all_of": [
|
||||||
|
{"any_of":[
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "wolf"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "blue"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "blue"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "wolf"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "wild"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "wild"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "wolf"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "red"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "red"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "slime"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "blue"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "blue"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "slime"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "wild"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "wild"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "slime"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "red"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "red"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "spider"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "blue"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "blue"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "spider"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "wild"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "wild"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "spider"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "red"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "red"}
|
||||||
|
]}
|
||||||
|
]}
|
||||||
|
]}
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:stats_normal": {
|
||||||
|
"minecraft:scale": {
|
||||||
|
"value": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 24,
|
||||||
|
"max": 24
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:stats_giant": {
|
||||||
|
"minecraft:scale": {
|
||||||
|
"value": 4.0
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 72,
|
||||||
|
"max": 72
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"apply_buffs": {
|
||||||
|
"add":{ "component_groups": [
|
||||||
|
"check_for_buffs",
|
||||||
|
"minecraft:horny_for_spiders"
|
||||||
|
]}
|
||||||
|
},
|
||||||
|
"ignore_buffs": {
|
||||||
|
"remove":{ "component_groups": [
|
||||||
|
"check_for_buffs"
|
||||||
|
]}
|
||||||
|
},
|
||||||
|
|
||||||
|
"apply_magmablood": {
|
||||||
|
"add": { "component_groups": [
|
||||||
|
"magmablood"
|
||||||
|
]}
|
||||||
|
},
|
||||||
|
"minecraft:get_horny": {
|
||||||
|
"add": { "component_groups": [
|
||||||
|
"minecraft:horny_for_spiders"
|
||||||
|
]}
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:turn_off": {
|
||||||
|
"remove": { "component_groups": [
|
||||||
|
"minecraft:horny_for_spiders"
|
||||||
|
]}
|
||||||
|
},
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:stats_normal"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:enlargeable_grow": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:stats_normal"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:stats_giant"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:enlargeable_shrink": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:stats_giant"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:stats_normal"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:witch"
|
||||||
|
},
|
||||||
|
"minecraft:structure_sensor": {
|
||||||
|
"on_proximity": {
|
||||||
|
"event": "apply_buffs"
|
||||||
|
},
|
||||||
|
"on_leave": {
|
||||||
|
"event": "ignore_buffs"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 0,
|
||||||
|
"suffocateTime": 0
|
||||||
|
},
|
||||||
|
"minecraft:enlargeable": {
|
||||||
|
"grow": {
|
||||||
|
"event": "minecraft:enlargeable_grow",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"shrink": {
|
||||||
|
"event": "minecraft:enlargeable_shrink",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:hurt_when_wet": {
|
||||||
|
"value": true
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.2
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
"can_float": true,
|
||||||
|
"avoid_water": true
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:can_climb": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/witch.json"
|
||||||
|
},
|
||||||
|
"minecraft:behavior.float": {
|
||||||
|
"priority": 0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.desire_position": {
|
||||||
|
"priority": 6
|
||||||
|
},
|
||||||
|
"minecraft:behavior.hurt_by_target": {
|
||||||
|
"priority": 1,
|
||||||
|
"entity_types": [{
|
||||||
|
"filters": {
|
||||||
|
"any_of": [{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "player"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "villager"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "zombie"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "skeleton"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "spider"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "creeper"
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.ranged_attack": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.0,
|
||||||
|
"attack_interval_min": 1,
|
||||||
|
"attack_interval_max": 3,
|
||||||
|
"attack_radius": 10.0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.nearest_attackable_target": {
|
||||||
|
"priority": 3,
|
||||||
|
"attack_interval": 3,
|
||||||
|
"within_radius": 20,
|
||||||
|
"entity_types": [
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"any_of": [
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "wild"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "wild"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "red"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "red"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "blue"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"max_dist": 20
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"must_reach": false,
|
||||||
|
"must_see_forget_duration": 3.0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.desire_direction": {
|
||||||
|
"priority": 7
|
||||||
|
},
|
||||||
|
"minecraft:behavior.panic": {
|
||||||
|
"priority": 5,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": ["witch",
|
||||||
|
"monster"]
|
||||||
|
},
|
||||||
|
"badger:behavior.idle": {
|
||||||
|
"priority": 1000,
|
||||||
|
"probability": 0.99,
|
||||||
|
"max_dist": 10,
|
||||||
|
"speed_multiplier": 0.8
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,503 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"check_for_buffs": {
|
||||||
|
"minecraft:structure_prox_trigger": {
|
||||||
|
"structure_filters": {
|
||||||
|
"all_of": [{
|
||||||
|
"test": "is_structure_same_team",
|
||||||
|
"subject": "other"
|
||||||
|
},{
|
||||||
|
"test": "is_structure_name",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "placeable_magmablood"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"opeartor": "and",
|
||||||
|
"filters": {
|
||||||
|
"all_of": [{
|
||||||
|
"test": "has_component",
|
||||||
|
"operator": "not",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "magmablood"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"event": "apply_magmablood"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"magmablood": {
|
||||||
|
"minecraft:behavior.spawn_block_on_death": {
|
||||||
|
"block_name": "flowing_lava",
|
||||||
|
"offset": [0.0, 0.0, 0.0],
|
||||||
|
"duration": 5.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:stats_normal": {
|
||||||
|
"minecraft:scale": {
|
||||||
|
"value": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 12,
|
||||||
|
"max": 12
|
||||||
|
},
|
||||||
|
"minecraft:attack": {
|
||||||
|
"damage": 3
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:stats_giant": {
|
||||||
|
"minecraft:scale": {
|
||||||
|
"value": 4.0
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 36,
|
||||||
|
"max": 36
|
||||||
|
},
|
||||||
|
"minecraft:attack": {
|
||||||
|
"damage": 9
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:wolf"
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": ["wolf"]
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 10,
|
||||||
|
"suffocateTime": 3
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.6,
|
||||||
|
"height": 0.8
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.35
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
"can_float": true,
|
||||||
|
"avoid_damage_blocks": true,
|
||||||
|
"avoid_water": false
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:can_climb": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:healable": {
|
||||||
|
"items": [{
|
||||||
|
"item": "porkchop",
|
||||||
|
"heal_amount": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "cooked_porkchop",
|
||||||
|
"heal_amount": 8
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "fish",
|
||||||
|
"heal_amount": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "salmon",
|
||||||
|
"heal_amount": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "clownfish",
|
||||||
|
"heal_amount": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "pufferfish",
|
||||||
|
"heal_amount": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "cooked_fish",
|
||||||
|
"heal_amount": 5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "cooked_salmon",
|
||||||
|
"heal_amount": 6
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "beef",
|
||||||
|
"heal_amount": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "cooked_beef",
|
||||||
|
"heal_amount": 8
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "chicken",
|
||||||
|
"heal_amount": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "cooked_chicken",
|
||||||
|
"heal_amount": 6
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "muttonRaw",
|
||||||
|
"heal_amount": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "muttonCooked",
|
||||||
|
"heal_amount": 6
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "rotten_flesh",
|
||||||
|
"heal_amount": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "rabbit",
|
||||||
|
"heal_amount": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "cooked_rabbit",
|
||||||
|
"heal_amount": 5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "rabbit_stew",
|
||||||
|
"heal_amount": 10
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/wolf.json"
|
||||||
|
},
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"seat_count": 1,
|
||||||
|
"family_types": [
|
||||||
|
"zombie",
|
||||||
|
"Creeper",
|
||||||
|
"witch",
|
||||||
|
"skeleton"
|
||||||
|
],
|
||||||
|
"seats": {
|
||||||
|
"position": [ 0.0, 0.54, 0.0 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:structure_sensor": {
|
||||||
|
},
|
||||||
|
"minecraft:enlargeable": {
|
||||||
|
"grow": {
|
||||||
|
"event": "minecraft:enlargeable_grow",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"shrink": {
|
||||||
|
"event": "minecraft:enlargeable_shrink",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.float": {
|
||||||
|
"priority": 0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.desire_position": {
|
||||||
|
"priority": 6
|
||||||
|
},
|
||||||
|
"minecraft:behavior.hurt_by_target": {
|
||||||
|
"priority": 1,
|
||||||
|
"entity_types": [{
|
||||||
|
"filters": {
|
||||||
|
"any_of": [{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "player"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "villager"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "spider"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "skeleton"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "zombie"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "witch"
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.nearest_attackable_target": {
|
||||||
|
"priority": 2,
|
||||||
|
"attack_interval": 3,
|
||||||
|
"within_radius": 20,
|
||||||
|
"entity_types": [
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"any_of": [
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "wild"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "wild"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "red"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "red"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "blue"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"max_dist": 25
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"must_see": false,
|
||||||
|
"must_see_forget_duration": 2.0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.melee_attack": {
|
||||||
|
"priority": 4,
|
||||||
|
"target_dist": 1.1,
|
||||||
|
"track_target": true,
|
||||||
|
"reach_multiplier": 2.0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.target_structures": {
|
||||||
|
"priority": 3,
|
||||||
|
"within_radius": 10,
|
||||||
|
"structure_types": [{
|
||||||
|
"filters": [{
|
||||||
|
"any_of": [
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"any_of": [
|
||||||
|
{
|
||||||
|
"test": "is_structure_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "red"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_structure_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "wild"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "has_structure_tag",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "do_not_target",
|
||||||
|
"subject": "other"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "has_structure_tag",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "do_not_target_wall",
|
||||||
|
"subject": "other"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "red"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"any_of": [
|
||||||
|
{
|
||||||
|
"test": "is_structure_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_structure_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "wild"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "has_structure_tag",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "do_not_target",
|
||||||
|
"subject": "other"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "has_structure_tag",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "do_not_target_wall",
|
||||||
|
"subject": "other"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "wild"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"any_of": [
|
||||||
|
{
|
||||||
|
"test": "is_structure_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "red"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_structure_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "blue"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "has_structure_tag",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "do_not_target",
|
||||||
|
"subject": "other"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "has_structure_tag",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "do_not_target_wall",
|
||||||
|
"subject": "other"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}]
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.leap_at_target": {
|
||||||
|
"priority": 4,
|
||||||
|
"target_dist": 0.4
|
||||||
|
},
|
||||||
|
"minecraft:behavior.panic": {
|
||||||
|
"priority": 5,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.desire_direction": {
|
||||||
|
"priority": 7
|
||||||
|
},
|
||||||
|
"badger:behavior.idle": {
|
||||||
|
"priority": 1000,
|
||||||
|
"probability": 0.99,
|
||||||
|
"max_dist": 10,
|
||||||
|
"speed_multiplier": 0.8
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:structure_sensor": {
|
||||||
|
"on_proximity": {
|
||||||
|
"event": "apply_buffs"
|
||||||
|
},
|
||||||
|
"on_leave": {
|
||||||
|
"event": "ignore_buffs"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"apply_buffs": {
|
||||||
|
"add":{ "component_groups": [
|
||||||
|
"check_for_buffs"
|
||||||
|
]}
|
||||||
|
},
|
||||||
|
"ignore_buffs": {
|
||||||
|
"remove":{ "component_groups": [
|
||||||
|
"check_for_buffs"
|
||||||
|
]}
|
||||||
|
},
|
||||||
|
"apply_magmablood": {
|
||||||
|
"add": { "component_groups": [
|
||||||
|
"magmablood"
|
||||||
|
]}
|
||||||
|
},
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:stats_normal"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:enlargeable_grow": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:stats_normal"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:stats_giant"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:enlargeable_shrink": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:stats_giant"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:stats_normal"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,455 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups" : {
|
||||||
|
"minecraft:horny_for_spiders": {
|
||||||
|
"minecraft:behavior.combine_with_target": {
|
||||||
|
"priority": 5,
|
||||||
|
"structure_types": [{
|
||||||
|
"filters": { "test": "is_structure_name", "value": "placeable_mob_combiner" }
|
||||||
|
}],
|
||||||
|
"entity_types": [{
|
||||||
|
"filters": { "all_of": [
|
||||||
|
{"any_of":[
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "wolf"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "blue"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "blue"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "wolf"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "wild"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "wild"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "wolf"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "red"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "red"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "slime"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "blue"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "blue"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "slime"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "wild"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "wild"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "slime"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "red"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "red"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "spider"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "blue"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "blue"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "spider"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "wild"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "wild"}
|
||||||
|
]},
|
||||||
|
{"all_of":[
|
||||||
|
{"test": "is_family", "subject": "other", "value": "spider"},
|
||||||
|
{"test": "is_on_team", "subject": "self", "value": "red"},
|
||||||
|
{"test": "is_on_team", "subject": "other", "value": "red"}
|
||||||
|
]}
|
||||||
|
]}
|
||||||
|
]}
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"check_for_buffs": {
|
||||||
|
"minecraft:structure_prox_trigger": {
|
||||||
|
"structure_filters": {
|
||||||
|
"all_of": [{
|
||||||
|
"test": "is_structure_same_team",
|
||||||
|
"subject": "other"
|
||||||
|
},{
|
||||||
|
"test": "is_structure_name",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "placeable_magmablood"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"opeartor": "and",
|
||||||
|
"filters": {
|
||||||
|
"all_of": [{
|
||||||
|
"test": "has_component",
|
||||||
|
"operator": "not",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "magmablood"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"event": "apply_magmablood"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"magmablood": {
|
||||||
|
"minecraft:behavior.spawn_block_on_death": {
|
||||||
|
"block_name": "flowing_lava",
|
||||||
|
"offset": [0.0, 0.0, 0.0],
|
||||||
|
"duration": 5.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:stats_normal": {
|
||||||
|
"minecraft:scale": {
|
||||||
|
"value": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 40,
|
||||||
|
"max": 40
|
||||||
|
},
|
||||||
|
"minecraft:attack": {
|
||||||
|
"damage": 2
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:stats_giant": {
|
||||||
|
"minecraft:scale": {
|
||||||
|
"value": 4.0
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 60,
|
||||||
|
"max": 60
|
||||||
|
},
|
||||||
|
"minecraft:attack": {
|
||||||
|
"damage": 6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
|
||||||
|
"apply_buffs": {
|
||||||
|
"add":{ "component_groups": [
|
||||||
|
"check_for_buffs",
|
||||||
|
"minecraft:horny_for_spiders"
|
||||||
|
]}
|
||||||
|
},
|
||||||
|
"ignore_buffs": {
|
||||||
|
"remove":{ "component_groups": [
|
||||||
|
"check_for_buffs"
|
||||||
|
]}
|
||||||
|
},
|
||||||
|
|
||||||
|
"apply_magmablood": {
|
||||||
|
"add": { "component_groups": [
|
||||||
|
"magmablood"
|
||||||
|
]}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:get_horny": {
|
||||||
|
"add": { "component_groups": [
|
||||||
|
"minecraft:horny_for_spiders"
|
||||||
|
]}
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:turn_off": {
|
||||||
|
"remove": { "component_groups": [
|
||||||
|
"minecraft:horny_for_spiders"
|
||||||
|
]}
|
||||||
|
},
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:stats_normal"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:enlargeable_grow": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:stats_normal"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:stats_giant"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:enlargeable_shrink": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:stats_giant"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:stats_normal"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:zombie"
|
||||||
|
},
|
||||||
|
"minecraft:structure_sensor": {
|
||||||
|
"on_proximity": {
|
||||||
|
"event": "apply_buffs"
|
||||||
|
},
|
||||||
|
"on_leave": {
|
||||||
|
"event": "ignore_buffs"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": ["zombie",
|
||||||
|
"undead",
|
||||||
|
"monster"]
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.6,
|
||||||
|
"height": 1.8
|
||||||
|
},
|
||||||
|
"minecraft:burns_in_daylight": {
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
"avoid_water": false
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.18
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:can_climb": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 10,
|
||||||
|
"suffocateTime": 3
|
||||||
|
},
|
||||||
|
"minecraft:enlargeable": {
|
||||||
|
"grow": {
|
||||||
|
"event": "minecraft:enlargeable_grow",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"shrink": {
|
||||||
|
"event": "minecraft:enlargeable_shrink",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/zombie.json"
|
||||||
|
},
|
||||||
|
"minecraft:behavior.desire_position": {
|
||||||
|
"priority": 6
|
||||||
|
},
|
||||||
|
"minecraft:behavior.hurt_by_target": {
|
||||||
|
"priority": 1,
|
||||||
|
"entity_types": [{
|
||||||
|
"filters": {
|
||||||
|
"any_of": [{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "player"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "villager"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "spider"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "wolf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "skeleton"
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.nearest_attackable_target": {
|
||||||
|
"priority": 3,
|
||||||
|
"within_radius": 20,
|
||||||
|
"entity_types": [
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"any_of": [
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "wild"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "wild"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "red"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "red"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "blue"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"max_dist": 20
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"must_see": false,
|
||||||
|
"must_see_forget_duration": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.melee_attack": {
|
||||||
|
"priority": 4,
|
||||||
|
"speed_multiplier": 1,
|
||||||
|
"track_target": false
|
||||||
|
},
|
||||||
|
"minecraft:behavior.desire_direction": {
|
||||||
|
"priority": 7
|
||||||
|
},
|
||||||
|
"minecraft:behavior.target_structures": {
|
||||||
|
"priority": 5,
|
||||||
|
"within_radius": 10,
|
||||||
|
"structure_types": [{
|
||||||
|
"filters": [{
|
||||||
|
"any_of": [
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"any_of": [
|
||||||
|
{
|
||||||
|
"test": "is_structure_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "red"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_structure_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "wild"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "has_structure_tag",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "do_not_target",
|
||||||
|
"subject": "other"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "red"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"any_of": [
|
||||||
|
{
|
||||||
|
"test": "is_structure_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_structure_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "wild"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "has_structure_tag",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "do_not_target",
|
||||||
|
"subject": "other"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_on_team",
|
||||||
|
"subject": "self",
|
||||||
|
"value": "wild"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"any_of": [
|
||||||
|
{
|
||||||
|
"test": "is_structure_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "red"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_structure_on_team",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "blue"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "has_structure_tag",
|
||||||
|
"operator": "not",
|
||||||
|
"value": "do_not_target",
|
||||||
|
"subject": "other"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}]
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"badger:behavior.idle": {
|
||||||
|
"priority": 1000,
|
||||||
|
"probability": 0.99,
|
||||||
|
"max_dist": 10,
|
||||||
|
"speed_multiplier": 0.8
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,507 @@
|
|||||||
|
{
|
||||||
|
"items": {
|
||||||
|
"structure_builder" : {
|
||||||
|
"stacked_by_data": true
|
||||||
|
},
|
||||||
|
"apple": {
|
||||||
|
"use_duration": 32,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 4,
|
||||||
|
"saturation_modifier": "low",
|
||||||
|
"is_meat": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"golden_apple": {
|
||||||
|
"stack_by_data": true,
|
||||||
|
"use_duration": 32,
|
||||||
|
"foil": false,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 4, //
|
||||||
|
"saturation_modifier": "supernatural",
|
||||||
|
"is_meat": false, //
|
||||||
|
"effects": [
|
||||||
|
{
|
||||||
|
"name": "regeneration",
|
||||||
|
"chance": 1.0,
|
||||||
|
"duration": 5,
|
||||||
|
"amplifier": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "absorption",
|
||||||
|
"chance": 1.0,
|
||||||
|
"duration": 120, // 2 * 60
|
||||||
|
"amplifier": 0
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"enchanted_effects": [
|
||||||
|
{
|
||||||
|
"name": "regeneration",
|
||||||
|
"chance": 0.66,
|
||||||
|
"duration": 30,
|
||||||
|
"amplifier": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "absorption",
|
||||||
|
"chance": 0.66,
|
||||||
|
"duration": 120, // 2 * 60
|
||||||
|
"amplifier": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "resistance", // damage resistance
|
||||||
|
"chance": 0.66,
|
||||||
|
"duration": 300,
|
||||||
|
"amplifier": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "fire_resistance",
|
||||||
|
"chance": 0.66,
|
||||||
|
"duration": 300,
|
||||||
|
"amplifier": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"appleEnchanted" : {
|
||||||
|
"hand_equipped": false,
|
||||||
|
"stack_by_data": true,
|
||||||
|
"use_duration": 32,
|
||||||
|
"foil": true,
|
||||||
|
"hover_text_color": "light_purple",
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 4,
|
||||||
|
"saturation_modifier": "supernatural",
|
||||||
|
"is_meat": false,
|
||||||
|
"effects": [
|
||||||
|
{
|
||||||
|
"name": "regeneration",
|
||||||
|
"chance": 1.0,
|
||||||
|
"duration": 30,
|
||||||
|
"amplifier": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "absorption",
|
||||||
|
"chance": 1.0,
|
||||||
|
"duration": 120, // 2 * 60
|
||||||
|
"amplifier": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "resistance", // damage resistance
|
||||||
|
"chance": 1.0,
|
||||||
|
"duration": 300,
|
||||||
|
"amplifier": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "fire_resistance",
|
||||||
|
"chance": 1.0,
|
||||||
|
"duration": 300,
|
||||||
|
"amplifier": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mushroom_stew": {
|
||||||
|
"use_duration": 32,
|
||||||
|
"max_stack_size": 1,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 6,
|
||||||
|
"saturation_modifier": "normal",
|
||||||
|
"is_meat": false,
|
||||||
|
"using_converts_to": "bowl"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"bread": {
|
||||||
|
"use_duration": 32,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 5,
|
||||||
|
"saturation_modifier": "normal",
|
||||||
|
"is_meat": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"porkchop": {
|
||||||
|
"use_duration": 32,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 3,
|
||||||
|
"saturation_modifier": "low",
|
||||||
|
"is_meat": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"cooked_porkchop": {
|
||||||
|
"use_duration": 32,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 8,
|
||||||
|
"saturation_modifier": "good",
|
||||||
|
"is_meat": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fish": {
|
||||||
|
"use_duration": 32,
|
||||||
|
"max_damage": 0,
|
||||||
|
"stacked_by_data": true,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 2,
|
||||||
|
"saturation_modifier": "poor",
|
||||||
|
"is_meat": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"salmon": {
|
||||||
|
"use_duration": 32,
|
||||||
|
"max_damage": 0,
|
||||||
|
"stacked_by_data": true,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 2,
|
||||||
|
"saturation_modifier": "poor",
|
||||||
|
"is_meat": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"clownfish": {
|
||||||
|
"use_duration": 32,
|
||||||
|
"max_damage": 0,
|
||||||
|
"stacked_by_data": true,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 1,
|
||||||
|
"saturation_modifier": "poor",
|
||||||
|
"is_meat": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"pufferfish": {
|
||||||
|
"use_duration": 32,
|
||||||
|
"max_damage": 0,
|
||||||
|
"stacked_by_data": true,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 1,
|
||||||
|
"saturation_modifier": "poor",
|
||||||
|
"is_meat": true,
|
||||||
|
"effects": [
|
||||||
|
{
|
||||||
|
"name": "poison",
|
||||||
|
"duration": 60,
|
||||||
|
"amplifier": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "nausea", // confusion
|
||||||
|
"duration": 15,
|
||||||
|
"amplifier": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "hunger",
|
||||||
|
"duration": 15,
|
||||||
|
"amplifier": 2
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"cooked_fish" : {
|
||||||
|
"use_duration": 32,
|
||||||
|
"max_damage": 0,
|
||||||
|
"stacked_by_data": true,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 5,
|
||||||
|
"saturation_modifier": "normal",
|
||||||
|
"eat_sound": "random.burp",
|
||||||
|
"is_meat": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"cooked_salmon" : {
|
||||||
|
"use_duration": 32,
|
||||||
|
"max_damage": 0,
|
||||||
|
"stacked_by_data": true,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 6,
|
||||||
|
"saturation_modifier": "good",
|
||||||
|
"is_meat": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"cookie" : {
|
||||||
|
"use_duration": 32,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 2,
|
||||||
|
"saturation_modifier": "poor",
|
||||||
|
"is_meat": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"melon" : {
|
||||||
|
"use_duration": 32,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 2,
|
||||||
|
"saturation_modifier": "low",
|
||||||
|
"is_meat": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"beef": {
|
||||||
|
"use_duration": 32,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 3,
|
||||||
|
"saturation_modifier": "low",
|
||||||
|
"is_meat": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"cooked_beef": {
|
||||||
|
"use_duration": 32,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 8,
|
||||||
|
"saturation_modifier": "good",
|
||||||
|
"is_meat": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"chicken" : {
|
||||||
|
"use_duration": 32,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 2,
|
||||||
|
"saturation_modifier": "low",
|
||||||
|
"is_meat": true,
|
||||||
|
"effects": [
|
||||||
|
{
|
||||||
|
"name": "hunger",
|
||||||
|
"chance": 0.3,
|
||||||
|
"duration": 30,
|
||||||
|
"amplifier": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"cooked_chicken" : {
|
||||||
|
"use_duration": 32,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 6,
|
||||||
|
"saturation_modifier": "normal",
|
||||||
|
"is_meat": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"muttonRaw" : {
|
||||||
|
"use_duration": 32,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 2,
|
||||||
|
"saturation_modifier": "low",
|
||||||
|
"is_meat": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"muttonCooked" : {
|
||||||
|
"use_duration": 32,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 6,
|
||||||
|
"saturation_modifier": "good",
|
||||||
|
"is_meat": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"rotten_flesh": {
|
||||||
|
"use_duration": 32,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 4,
|
||||||
|
"saturation_modifier": "poor",
|
||||||
|
"is_meat": true,
|
||||||
|
"effects": [
|
||||||
|
{
|
||||||
|
"name": "hunger",
|
||||||
|
"chance": 0.8,
|
||||||
|
"duration": 30,
|
||||||
|
"amplifier": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"spider_eye": {
|
||||||
|
"use_duration": 32,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 2,
|
||||||
|
"saturation_modifier": "good",
|
||||||
|
"is_meat": false,
|
||||||
|
"effects": [
|
||||||
|
{
|
||||||
|
"name": "poison",
|
||||||
|
"chance": 1.0,
|
||||||
|
"duration": 5,
|
||||||
|
"amplifier": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"carrot" : {
|
||||||
|
"use_duration": 32,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 3,
|
||||||
|
"saturation_modifier": "normal",
|
||||||
|
"is_meat": false
|
||||||
|
},
|
||||||
|
"seed": {
|
||||||
|
"crop_result": "carrots",
|
||||||
|
"plant_at": "farmland"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"potato" : {
|
||||||
|
"use_duration": 32,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 1,
|
||||||
|
"saturation_modifier": "low",
|
||||||
|
"is_meat": false
|
||||||
|
},
|
||||||
|
"seed": {
|
||||||
|
"crop_result": "potatoes",
|
||||||
|
"plant_at": "farmland"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"baked_potato" : {
|
||||||
|
"use_duration": 32,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 5,
|
||||||
|
"saturation_modifier": "normal",
|
||||||
|
"is_meat": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"poisonous_potato" : {
|
||||||
|
"use_duration": 32,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 2,
|
||||||
|
"saturation_modifier": "low",
|
||||||
|
"is_meat": false,
|
||||||
|
"effects": [
|
||||||
|
{
|
||||||
|
"name": "poison",
|
||||||
|
"chance": 0.6,
|
||||||
|
"duration": 5,
|
||||||
|
"amplifier": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"golden_carrot" : {
|
||||||
|
"use_duration": 32,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 6,
|
||||||
|
"saturation_modifier": "supernatural",
|
||||||
|
"is_meat": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"pumpkin_pie" : {
|
||||||
|
"use_duration": 32,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 8,
|
||||||
|
"saturation_modifier": "low",
|
||||||
|
"is_meat": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"rabbit" : {
|
||||||
|
"use_duration": 32,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 3,
|
||||||
|
"saturation_modifier": "low",
|
||||||
|
"is_meat": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"cooked_rabbit": {
|
||||||
|
"use_duration": 32,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 5,
|
||||||
|
"saturation_modifier": "normal",
|
||||||
|
"is_meat": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"rabbit_stew": {
|
||||||
|
"use_duration": 32,
|
||||||
|
"max_stack_size": 1,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 10,
|
||||||
|
"saturation_modifier": "normal",
|
||||||
|
"using_converts_to": "bowl",
|
||||||
|
"is_meat": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"beetroot" : {
|
||||||
|
"use_duration": 32,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 1,
|
||||||
|
"saturation_modifier": "normal",
|
||||||
|
"is_meat": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"beetroot_soup": {
|
||||||
|
"id": 203,
|
||||||
|
"use_duration": 32,
|
||||||
|
"max_stack_size": 1,
|
||||||
|
|
||||||
|
"food": {
|
||||||
|
"nutrition": 6,
|
||||||
|
"saturation_modifier": "normal",
|
||||||
|
"using_converts_to": "bowl",
|
||||||
|
"is_meat": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"wheat_seeds" : {
|
||||||
|
"seed": {
|
||||||
|
"crop_result": "wheat", // wheatCrops
|
||||||
|
"plant_at": "farmland"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"pumpkin_seeds": {
|
||||||
|
"seed": {
|
||||||
|
"crop_result": "pumpkin_stem",
|
||||||
|
"plant_at": "farmland"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"melon_seeds" : {
|
||||||
|
|
||||||
|
"seed": {
|
||||||
|
"crop_result": "melon_stem",
|
||||||
|
"plant_at": "farmland"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nether_wart" : {
|
||||||
|
|
||||||
|
"seed": {
|
||||||
|
"crop_result": "nether_wart",
|
||||||
|
"plant_at": "soul_sand"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"beetroot_seeds" : {
|
||||||
|
"seed": {
|
||||||
|
"crop_result": "beetroot",
|
||||||
|
"plant_at": "farmland"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"camera": {
|
||||||
|
"use_duration": 100000,
|
||||||
|
"block": "camera",
|
||||||
|
|
||||||
|
"camera": {
|
||||||
|
"black_bars_duration": 0.2,
|
||||||
|
"black_bars_screen_ratio": 0.08,
|
||||||
|
"shutter_duration": 0.2,
|
||||||
|
"picture_duration": 1.0,
|
||||||
|
"slide_away_duration": 0.2
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
{
|
||||||
|
"pools": [
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"condition": "random_chance",
|
||||||
|
"chance": 0.5
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:emerald",
|
||||||
|
"weight": 1,
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "set_count",
|
||||||
|
"count": {
|
||||||
|
"min": 1,
|
||||||
|
"max": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"condition": "random_chance",
|
||||||
|
"chance": 1.0
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:glowstone_dust",
|
||||||
|
"weight": 1,
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "set_count",
|
||||||
|
"count": {
|
||||||
|
"min": 1,
|
||||||
|
"max": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
"pools": [
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"condition": "random_chance",
|
||||||
|
"chance": 0.5
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:red_flower",
|
||||||
|
"weight": 1,
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "set_count",
|
||||||
|
"count": {
|
||||||
|
"min": 1,
|
||||||
|
"max": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
{
|
||||||
|
"pools": [
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"condition": "random_chance",
|
||||||
|
"chance": 0.5
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:emerald",
|
||||||
|
"weight": 1,
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "set_count",
|
||||||
|
"count": {
|
||||||
|
"min": 1,
|
||||||
|
"max": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"condition": "random_chance",
|
||||||
|
"chance": 1.0
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:glowstone_dust",
|
||||||
|
"weight": 1,
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "set_count",
|
||||||
|
"count": {
|
||||||
|
"min": 1,
|
||||||
|
"max": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,50 @@
|
|||||||
|
{
|
||||||
|
"pools": [
|
||||||
|
{
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:bow",
|
||||||
|
"weight": 1,
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "set_count",
|
||||||
|
"count": {
|
||||||
|
"min": 0,
|
||||||
|
"max": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"function": "enchant_random_gear",
|
||||||
|
"chance": 0.1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:leather_helmet",
|
||||||
|
"weight": 1,
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "set_count",
|
||||||
|
"count": {
|
||||||
|
"min": 0,
|
||||||
|
"max": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"function": "enchant_random_gear",
|
||||||
|
"chance": 0.1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
{
|
||||||
|
"pools": [
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"condition": "random_chance",
|
||||||
|
"chance": 0.5
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:emerald",
|
||||||
|
"weight": 1,
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "set_count",
|
||||||
|
"count": {
|
||||||
|
"min": 1,
|
||||||
|
"max": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"condition": "random_chance",
|
||||||
|
"chance": 1.0
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:glowstone_dust",
|
||||||
|
"weight": 1,
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "set_count",
|
||||||
|
"count": {
|
||||||
|
"min": 1,
|
||||||
|
"max": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
{
|
||||||
|
"pools": [
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"condition": "random_chance",
|
||||||
|
"chance": 0.5
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:emerald",
|
||||||
|
"weight": 1,
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "set_count",
|
||||||
|
"count": {
|
||||||
|
"min": 1,
|
||||||
|
"max": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"condition": "random_chance",
|
||||||
|
"chance": 1.0
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:glowstone_dust",
|
||||||
|
"weight": 1,
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "set_count",
|
||||||
|
"count": {
|
||||||
|
"min": 1,
|
||||||
|
"max": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
{
|
||||||
|
"pools": [
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"condition": "random_chance",
|
||||||
|
"chance": 0.5
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:emerald",
|
||||||
|
"weight": 1,
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "set_count",
|
||||||
|
"count": {
|
||||||
|
"min": 1,
|
||||||
|
"max": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"condition": "random_chance",
|
||||||
|
"chance": 1.0
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:glowstone_dust",
|
||||||
|
"weight": 1,
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "set_count",
|
||||||
|
"count": {
|
||||||
|
"min": 1,
|
||||||
|
"max": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
{
|
||||||
|
"pools": [
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"condition": "random_chance",
|
||||||
|
"chance": 0.5
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:emerald",
|
||||||
|
"weight": 1,
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "set_count",
|
||||||
|
"count": {
|
||||||
|
"min": 1,
|
||||||
|
"max": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"condition": "random_chance",
|
||||||
|
"chance": 1.0
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:glowstone_dust",
|
||||||
|
"weight": 1,
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "set_count",
|
||||||
|
"count": {
|
||||||
|
"min": 1,
|
||||||
|
"max": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
{
|
||||||
|
"pools": [
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"condition": "random_chance",
|
||||||
|
"chance": 0.5
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:emerald",
|
||||||
|
"weight": 1,
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "set_count",
|
||||||
|
"count": {
|
||||||
|
"min": 1,
|
||||||
|
"max": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"condition": "random_chance",
|
||||||
|
"chance": 1.0
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:glowstone_dust",
|
||||||
|
"weight": 1,
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "set_count",
|
||||||
|
"count": {
|
||||||
|
"min": 1,
|
||||||
|
"max": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
+34
@@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
"pools": [
|
||||||
|
{
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:leather_helmet",
|
||||||
|
"weight": 1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:leather_chestplate",
|
||||||
|
"weight": 1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:bow",
|
||||||
|
"weight": 1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
"pools": [
|
||||||
|
{
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:leather_helmet",
|
||||||
|
"weight": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:iron_helmet",
|
||||||
|
"weight": 1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:leather_chestplate",
|
||||||
|
"weight": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:iron_chestplate",
|
||||||
|
"weight": 1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
+19
@@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"pools": [
|
||||||
|
{
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:leather_chestplate",
|
||||||
|
"weight": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:iron_chestplate",
|
||||||
|
"weight": 1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
+14
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"pools": [
|
||||||
|
{
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:bow",
|
||||||
|
"weight": 1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
+50
@@ -0,0 +1,50 @@
|
|||||||
|
{
|
||||||
|
"pools": [
|
||||||
|
{
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:bow",
|
||||||
|
"weight": 1,
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "set_count",
|
||||||
|
"count": {
|
||||||
|
"min": 0,
|
||||||
|
"max": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"function": "enchant_random_gear",
|
||||||
|
"chance": 0.1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:leather_helmet",
|
||||||
|
"weight": 1,
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "set_count",
|
||||||
|
"count": {
|
||||||
|
"min": 0,
|
||||||
|
"max": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"function": "enchant_random_gear",
|
||||||
|
"chance": 0.1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
+44
@@ -0,0 +1,44 @@
|
|||||||
|
{
|
||||||
|
"pools": [
|
||||||
|
{
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:iron_boots",
|
||||||
|
"weight": 1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:iron_chestplate",
|
||||||
|
"weight": 1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:iron_leggings",
|
||||||
|
"weight": 1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:iron_sword",
|
||||||
|
"weight": 1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
+24
@@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
"pools": [
|
||||||
|
{
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:golden_helmet",
|
||||||
|
"weight": 1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:golden_boots",
|
||||||
|
"weight": 1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
+14
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"pools": [
|
||||||
|
{
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:glass_bottle",
|
||||||
|
"weight": 1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
+14
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"pools": [
|
||||||
|
{
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:iron_shovel",
|
||||||
|
"weight": 1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
+14
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"pools": [
|
||||||
|
{
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "item",
|
||||||
|
"name": "minecraft:leather_chestplate",
|
||||||
|
"weight": 1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"format_version": 1,
|
||||||
|
"header": {
|
||||||
|
"description": "Badger Behaviour Pack Description",
|
||||||
|
"name": "Badger Behaviour Pack",
|
||||||
|
"uuid": "12345678-0ad6-11e8-ba89-0ed5f89f718b",
|
||||||
|
"version": [0, 0, 1]
|
||||||
|
},
|
||||||
|
"modules": [
|
||||||
|
{
|
||||||
|
"description": "Badger Behaviour Description",
|
||||||
|
"type": "data",
|
||||||
|
"uuid": "79bff1c8-0ad6-11e8-ba89-0ed5f89f718b",
|
||||||
|
"version": [0, 0, 1]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,42 @@
|
|||||||
|
{
|
||||||
|
"tiers": [
|
||||||
|
{
|
||||||
|
"trades": [
|
||||||
|
{
|
||||||
|
"reward_exp": false,
|
||||||
|
"wants": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:glowstone_dust",
|
||||||
|
"quantity": {
|
||||||
|
"min": 8,
|
||||||
|
"max": 8
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"gives": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:structure_builder:35"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"reward_exp": false,
|
||||||
|
"wants": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:glowstone_dust",
|
||||||
|
"quantity": {
|
||||||
|
"min": 8,
|
||||||
|
"max": 8
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"gives": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:structure_builder:38"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,144 @@
|
|||||||
|
{
|
||||||
|
"tiers": [
|
||||||
|
{
|
||||||
|
"trades": [
|
||||||
|
{
|
||||||
|
"reward_exp": false,
|
||||||
|
"wants": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:glowstone_dust",
|
||||||
|
"quantity": {
|
||||||
|
"min": 12,
|
||||||
|
"max": 12
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"gives": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:structure_builder:40"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"reward_exp": false,
|
||||||
|
"wants": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:glowstone_dust",
|
||||||
|
"quantity": {
|
||||||
|
"min": 16,
|
||||||
|
"max": 16
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"gives": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:structure_builder:42"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"reward_exp": false,
|
||||||
|
"wants": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:glowstone_dust",
|
||||||
|
"quantity": {
|
||||||
|
"min": 8,
|
||||||
|
"max": 8
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"gives": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:structure_builder:35"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"reward_exp": false,
|
||||||
|
"wants": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:glowstone_dust",
|
||||||
|
"quantity": {
|
||||||
|
"min": 8,
|
||||||
|
"max": 8
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"gives": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:structure_builder:38"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"reward_exp": false,
|
||||||
|
"wants": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:glowstone_dust",
|
||||||
|
"quantity": {
|
||||||
|
"min": 12,
|
||||||
|
"max": 12
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"gives": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:tnt"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"reward_exp": false,
|
||||||
|
"wants": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:glowstone_dust",
|
||||||
|
"quantity": {
|
||||||
|
"min": 64,
|
||||||
|
"max": 64
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"gives": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:structure_builder:12"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"reward_exp": false,
|
||||||
|
"wants": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:glowstone_dust",
|
||||||
|
"quantity": {
|
||||||
|
"min": 8,
|
||||||
|
"max": 8
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"gives": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:structure_builder:41"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"reward_exp": false,
|
||||||
|
"wants": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:glowstone_dust",
|
||||||
|
"quantity": {
|
||||||
|
"min": 8,
|
||||||
|
"max": 8
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"gives": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:structure_builder:44"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,209 @@
|
|||||||
|
{
|
||||||
|
"tiers": [
|
||||||
|
{
|
||||||
|
"trades": [
|
||||||
|
{
|
||||||
|
"reward_exp": false,
|
||||||
|
"wants": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:glowstone_dust",
|
||||||
|
"quantity": {
|
||||||
|
"min": 4,
|
||||||
|
"max": 4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"gives": [
|
||||||
|
{
|
||||||
|
"item": "splash_potion:16",
|
||||||
|
"quantity": {
|
||||||
|
"min": 5,
|
||||||
|
"max": 5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"wants": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:glowstone_dust",
|
||||||
|
"quantity": {
|
||||||
|
"min": 6,
|
||||||
|
"max": 6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"gives": [
|
||||||
|
{
|
||||||
|
"item": "splash_potion:17",
|
||||||
|
"quantity": {
|
||||||
|
"min": 5,
|
||||||
|
"max": 5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"wants": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:glowstone_dust",
|
||||||
|
"quantity": {
|
||||||
|
"min": 4,
|
||||||
|
"max": 4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"gives": [
|
||||||
|
{
|
||||||
|
"item": "splash_potion:30",
|
||||||
|
"quantity": {
|
||||||
|
"min": 5,
|
||||||
|
"max": 5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"wants": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:glowstone_dust",
|
||||||
|
"quantity": {
|
||||||
|
"min": 4,
|
||||||
|
"max": 4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"gives": [
|
||||||
|
{
|
||||||
|
"item": "splash_potion:27",
|
||||||
|
"quantity": {
|
||||||
|
"min": 5,
|
||||||
|
"max": 5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"wants": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:glowstone_dust",
|
||||||
|
"quantity": {
|
||||||
|
"min": 6,
|
||||||
|
"max": 6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"gives": [
|
||||||
|
{
|
||||||
|
"item": "splash_potion:33",
|
||||||
|
"quantity": {
|
||||||
|
"min": 5,
|
||||||
|
"max": 5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"wants": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:glowstone_dust",
|
||||||
|
"quantity": {
|
||||||
|
"min": 6,
|
||||||
|
"max": 6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"gives": [
|
||||||
|
{
|
||||||
|
"item": "splash_potion:34",
|
||||||
|
"quantity": {
|
||||||
|
"min": 5,
|
||||||
|
"max": 5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"wants": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:glowstone_dust",
|
||||||
|
"quantity": {
|
||||||
|
"min": 6,
|
||||||
|
"max": 6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"gives": [
|
||||||
|
{
|
||||||
|
"item": "splash_potion:7",
|
||||||
|
"quantity": {
|
||||||
|
"min": 5,
|
||||||
|
"max": 5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"wants": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:glowstone_dust",
|
||||||
|
"quantity": {
|
||||||
|
"min": 8,
|
||||||
|
"max": 8
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"gives": [
|
||||||
|
{
|
||||||
|
"item": "splash_potion:22",
|
||||||
|
"quantity": {
|
||||||
|
"min": 5,
|
||||||
|
"max": 5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"wants": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:glowstone_dust",
|
||||||
|
"quantity": {
|
||||||
|
"min": 8,
|
||||||
|
"max": 8
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"gives": [
|
||||||
|
{
|
||||||
|
"item": "splash_potion:24",
|
||||||
|
"quantity": {
|
||||||
|
"min": 5,
|
||||||
|
"max": 5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"wants": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:glowstone_dust",
|
||||||
|
"quantity": {
|
||||||
|
"min": 6,
|
||||||
|
"max": 6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"gives": [
|
||||||
|
{
|
||||||
|
"item": "splash_potion:11",
|
||||||
|
"quantity": {
|
||||||
|
"min": 5,
|
||||||
|
"max": 5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,144 @@
|
|||||||
|
{
|
||||||
|
"tiers": [
|
||||||
|
{
|
||||||
|
"trades": [
|
||||||
|
{
|
||||||
|
"reward_exp": false,
|
||||||
|
"wants": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:emerald",
|
||||||
|
"quantity": {
|
||||||
|
"min": 32,
|
||||||
|
"max": 32
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"gives": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:structure_builder:17"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"reward_exp": false,
|
||||||
|
"wants": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:emerald",
|
||||||
|
"quantity": {
|
||||||
|
"min": 4,
|
||||||
|
"max": 4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"gives": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:structure_builder:3"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"reward_exp": false,
|
||||||
|
"wants": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:emerald",
|
||||||
|
"quantity": {
|
||||||
|
"min": 4,
|
||||||
|
"max": 4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"gives": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:structure_builder:5"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"reward_exp": false,
|
||||||
|
"wants": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:emerald",
|
||||||
|
"quantity": {
|
||||||
|
"min": 4,
|
||||||
|
"max": 4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"gives": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:structure_builder:6"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"reward_exp": false,
|
||||||
|
"wants": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:emerald",
|
||||||
|
"quantity": {
|
||||||
|
"min": 4,
|
||||||
|
"max": 4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"gives": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:structure_builder:4"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"reward_exp": false,
|
||||||
|
"wants": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:emerald",
|
||||||
|
"quantity": {
|
||||||
|
"min": 4,
|
||||||
|
"max": 4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"gives": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:structure_builder:33"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"reward_exp": false,
|
||||||
|
"wants": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:emerald",
|
||||||
|
"quantity": {
|
||||||
|
"min": 4,
|
||||||
|
"max": 4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"gives": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:structure_builder:24"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"reward_exp": false,
|
||||||
|
"wants": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:emerald",
|
||||||
|
"quantity": {
|
||||||
|
"min": 4,
|
||||||
|
"max": 4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"gives": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:structure_builder:2"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:agent"
|
||||||
|
},
|
||||||
|
"minecraft:damage_sensor": [
|
||||||
|
{
|
||||||
|
"cause": "all",
|
||||||
|
"deals_damage": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"minecraft:fire_immune": true,
|
||||||
|
"minecraft:inventory": {
|
||||||
|
"inventory_size": 27,
|
||||||
|
"container_type": "container",
|
||||||
|
"restrict_to_owner": true
|
||||||
|
},
|
||||||
|
"minecraft:scale": {
|
||||||
|
"value":1.0
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.6,
|
||||||
|
"height": 0.93
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
"alwaysShow": true,
|
||||||
|
"allowNameTagRenaming": false
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 1,
|
||||||
|
"max": 1
|
||||||
|
},
|
||||||
|
"minecraft:behavior.look_at_entity": {
|
||||||
|
"priority": 2,
|
||||||
|
"look_distance": 6.0,
|
||||||
|
"probability": 1.0,
|
||||||
|
"angle_of_view_vertical": 135,
|
||||||
|
"angle_of_view_horizontal": 170,
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
{ "test" : "is_owner", "subject" : "other", "value" : true}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:area_effect_cloud"
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
"has_collision": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:armor_stand"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "armor_stand", "inanimate" ]
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.5,
|
||||||
|
"height": 1.975
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 6,
|
||||||
|
"max": 6
|
||||||
|
},
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/armor_stand.json"
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,114 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:hard_arrow": {
|
||||||
|
"minecraft:projectile": {
|
||||||
|
"onHit": {
|
||||||
|
"impact_damage": {
|
||||||
|
"damage": [ 1, 5 ],
|
||||||
|
"knockback": true,
|
||||||
|
"semirandomdiffdamage": false,
|
||||||
|
"destroyonhit": true
|
||||||
|
},
|
||||||
|
"stick_in_ground": {
|
||||||
|
"shake_time" : 0.35
|
||||||
|
},
|
||||||
|
"arrow_effect": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"hitSound": "bow.hit",
|
||||||
|
"power": 1.6,
|
||||||
|
"gravity": 0.05,
|
||||||
|
"uncertaintyBase": 16,
|
||||||
|
"uncertaintyMultiplier": 4,
|
||||||
|
"anchor": 1,
|
||||||
|
"shouldbounce": true,
|
||||||
|
"offset": [ 0, -0.1, 0 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:player_arrow": {
|
||||||
|
"minecraft:projectile": {
|
||||||
|
"onHit": {
|
||||||
|
"impact_damage": {
|
||||||
|
"damage": 1,
|
||||||
|
"knockback": true,
|
||||||
|
"semirandomdiffdamage": true,
|
||||||
|
"destroyonhit": true
|
||||||
|
},
|
||||||
|
"stick_in_ground": {
|
||||||
|
"shake_time" : 0.35
|
||||||
|
},
|
||||||
|
"arrow_effect": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"hitSound": "bow.hit",
|
||||||
|
"power": 5.0,
|
||||||
|
"gravity": 0.05,
|
||||||
|
"uncertaintyBase": 1,
|
||||||
|
"uncertaintyMultiplier": 0,
|
||||||
|
"anchor": 1,
|
||||||
|
"shouldbounce": true,
|
||||||
|
"offset": [ 0, -0.1, 0 ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:arrow"
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.25,
|
||||||
|
"height": 0.25
|
||||||
|
},
|
||||||
|
"minecraft:projectile": {
|
||||||
|
"onHit": {
|
||||||
|
"impact_damage": {
|
||||||
|
"damage": [ 1, 4 ],
|
||||||
|
"knockback": true,
|
||||||
|
"semirandomdiffdamage": false,
|
||||||
|
"destroyonhit": true
|
||||||
|
},
|
||||||
|
"stick_in_ground": {
|
||||||
|
"shake_time" : 0.35
|
||||||
|
},
|
||||||
|
"arrow_effect": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"hitSound": "bow.hit",
|
||||||
|
"power": 1.6,
|
||||||
|
"gravity": 0.05,
|
||||||
|
"uncertaintyBase": 16,
|
||||||
|
"uncertaintyMultiplier": 4,
|
||||||
|
"anchor": 1,
|
||||||
|
"shouldbounce": true,
|
||||||
|
"offset": [ 0, -0.1, 0 ]
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"sequence": [
|
||||||
|
{
|
||||||
|
"filters": {"test": "is_difficulty", "value": "hard"},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [ "minecraft:hard_arrow" ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filters": {"test": "is_family", "subject": "other", "value": "player"},
|
||||||
|
"add": {
|
||||||
|
"component_groups" : [ "minecraft:player_arrow" ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:bat"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family":["bat"]
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 15,
|
||||||
|
"suffocateTime": 0
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.5,
|
||||||
|
"height": 0.9
|
||||||
|
},
|
||||||
|
"minecraft:fall_damage": {
|
||||||
|
"value": 0.0
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.1
|
||||||
|
},
|
||||||
|
"minecraft:navigation.float": {
|
||||||
|
"can_float": true
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
},
|
||||||
|
"minecraft:behavior.float_wander": {
|
||||||
|
"xz_dist": 10,
|
||||||
|
"y_dist": 7,
|
||||||
|
"y_offset": -2.0,
|
||||||
|
"random_reselect": true,
|
||||||
|
"float_duration": [0.1, 0.35]
|
||||||
|
},
|
||||||
|
"minecraft:can_fly": {
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 6,
|
||||||
|
"max": 6
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,109 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:blaze"
|
||||||
|
},
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/blaze.json"
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.5,
|
||||||
|
"height": 1.8
|
||||||
|
},
|
||||||
|
"minecraft:attack": {
|
||||||
|
"damage": 6
|
||||||
|
},
|
||||||
|
"minecraft:fall_damage": {
|
||||||
|
"value": 0.0
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.23
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
"can_float": true
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
},
|
||||||
|
"minecraft:can_climb": {
|
||||||
|
},
|
||||||
|
"minecraft:can_fly": {
|
||||||
|
"value": true
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 20,
|
||||||
|
"max": 20
|
||||||
|
},
|
||||||
|
"minecraft:follow_range": {
|
||||||
|
"value": 48,
|
||||||
|
"max": 48
|
||||||
|
},
|
||||||
|
"minecraft:hurt_when_wet": {
|
||||||
|
"value": true
|
||||||
|
},
|
||||||
|
"minecraft:fire_immune": true,
|
||||||
|
"minecraft:nameable": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:behavior.nearest_attackable_target": {
|
||||||
|
"priority": 1,
|
||||||
|
"entity_types": [
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "player"
|
||||||
|
},
|
||||||
|
"max_dist": 48
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"must_see": true
|
||||||
|
},
|
||||||
|
"minecraft:behavior.hurt_by_target": {
|
||||||
|
"priority": 1
|
||||||
|
},
|
||||||
|
"minecraft:behavior.melee_attack": {
|
||||||
|
"priority": 2,
|
||||||
|
"max_dist": 3,
|
||||||
|
"speed_multiplier": 1,
|
||||||
|
"random_stop_interval": 2.0,
|
||||||
|
"track_target": true
|
||||||
|
},
|
||||||
|
"minecraft:shooter": {
|
||||||
|
"type": "smallfireball",
|
||||||
|
"def": "minecraft:small_fireball"
|
||||||
|
},
|
||||||
|
"minecraft:behavior.ranged_attack": {
|
||||||
|
"priority": 3,
|
||||||
|
"attack_interval_min": 3,
|
||||||
|
"attack_interval_max": 5,
|
||||||
|
"charge_charged_trigger": 0.0,
|
||||||
|
"charge_shoot_trigger": 4.0,
|
||||||
|
"attack_radius": 16,
|
||||||
|
"burst_shots": 3,
|
||||||
|
"burst_interval": 0.3
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_stroll": {
|
||||||
|
"priority": 3,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_look_around": {
|
||||||
|
"priority": 4
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "blaze", "monster" ]
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,62 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:boat"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "boat", "inanimate" ]
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 1.4,
|
||||||
|
"height": 0.455
|
||||||
|
},
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/boat.json"
|
||||||
|
},
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"seat_count": 2,
|
||||||
|
"interact_text": "action.interact.ride.boat",
|
||||||
|
"pull_in_entities": true,
|
||||||
|
|
||||||
|
"seats": [
|
||||||
|
{
|
||||||
|
"position": [0.0, -0.2, 0.0],
|
||||||
|
"min_rider_count": 0,
|
||||||
|
"max_rider_count": 1,
|
||||||
|
|
||||||
|
"rotate_rider_by": -90,
|
||||||
|
"lock_rider_rotation": 90
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"position": [0.2, -0.2, 0.0],
|
||||||
|
"min_rider_count": 2,
|
||||||
|
"max_rider_count": 2,
|
||||||
|
|
||||||
|
"rotate_rider_by": -90,
|
||||||
|
"lock_rider_rotation": 90
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"position": [ -0.6, -0.2, 0.0],
|
||||||
|
"min_rider_count": 2,
|
||||||
|
"max_rider_count": 2,
|
||||||
|
|
||||||
|
"lock_rider_rotation": 90
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:is_stackable": {
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,422 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:spider_jockey": {
|
||||||
|
"minecraft:addrider": {
|
||||||
|
"entity_type": "minecraft:skeleton"
|
||||||
|
},
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"seat_count": 1,
|
||||||
|
"family_types": [
|
||||||
|
"skeleton"
|
||||||
|
],
|
||||||
|
"seats": {
|
||||||
|
"position": [0.0, 0.3, -0.1]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:spider_stray_jockey": {
|
||||||
|
"minecraft:addrider": {
|
||||||
|
"entity_type": "minecraft:skeleton.stray"
|
||||||
|
},
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"seat_count": 1,
|
||||||
|
"family_types": [
|
||||||
|
"skeleton"
|
||||||
|
],
|
||||||
|
"seats": {
|
||||||
|
"position": [0.0, 0.3, -0.1]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:spider_wither_jockey": {
|
||||||
|
"minecraft:addrider": {
|
||||||
|
"entity_type": "minecraft:skeleton.wither"
|
||||||
|
},
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"seat_count": 1,
|
||||||
|
"family_types": [
|
||||||
|
"skeleton"
|
||||||
|
],
|
||||||
|
"seats": {
|
||||||
|
"position": [0.0, 0.25, -0.1]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:spider_neutral": {
|
||||||
|
"minecraft:environment_sensor": {
|
||||||
|
"on_environment": {
|
||||||
|
"filters": { "test" : "is_brightness", "operator" : "<", "value" : 0.49 },
|
||||||
|
"event": "minecraft:become_hostile"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:on_target_acquired": {
|
||||||
|
"event": "minecraft:become_angry"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:spider_hostile": {
|
||||||
|
"minecraft:environment_sensor": {
|
||||||
|
"on_environment": {
|
||||||
|
"filters": { "test": "is_brightness", "operator": ">", "value": 0.49 },
|
||||||
|
"event": "minecraft:become_neutral"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:behavior.nearest_attackable_target": {
|
||||||
|
"priority": 2,
|
||||||
|
"entity_types": [
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"any_of": [
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "snowgolem"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "irongolem"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"max_dist": 16
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"must_see": true,
|
||||||
|
"attack_interval": 5
|
||||||
|
},
|
||||||
|
"minecraft:behavior.leap_at_target": {
|
||||||
|
"priority": 4,
|
||||||
|
"yd": 0.4,
|
||||||
|
"must_be_on_ground": false
|
||||||
|
},
|
||||||
|
"minecraft:behavior.melee_attack": {
|
||||||
|
"priority": 3,
|
||||||
|
"speed_multiplier": 1.0,
|
||||||
|
"track_target": true,
|
||||||
|
"random_stop_interval": 100,
|
||||||
|
"reach_multiplier": 1.4
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:spider_angry": {
|
||||||
|
"minecraft:angry": {
|
||||||
|
"duration": 250,
|
||||||
|
"calm_event": {
|
||||||
|
"event": "minecraft:on_calm",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.nearest_attackable_target": {
|
||||||
|
"priority": 2,
|
||||||
|
"entity_types": [
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"any_of": [
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "snowgolem"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "irongolem"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"max_dist": 16
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"attack_interval": 10,
|
||||||
|
"must_see": true
|
||||||
|
},
|
||||||
|
"minecraft:behavior.leap_at_target": {
|
||||||
|
"priority": 4,
|
||||||
|
"yd": 0.4,
|
||||||
|
"must_be_on_ground": false
|
||||||
|
},
|
||||||
|
"minecraft:behavior.melee_attack": {
|
||||||
|
"priority": 3,
|
||||||
|
"speed_multiplier": 1.0,
|
||||||
|
"track_target": true,
|
||||||
|
"random_stop_interval": 100,
|
||||||
|
"reach_multiplier": 1.4
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:spider_poison_easy": {
|
||||||
|
"minecraft:attack": {
|
||||||
|
"damage": 2,
|
||||||
|
"effect_name": "poison",
|
||||||
|
"effect_duration": 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:spider_poison_normal": {
|
||||||
|
"minecraft:attack": {
|
||||||
|
"damage": 2,
|
||||||
|
"effect_name": "poison",
|
||||||
|
"effect_duration": 7
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:spider_poison_hard": {
|
||||||
|
"minecraft:attack": {
|
||||||
|
"damage": 2,
|
||||||
|
"effect_name": "poison",
|
||||||
|
"effect_duration": 15
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:cave_spider"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "cavespider", "monster", "arthropod" ]
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 15,
|
||||||
|
"suffocateTime": 0
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/spider.json"
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.7,
|
||||||
|
"height": 0.5
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 12,
|
||||||
|
"max": 12
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.3
|
||||||
|
},
|
||||||
|
"minecraft:navigation.climb": {
|
||||||
|
"can_float": true
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
},
|
||||||
|
"minecraft:can_climb": {
|
||||||
|
},
|
||||||
|
"minecraft:behavior.float": {
|
||||||
|
"priority": 1
|
||||||
|
},
|
||||||
|
"minecraft:behavior.mount_pathing": {
|
||||||
|
"priority": 5,
|
||||||
|
"speed_multiplier": 1.25,
|
||||||
|
"target_dist": 0.0,
|
||||||
|
"track_target": true
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_stroll": {
|
||||||
|
"priority": 6,
|
||||||
|
"speed_multiplier": 0.8
|
||||||
|
},
|
||||||
|
"minecraft:behavior.look_at_player": {
|
||||||
|
"priority": 7,
|
||||||
|
"look_distance": 6.0,
|
||||||
|
"probability": 0.02
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_look_around": {
|
||||||
|
"priority": 7
|
||||||
|
},
|
||||||
|
"minecraft:behavior.hurt_by_target": {
|
||||||
|
"priority": 1
|
||||||
|
},
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"seat_count": 1,
|
||||||
|
"family_types": [
|
||||||
|
"zombie"
|
||||||
|
],
|
||||||
|
"seats": {
|
||||||
|
"position": [ 0.0, 0.3, 0.0 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"randomize": [
|
||||||
|
{
|
||||||
|
"weight": 1,
|
||||||
|
"randomize": [
|
||||||
|
{
|
||||||
|
"weight": 80,
|
||||||
|
"filters": {
|
||||||
|
"all_of" : [
|
||||||
|
{ "test" : "is_daytime", "value" : false },
|
||||||
|
{ "test" : "is_snow_covered", "value" : true },
|
||||||
|
{ "test" : "is_underground", "value" : false }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"remove": { },
|
||||||
|
"add": {
|
||||||
|
"component_groups":
|
||||||
|
[
|
||||||
|
"minecraft:spider_stray_jockey",
|
||||||
|
"minecraft:spider_neutral"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 80,
|
||||||
|
"filters": {
|
||||||
|
"test": "is_biome", "value" : "the_nether"
|
||||||
|
},
|
||||||
|
"remove": { },
|
||||||
|
"add": {
|
||||||
|
"component_groups":
|
||||||
|
[
|
||||||
|
"minecraft:spider_wither_jockey",
|
||||||
|
"minecraft:spider_neutral"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 20,
|
||||||
|
"filters": {
|
||||||
|
"all_of" : [
|
||||||
|
{ "test" : "is_daytime", "value" : false },
|
||||||
|
{ "test" : "is_underground", "value" : true }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"remove": { },
|
||||||
|
"add": {
|
||||||
|
"component_groups":
|
||||||
|
[
|
||||||
|
"minecraft:spider_jockey",
|
||||||
|
"minecraft:spider_neutral"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 99,
|
||||||
|
"remove": { },
|
||||||
|
"add": {
|
||||||
|
"component_groups":
|
||||||
|
[
|
||||||
|
"minecraft:spider_neutral"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:become_hostile": {
|
||||||
|
"sequence": [
|
||||||
|
{
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:spider_neutral"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:spider_hostile"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filters": { "test" : "is_difficulty", "value" : "easy"},
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [ "minecraft:spider_poison_hard", "minecraft:spider_poison_normal" ]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [ "minecraft:spider_poison_easy" ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filters": { "test" : "is_difficulty", "value" : "normal"},
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [ "minecraft:spider_poison_easy", "minecraft:spider_poison_hard" ]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [ "minecraft:spider_poison_normal" ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filters": { "test" : "is_difficulty", "value" : "hard"},
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [ "minecraft:spider_poison_easy", "minecraft:spider_poison_normal" ]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [ "minecraft:spider_poison_hard" ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:become_neutral": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:spider_hostile"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:spider_neutral"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:become_angry": {
|
||||||
|
"sequence": [
|
||||||
|
{
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:spider_neutral"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:spider_angry"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filters": { "test" : "is_difficulty", "value" : "easy"},
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [ "minecraft:spider_poison_hard", "minecraft:spider_poison_normal" ]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [ "minecraft:spider_poison_easy" ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filters": { "test": "is_difficulty", "value": "normal" },
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [ "minecraft:spider_poison_easy", "minecraft:spider_poison_hard" ]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [ "minecraft:spider_poison_normal" ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filters": { "test" : "is_difficulty", "value" : "hard"},
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [ "minecraft:spider_poison_easy", "minecraft:spider_poison_normal" ]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [ "minecraft:spider_poison_hard" ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:on_calm": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:spider_angry"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:spider_neutral"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:chest_minecart"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "minecart", "inanimate" ]
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.78,
|
||||||
|
"height": 0.7
|
||||||
|
},
|
||||||
|
"minecraft:rail_movement": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:inventory": {
|
||||||
|
"container_type": "minecart_chest",
|
||||||
|
"inventory_size": 27,
|
||||||
|
"can_be_siphoned_from": true
|
||||||
|
},
|
||||||
|
"minecraft:is_stackable": {
|
||||||
|
"value": true
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,241 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:chicken_baby": {
|
||||||
|
"minecraft:is_baby": {
|
||||||
|
},
|
||||||
|
"minecraft:scale": {
|
||||||
|
"value":0.5
|
||||||
|
},
|
||||||
|
"minecraft:ageable": {
|
||||||
|
"duration": 1200,
|
||||||
|
"feedItems": [
|
||||||
|
"wheat_seeds",
|
||||||
|
"beetroot_seeds",
|
||||||
|
"melon_seeds",
|
||||||
|
"pumpkin_seeds"
|
||||||
|
],
|
||||||
|
"grow_up": {
|
||||||
|
"event": "minecraft:ageable_grow_up",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.follow_parent": {
|
||||||
|
"priority": 5,
|
||||||
|
"speed_multiplier": 1.1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:chicken_adult": {
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/chicken.json"
|
||||||
|
},
|
||||||
|
"minecraft:breedable": {
|
||||||
|
"requireTame": false,
|
||||||
|
"breedsWith": {
|
||||||
|
"mateType": "minecraft:chicken",
|
||||||
|
"babyType": "minecraft:chicken",
|
||||||
|
"breed_event": {
|
||||||
|
"event": "minecraft:entity_born",
|
||||||
|
"target": "baby"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"breedItems": [
|
||||||
|
"wheat_seeds",
|
||||||
|
"beetroot_seeds",
|
||||||
|
"melon_seeds",
|
||||||
|
"pumpkin_seeds"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.breed": {
|
||||||
|
"priority": 3,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"seat_count": 1,
|
||||||
|
"family_types": [
|
||||||
|
"zombie"
|
||||||
|
],
|
||||||
|
"seats": {
|
||||||
|
"position": [ 0.0, 0.4, 0.0 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:spawn_entity": {
|
||||||
|
"min_wait_time": 300,
|
||||||
|
"max_wait_time": 600,
|
||||||
|
"spawn_sound": "plop",
|
||||||
|
"spawn_item": "egg"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:chicken_leashed": {
|
||||||
|
"minecraft:behavior.move_towards_restriction": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:chicken"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "chicken" ]
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 15,
|
||||||
|
"suffocateTime": 0
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.6,
|
||||||
|
"height": 0.8
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 4,
|
||||||
|
"max": 4
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.25
|
||||||
|
},
|
||||||
|
"minecraft:fall_damage": {
|
||||||
|
"value": 0.0
|
||||||
|
},
|
||||||
|
"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:navigation.walk": {
|
||||||
|
"can_float": true,
|
||||||
|
"avoid_damage_blocks": true
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
},
|
||||||
|
"minecraft:can_climb": {
|
||||||
|
},
|
||||||
|
"minecraft:behavior.float": {
|
||||||
|
"priority": 0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.panic": {
|
||||||
|
"priority": 1,
|
||||||
|
"speed_multiplier": 1.5
|
||||||
|
},
|
||||||
|
"minecraft:behavior.mount_pathing": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.5,
|
||||||
|
"target_dist": 0.0,
|
||||||
|
"track_target": true
|
||||||
|
},
|
||||||
|
"minecraft:behavior.tempt": {
|
||||||
|
"priority": 4,
|
||||||
|
"speed_multiplier": 1.0,
|
||||||
|
"items": [
|
||||||
|
"wheat_seeds",
|
||||||
|
"beetroot_seeds",
|
||||||
|
"melon_seeds",
|
||||||
|
"pumpkin_seeds"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_stroll": {
|
||||||
|
"priority": 6,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.look_at_player": {
|
||||||
|
"priority": 7,
|
||||||
|
"look_distance": 6.0,
|
||||||
|
"probability": 0.02
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_look_around": {
|
||||||
|
"priority": 8
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"from_egg": {
|
||||||
|
"add": { "component_groups": [ "minecraft:chicken_baby" ] }
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"randomize": [
|
||||||
|
{
|
||||||
|
"weight": 95,
|
||||||
|
"remove": {
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:chicken_adult"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 5,
|
||||||
|
"remove": {
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:chicken_baby"
|
||||||
|
]
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:entity_born": {
|
||||||
|
"remove": {
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:chicken_baby"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:ageable_grow_up": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:chicken_baby"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:chicken_adult"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:on_leash": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:chicken_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:on_unleash": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:chicken_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,86 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:command_block_active": {
|
||||||
|
"minecraft:rail_sensor": {
|
||||||
|
"check_block_types": true,
|
||||||
|
"eject_on_activate": false,
|
||||||
|
"eject_on_deactivate": false,
|
||||||
|
"tick_command_block_on_activate": true,
|
||||||
|
"tick_command_block_on_deactivate": false,
|
||||||
|
"on_deactivate": {
|
||||||
|
"event": "minecraft:command_block_deactivate"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:command_block_inactive": {
|
||||||
|
"minecraft:rail_sensor": {
|
||||||
|
"check_block_types": false,
|
||||||
|
"eject_on_activate": false,
|
||||||
|
"eject_on_deactivate": false,
|
||||||
|
"tick_command_block_on_activate": true,
|
||||||
|
"tick_command_block_on_deactivate": false,
|
||||||
|
"on_activate": {
|
||||||
|
"event": "minecraft:command_block_activate"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:command_block_minecart"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "minecart", "inanimate" ]
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.5,
|
||||||
|
"height": 0.9
|
||||||
|
},
|
||||||
|
"minecraft:rail_movement": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:inventory": {
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:command_block_inactive"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:command_block_activate": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:command_block_inactive"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:command_block_active"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:command_block_deactivate": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:command_block_active"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:command_block_inactive"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,245 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:cow_baby": {
|
||||||
|
"minecraft:is_baby": {
|
||||||
|
},
|
||||||
|
"minecraft:scale": {
|
||||||
|
"value":0.5
|
||||||
|
},
|
||||||
|
"minecraft:ageable": {
|
||||||
|
"duration": 1200,
|
||||||
|
"feedItems": "wheat",
|
||||||
|
"grow_up": {
|
||||||
|
"event": "minecraft:ageable_grow_up",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:behavior.follow_parent": {
|
||||||
|
"priority": 6,
|
||||||
|
"speed_multiplier": 1.1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:cow_adult": {
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/cow.json"
|
||||||
|
},
|
||||||
|
"minecraft:behavior.breed": {
|
||||||
|
"priority": 3,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:breedable": {
|
||||||
|
"requireTame": false,
|
||||||
|
"breedItems": "wheat",
|
||||||
|
"breedsWith": {
|
||||||
|
"mateType": "minecraft:cow",
|
||||||
|
"babyType": "minecraft:cow",
|
||||||
|
"breed_event": {
|
||||||
|
"event": "minecraft:entity_born",
|
||||||
|
"target": "baby"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:interact": [
|
||||||
|
{
|
||||||
|
"on_interact": {
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test": "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
{ "test": "has_equipment", "domain": "hand", "subject": "other", "value": "bucket:0"}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"use_item": true,
|
||||||
|
"transform_to_item": "bucket:1",
|
||||||
|
"play_sounds": "milk",
|
||||||
|
"interact_text": "action.interact.milk"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:cow_leashed": {
|
||||||
|
"minecraft:behavior.move_towards_restriction": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:cow"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "cow" ]
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 15,
|
||||||
|
"suffocateTime": 0
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
"can_float": true,
|
||||||
|
"avoid_water": true,
|
||||||
|
"avoid_damage_blocks": true
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
},
|
||||||
|
"minecraft:can_climb": {
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.9,
|
||||||
|
"height": 1.3
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 10,
|
||||||
|
"max": 10
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.25
|
||||||
|
},
|
||||||
|
"minecraft:behavior.float": {
|
||||||
|
"priority": 0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.panic": {
|
||||||
|
"priority": 1,
|
||||||
|
"speed_multiplier": 1.25
|
||||||
|
},
|
||||||
|
"minecraft:behavior.mount_pathing": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.5,
|
||||||
|
"target_dist": 0.0,
|
||||||
|
"track_target": true
|
||||||
|
},
|
||||||
|
"minecraft:behavior.breed": {
|
||||||
|
"priority": 3,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.tempt": {
|
||||||
|
"priority": 4,
|
||||||
|
"speed_multiplier": 1.25,
|
||||||
|
"items": [
|
||||||
|
"wheat"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.follow_parent": {
|
||||||
|
"priority": 5,
|
||||||
|
"speed_multiplier": 1.1
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_stroll": {
|
||||||
|
"priority": 6,
|
||||||
|
"speed_multiplier": 0.8
|
||||||
|
},
|
||||||
|
"minecraft:behavior.look_at_player": {
|
||||||
|
"priority": 7,
|
||||||
|
"look_distance": 6.0,
|
||||||
|
"probability": 0.02
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_look_around": {
|
||||||
|
"priority": 9
|
||||||
|
},
|
||||||
|
"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:rideable": {
|
||||||
|
"seat_count": 1,
|
||||||
|
"family_types": [
|
||||||
|
"zombie"
|
||||||
|
],
|
||||||
|
"seats": {
|
||||||
|
"position": [ 0.0, 1.105, 0.0 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"randomize": [
|
||||||
|
{
|
||||||
|
"weight": 95,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:cow_adult"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 5,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:cow_baby"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:entity_born": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:cow_baby"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:entity_transformed": {
|
||||||
|
"remove": {
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:cow_adult"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:ageable_grow_up": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:cow_baby"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:cow_adult"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:on_leash": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:cow_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:on_unleash": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:cow_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,297 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:exploding": {
|
||||||
|
"minecraft:explode": {
|
||||||
|
"fuseLength": 1.5,
|
||||||
|
"fuseLit": true,
|
||||||
|
"power": 3,
|
||||||
|
"causesFire": false,
|
||||||
|
"destroyAffectedByGriefing": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:charged_creeper": {
|
||||||
|
"minecraft:is_charged": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:charged_exploding": {
|
||||||
|
"minecraft:explode": {
|
||||||
|
"fuseLength": 1.5,
|
||||||
|
"fuseLit": true,
|
||||||
|
"power": 6,
|
||||||
|
"causesFire": false,
|
||||||
|
"destroyAffectedByGriefing": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:forced_exploding": {
|
||||||
|
"minecraft:target_nearby_sensor": {
|
||||||
|
},
|
||||||
|
"minecraft:explode": {
|
||||||
|
"fuseLength": 1.5,
|
||||||
|
"fuseLit": true,
|
||||||
|
"power": 3,
|
||||||
|
"causesFire": false,
|
||||||
|
"destroyAffectedByGriefing": true
|
||||||
|
},
|
||||||
|
"minecraft:on_target_escape": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:forced_charged_exploding": {
|
||||||
|
"minecraft:target_nearby_sensor": {
|
||||||
|
},
|
||||||
|
"minecraft:explode": {
|
||||||
|
"fuseLength": 1.5,
|
||||||
|
"fuseLit": true,
|
||||||
|
"power": 6,
|
||||||
|
"causesFire": false,
|
||||||
|
"destroyAffectedByGriefing": true
|
||||||
|
},
|
||||||
|
"minecraft:on_target_escape": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:creeper"
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "creeper", "monster" ]
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 15,
|
||||||
|
"suffocateTime": 0
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.6,
|
||||||
|
"height": 1.8
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.2
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
"can_float": true
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
},
|
||||||
|
"minecraft:can_climb": {
|
||||||
|
},
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/creeper.json"
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 20,
|
||||||
|
"max": 20
|
||||||
|
},
|
||||||
|
"minecraft:attack": {
|
||||||
|
"damage": 3
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:damage_sensor": [
|
||||||
|
{
|
||||||
|
"on_damage": {
|
||||||
|
"filters": {
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "lightning"
|
||||||
|
},
|
||||||
|
"event": "minecraft:become_charged"
|
||||||
|
},
|
||||||
|
"deals_damage": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
|
||||||
|
"minecraft:target_nearby_sensor": {
|
||||||
|
"inside_range": 2.5,
|
||||||
|
"outside_range": 6.0,
|
||||||
|
"on_inside_range": {
|
||||||
|
"event": "minecraft:start_exploding",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"on_outside_range": {
|
||||||
|
"event": "minecraft:stop_exploding",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:interact": {
|
||||||
|
"on_interact": {
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "player"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "has_equipment",
|
||||||
|
"domain": "hand",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "flint_and_steel"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "has_component",
|
||||||
|
"operator": "!=",
|
||||||
|
"value": "minecraft:explode"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"event": "minecraft:start_exploding_forced",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"hurt_item": 1,
|
||||||
|
"swing": true,
|
||||||
|
"play_sounds": "ignite",
|
||||||
|
"interact_text": "action.interact.creeper"
|
||||||
|
},
|
||||||
|
"minecraft:behavior.float": {
|
||||||
|
"priority": 0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.swell": {
|
||||||
|
"start_distance": 2.5,
|
||||||
|
"stop_distance": 6.0,
|
||||||
|
"priority": 2
|
||||||
|
},
|
||||||
|
"minecraft:behavior.melee_attack": {
|
||||||
|
"priority": 4,
|
||||||
|
"speed_multiplier": 1.25,
|
||||||
|
"track_target": false
|
||||||
|
},
|
||||||
|
"minecraft:behavior.avoid_mob_type": {
|
||||||
|
"priority": 3,
|
||||||
|
"entity_types": [
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "ocelot"
|
||||||
|
},
|
||||||
|
"max_dist": 6,
|
||||||
|
"walk_speed_multiplier": 1,
|
||||||
|
"sprint_speed_multiplier": 1.2
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_stroll": {
|
||||||
|
"priority": 5,
|
||||||
|
"speed_multiplier": 1
|
||||||
|
},
|
||||||
|
"minecraft:behavior.look_at_player": {
|
||||||
|
"priority": 6,
|
||||||
|
"look_distance": 8
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_look_around": {
|
||||||
|
"priority": 6
|
||||||
|
},
|
||||||
|
"minecraft:behavior.nearest_attackable_target": {
|
||||||
|
"priority": 1,
|
||||||
|
"entity_types": [
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "player"
|
||||||
|
},
|
||||||
|
"max_dist": 16
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"must_see": true,
|
||||||
|
"must_see_forget_duration": 0.0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.hurt_by_target": {
|
||||||
|
"priority": 2
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
},
|
||||||
|
"minecraft:on_target_escape": {
|
||||||
|
"event": "minecraft:stop_exploding",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"minecraft:start_exploding_forced": {
|
||||||
|
"sequence": [
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"test": "has_component",
|
||||||
|
"operator": "!=",
|
||||||
|
"value": "minecraft:is_charged"
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:forced_exploding"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"test": "has_component",
|
||||||
|
"value": "minecraft:is_charged"
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:forced_charged_exploding"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:start_exploding": {
|
||||||
|
"sequence": [
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"test": "has_component",
|
||||||
|
"operator": "!=",
|
||||||
|
"value": "minecraft:is_charged"
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:exploding"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"test": "has_component",
|
||||||
|
"value": "minecraft:is_charged"
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:charged_exploding"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:stop_exploding": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:exploding"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:become_charged": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:exploding"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:charged_creeper"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,474 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:donkey_baby": {
|
||||||
|
"minecraft:is_baby": {
|
||||||
|
},
|
||||||
|
"minecraft:scale_by_age": {
|
||||||
|
"start_scale": 0.5,
|
||||||
|
"end_scale": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:ageable": {
|
||||||
|
"duration": 1200,
|
||||||
|
"feedItems": [
|
||||||
|
{
|
||||||
|
"item": "wheat",
|
||||||
|
"growth": 0.016667
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "sugar",
|
||||||
|
"growth": 0.025
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "tile.hay_block",
|
||||||
|
"growth": 0.15
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "apple",
|
||||||
|
"growth": 0.05
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_carrot",
|
||||||
|
"growth": 0.05
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_apple",
|
||||||
|
"growth": 0.2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "appleEnchanted",
|
||||||
|
"growth": 0.2
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"grow_up": {
|
||||||
|
"event": "minecraft:ageable_grow_up",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.follow_parent": {
|
||||||
|
"priority": 4,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:donkey_adult": {
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/horse.json"
|
||||||
|
},
|
||||||
|
"minecraft:behavior.run_around_like_crazy": {
|
||||||
|
"priority": 1,
|
||||||
|
"speed_multiplier": 1.2
|
||||||
|
},
|
||||||
|
"minecraft:behavior.breed": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:donkey_wild": {
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"seat_count": 1,
|
||||||
|
"family_types": [
|
||||||
|
"player",
|
||||||
|
"zombie"
|
||||||
|
],
|
||||||
|
"interact_text": "action.interact.mount",
|
||||||
|
"seats": {
|
||||||
|
"position": [ 0.0, 0.925, -0.2 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.mount_pathing": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.5,
|
||||||
|
"target_dist": 0.0,
|
||||||
|
"track_target": true
|
||||||
|
},
|
||||||
|
"minecraft:tamemount": {
|
||||||
|
"minTemper": 0,
|
||||||
|
"maxTemper": 100,
|
||||||
|
"feed_text": "action.interact.feed",
|
||||||
|
"ride_text": "action.interact.mount",
|
||||||
|
"feedItems": [
|
||||||
|
{
|
||||||
|
"item": "wheat",
|
||||||
|
"temperMod": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "sugar",
|
||||||
|
"temperMod": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "apple",
|
||||||
|
"temperMod": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_carrot",
|
||||||
|
"temperMod": 5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_apple",
|
||||||
|
"temperMod": 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "appleEnchanted",
|
||||||
|
"temperMod": 10
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"autoRejectItems": [
|
||||||
|
{
|
||||||
|
"item": "horsearmorleather"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "horsearmoriron"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "horsearmorgold"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "horsearmordiamond"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "saddle"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"tame_event": {
|
||||||
|
"event": "minecraft:on_tame",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:donkey_tamed": {
|
||||||
|
"minecraft:is_tamed": {
|
||||||
|
},
|
||||||
|
"minecraft:equippable": {
|
||||||
|
"slots": [
|
||||||
|
{
|
||||||
|
"slot": 0,
|
||||||
|
"item": "saddle",
|
||||||
|
"accepted_items": ["saddle"],
|
||||||
|
"on_equip": {
|
||||||
|
"event": "minecraft:donkey_saddled"
|
||||||
|
},
|
||||||
|
"on_unequip": {
|
||||||
|
"event": "minecraft:donkey_unsaddled"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"priority": 0,
|
||||||
|
"seat_count": 1,
|
||||||
|
"crouching_skip_interact": true,
|
||||||
|
"interact_text": "action.interact.ride.horse",
|
||||||
|
"seats": {
|
||||||
|
"position": [ 0.0, 0.925, -0.2 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.player_ride_tamed": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:inventory": {
|
||||||
|
"inventory_size": 17,
|
||||||
|
"container_type": "horse"
|
||||||
|
},
|
||||||
|
"minecraft:breedable": {
|
||||||
|
"requireTame": true,
|
||||||
|
"inheritTamed": false,
|
||||||
|
"breedsWith": [
|
||||||
|
{
|
||||||
|
"mateType": "minecraft:donkey",
|
||||||
|
"babyType": "minecraft:donkey",
|
||||||
|
"breed_event": {
|
||||||
|
"event": "minecraft:entity_born",
|
||||||
|
"target": "baby"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mateType": "minecraft:horse",
|
||||||
|
"babyType": "minecraft:mule",
|
||||||
|
"breed_event": {
|
||||||
|
"event": "minecraft:entity_born",
|
||||||
|
"target": "baby"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"breedItems": [
|
||||||
|
"golden_carrot",
|
||||||
|
"golden_apple",
|
||||||
|
"appleEnchanted"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.tempt": {
|
||||||
|
"priority": 5,
|
||||||
|
"speed_multiplier": 1.2,
|
||||||
|
"items": [
|
||||||
|
"apple",
|
||||||
|
"carrot",
|
||||||
|
"golden_apple",
|
||||||
|
"appleEnchanted",
|
||||||
|
"golden_carrot",
|
||||||
|
"carrotOnAStick",
|
||||||
|
"tile.hay_block",
|
||||||
|
"sugar",
|
||||||
|
"bread",
|
||||||
|
"wheat"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:donkey_unchested": {
|
||||||
|
"minecraft:interact": [
|
||||||
|
{
|
||||||
|
"on_interact": {
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
{ "test" : "has_equipment", "domain": "hand","subject" : "other", "value" : "chest:0"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"event": "minecraft:on_chest",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"use_item": true,
|
||||||
|
"interact_text": "action.interact.attachchest"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:donkey_chested": {
|
||||||
|
"minecraft:is_chested": {
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:donkey_saddled": {
|
||||||
|
"minecraft:is_saddled": {
|
||||||
|
},
|
||||||
|
"minecraft:input_ground_controlled": {
|
||||||
|
},
|
||||||
|
"minecraft:can_power_jump": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:donkey_leashed": {
|
||||||
|
"minecraft:behavior.move_towards_restriction": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:donkey"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "donkey" ]
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 15,
|
||||||
|
"suffocateTime": 0
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 1.4,
|
||||||
|
"height": 1.6
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": {
|
||||||
|
"range_min": 15,
|
||||||
|
"range_max": 30
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.175
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
"can_float": true,
|
||||||
|
"avoid_water": true,
|
||||||
|
"avoid_damage_blocks": true
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
"minecraft:horse.jump_strength": {
|
||||||
|
"value": 0.5
|
||||||
|
},
|
||||||
|
"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:healable": {
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"item": "wheat",
|
||||||
|
"heal_amount": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "sugar",
|
||||||
|
"heal_amount": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "tile.hay_block",
|
||||||
|
"heal_amount": 20
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "apple",
|
||||||
|
"heal_amount": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_carrot",
|
||||||
|
"heal_amount": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_apple",
|
||||||
|
"heal_amount": 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "appleEnchanted",
|
||||||
|
"heal_amount": 10
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.float": {
|
||||||
|
"priority": 0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.panic": {
|
||||||
|
"priority": 1,
|
||||||
|
"speed_multiplier": 1.2
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_stroll": {
|
||||||
|
"priority": 6,
|
||||||
|
"speed_multiplier": 0.7
|
||||||
|
},
|
||||||
|
"minecraft:behavior.look_at_player": {
|
||||||
|
"priority": 7,
|
||||||
|
"look_distance": 6.0,
|
||||||
|
"probability": 0.02
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_look_around": {
|
||||||
|
"priority": 8
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"randomize": [
|
||||||
|
{
|
||||||
|
"weight": 80,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:donkey_adult",
|
||||||
|
"minecraft:donkey_wild"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 20,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:donkey_baby"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:entity_born": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:donkey_baby"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:on_tame": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:donkey_wild"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:donkey_tamed",
|
||||||
|
"minecraft:donkey_unchested"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:ageable_grow_up": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:donkey_baby"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:donkey_adult",
|
||||||
|
"minecraft:donkey_wild"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:on_leash": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:donkey_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:on_unleash": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:donkey_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:on_chest": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:donkey_unchested"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:donkey_chested"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:donkey_saddled": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:donkey_saddled"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:donkey_unsaddled": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:donkey_saddled"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:dragon_fireball"
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.31,
|
||||||
|
"height": 0.31
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:projectile": {
|
||||||
|
"onHit": {
|
||||||
|
"spawn_aoe_cloud": {
|
||||||
|
"radius": 6.0,
|
||||||
|
"radius_on_use": 0,
|
||||||
|
"potion": 23,
|
||||||
|
"particle": "dragonbreath",
|
||||||
|
"duration": 120,
|
||||||
|
"color": [ 220, 0, 239 ],
|
||||||
|
"affect_owner": false
|
||||||
|
},
|
||||||
|
"remove_on_hit": { }
|
||||||
|
},
|
||||||
|
"power": 1.3,
|
||||||
|
"gravity": 0.00,
|
||||||
|
"inertia": 1,
|
||||||
|
"anchor": 2,
|
||||||
|
"offset": [ 0, 0.5, 0 ],
|
||||||
|
"semirandomdiffdamage": true,
|
||||||
|
"uncertaintyBase": 10.0,
|
||||||
|
"reflectOnHurt": true,
|
||||||
|
"hitSound": "explode"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:egg"
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.25,
|
||||||
|
"height": 0.25
|
||||||
|
},
|
||||||
|
"minecraft:projectile": {
|
||||||
|
"onHit": {
|
||||||
|
"impact_damage": {
|
||||||
|
"damage": 0,
|
||||||
|
"knockback": true,
|
||||||
|
"destroyonhit": true
|
||||||
|
},
|
||||||
|
"spawn_chance": {
|
||||||
|
"firstSpawnChance": 8,
|
||||||
|
"secondSpawnChance": 32,
|
||||||
|
"firstSpawnCount": 1,
|
||||||
|
"secondSpawnCount": 4,
|
||||||
|
"spawnMob": "chicken",
|
||||||
|
"spawnDefinition": "minecraft:chicken",
|
||||||
|
"spawnBaby": true
|
||||||
|
},
|
||||||
|
"remove_on_hit": {},
|
||||||
|
"particle_on_hit": {
|
||||||
|
"particle_type": "iconcrack",
|
||||||
|
"num_particles": 6,
|
||||||
|
"on_entity_hit": true,
|
||||||
|
"on_other_hit": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"power": 1.5,
|
||||||
|
"gravity": 0.03,
|
||||||
|
"angleoffset": 0.0
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,83 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:elder_guardian"
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 1.99,
|
||||||
|
"height": 1.99
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/elder_guardian.json"
|
||||||
|
},
|
||||||
|
"minecraft:navigation.swim": {
|
||||||
|
},
|
||||||
|
"minecraft:movement.sway": {
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 80,
|
||||||
|
"max": 80
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.3
|
||||||
|
},
|
||||||
|
"minecraft:attack": {
|
||||||
|
"damage": 5
|
||||||
|
},
|
||||||
|
"minecraft:follow_range": {
|
||||||
|
"value": 16,
|
||||||
|
"max": 16
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"breathesWater": true
|
||||||
|
},
|
||||||
|
"minecraft:behavior.nearest_attackable_target": {
|
||||||
|
"priority": 1,
|
||||||
|
"entity_types": [
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"any_of": [
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "squid"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"max_dist": 16
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"attack_interval_min": 1.0,
|
||||||
|
"must_see": true
|
||||||
|
},
|
||||||
|
"minecraft:behavior.guardian_attack": {
|
||||||
|
"priority": 4
|
||||||
|
},
|
||||||
|
"minecraft:behavior.move_towards_restriction": {
|
||||||
|
"priority": 5,
|
||||||
|
"speed_multiplier": 1.0,
|
||||||
|
"control_flags": [ "move", "look" ]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_stroll": {
|
||||||
|
"priority": 7,
|
||||||
|
"speed_multiplier": 0.5
|
||||||
|
},
|
||||||
|
"minecraft:behavior.look_at_player": {
|
||||||
|
"priority": 8,
|
||||||
|
"look_distance": 12.0,
|
||||||
|
"probability": 0.01
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_look_around": {
|
||||||
|
"priority": 9
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "guardian_elder", "monster" ]
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"crystal_exploding": {
|
||||||
|
"minecraft:explode": {
|
||||||
|
"fuseLength": 0,
|
||||||
|
"fuseLit": true,
|
||||||
|
"power": 6,
|
||||||
|
"causesFire": false,
|
||||||
|
"destroyAffectedByGriefing": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:ender_crystal"
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.98,
|
||||||
|
"height": 0.98
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 1,
|
||||||
|
"max": 1
|
||||||
|
},
|
||||||
|
"minecraft:fire_immune": true,
|
||||||
|
"minecraft:on_hurt": {
|
||||||
|
"event": "minecraft:crystal_explode",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"minecraft:crystal_explode": {
|
||||||
|
"remove": {
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"crystal_exploding"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,141 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"dragon_sitting": {
|
||||||
|
"minecraft:behavior.dragonlanding": {
|
||||||
|
"priority": 0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.dragonflaming": {
|
||||||
|
"priority": 1
|
||||||
|
},
|
||||||
|
"minecraft:behavior.dragonscanning": {
|
||||||
|
"priority": 2
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"dragon_flying": {
|
||||||
|
"minecraft:behavior.dragontakeoff": {
|
||||||
|
"priority": 0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.dragonchargeplayer": {
|
||||||
|
"priority": 1
|
||||||
|
},
|
||||||
|
"minecraft:behavior.dragonstrafeplayer": {
|
||||||
|
"priority": 2
|
||||||
|
},
|
||||||
|
"minecraft:behavior.dragonholdingpattern": {
|
||||||
|
"priority": 3
|
||||||
|
},
|
||||||
|
"minecraft:shooter": {
|
||||||
|
"type": "dragonfireball",
|
||||||
|
"def": "minecraft:dragon_fireball"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"dragon_death": {
|
||||||
|
"minecraft:behavior.dragondeath": {
|
||||||
|
"priority": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:ender_dragon"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "dragon" ]
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 200,
|
||||||
|
"max": 200
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 13,
|
||||||
|
"height": 4
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.3
|
||||||
|
},
|
||||||
|
"minecraft:fire_immune": true,
|
||||||
|
"minecraft:knockback_resistance": {
|
||||||
|
"value": 100,
|
||||||
|
"max": 100
|
||||||
|
},
|
||||||
|
"minecraft:flying_speed": {
|
||||||
|
"value": 0.6
|
||||||
|
},
|
||||||
|
"minecraft:attack": {
|
||||||
|
"damage": 3
|
||||||
|
},
|
||||||
|
"minecraft:fall_damage": {
|
||||||
|
"value": 0.0
|
||||||
|
},
|
||||||
|
"minecraft:on_start_landing": {
|
||||||
|
"event": "minecraft:start_land",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"minecraft:on_start_takeoff": {
|
||||||
|
"event": "minecraft:start_fly",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"minecraft:on_death": {
|
||||||
|
"event": "minecraft:start_death",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
"has_gravity": false,
|
||||||
|
"has_collision": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"remove": {
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"dragon_flying"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:start_land": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"dragon_flying"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"dragon_sitting"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:start_fly": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"dragon_sitting"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"dragon_flying"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:start_death": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"dragon_sitting",
|
||||||
|
"dragon_flying"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"dragon_death"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,62 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:no_spawn": {
|
||||||
|
"minecraft:projectile": {
|
||||||
|
"onHit": {
|
||||||
|
"teleport_owner": { },
|
||||||
|
"remove_on_hit": { }
|
||||||
|
},
|
||||||
|
"power": 1.5,
|
||||||
|
"gravity": 0.025,
|
||||||
|
"angleoffset": 0.0,
|
||||||
|
"inertia": 1,
|
||||||
|
"liquid_inertia": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:ender_pearl"
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.25,
|
||||||
|
"height": 0.25
|
||||||
|
},
|
||||||
|
"minecraft:projectile": {
|
||||||
|
"onHit": {
|
||||||
|
"teleport_owner": { },
|
||||||
|
"spawn_chance": {
|
||||||
|
"firstSpawnPercentChance": 5.0,
|
||||||
|
"firstSpawnCount": 1,
|
||||||
|
"spawnDefinition": "minecraft:endermite"
|
||||||
|
},
|
||||||
|
"remove_on_hit": { }
|
||||||
|
},
|
||||||
|
"power": 1.5,
|
||||||
|
"gravity": 0.025,
|
||||||
|
"angleoffset": 0.0,
|
||||||
|
"inertia": 1,
|
||||||
|
"liquid_inertia": 1
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"sequence": [
|
||||||
|
{
|
||||||
|
"filters": {"test": "is_game_rule", "domain": "domobspawning", "value": false},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [ "minecraft:no_spawn" ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,174 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:enderman_calm": {
|
||||||
|
"minecraft:on_target_acquired": {
|
||||||
|
"event": "minecraft:become_angry",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.3
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:enderman_angry": {
|
||||||
|
"minecraft:angry": {
|
||||||
|
"duration": 25,
|
||||||
|
"calm_event": {
|
||||||
|
"event": "minecraft:on_calm",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.45
|
||||||
|
},
|
||||||
|
"minecraft:behavior.melee_attack": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.0,
|
||||||
|
"track_target": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:enderman"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "enderman", "monster" ]
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 15,
|
||||||
|
"suffocateTime": 0
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/enderman.json"
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 40,
|
||||||
|
"max": 40
|
||||||
|
},
|
||||||
|
"minecraft:attack": {
|
||||||
|
"damage": 7
|
||||||
|
},
|
||||||
|
"minecraft:follow_range": {
|
||||||
|
"value": 32,
|
||||||
|
"max": 32
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.6,
|
||||||
|
"height": 2.9
|
||||||
|
},
|
||||||
|
"minecraft:teleport": {
|
||||||
|
"randomTeleports": true,
|
||||||
|
"maxRandomTeleportTime": 30,
|
||||||
|
"randomTeleportCube": [ 32, 32, 32 ],
|
||||||
|
"targetDistance": 16,
|
||||||
|
"target_teleport_chance": 0.05,
|
||||||
|
"lightTeleportChance": 0.05
|
||||||
|
},
|
||||||
|
"minecraft:lookat": {
|
||||||
|
"searchRadius": 64.0,
|
||||||
|
"setTarget": true,
|
||||||
|
"look_cooldown": 5.0,
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "subject" : "other", "test" : "is_family", "value" : "player"},
|
||||||
|
{ "test" : "has_equipment", "domain": "head", "subject" : "other", "operator" : "not", "value" : "pumpkin"}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.nearest_attackable_target": {
|
||||||
|
"priority": 5,
|
||||||
|
"attack_interval": 10,
|
||||||
|
"entity_types": [
|
||||||
|
{
|
||||||
|
"filters": { "test" : "is_family", "subject" : "other", "value" : "endermite"},
|
||||||
|
"max_dist": 64
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"must_see": true
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
"can_float": false,
|
||||||
|
"avoid_water": true
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
},
|
||||||
|
"minecraft:can_climb": {
|
||||||
|
},
|
||||||
|
"minecraft:behavior.float": {
|
||||||
|
"priority": 0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_stroll": {
|
||||||
|
"priority": 7,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.look_at_player": {
|
||||||
|
"priority": 8,
|
||||||
|
"look_distance": 8.0,
|
||||||
|
"probability": 8.0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_look_around": {
|
||||||
|
"priority": 8
|
||||||
|
},
|
||||||
|
"minecraft:behavior.hurt_by_target": {
|
||||||
|
"priority": 3
|
||||||
|
},
|
||||||
|
"minecraft:behavior.enderman_leave_block": {
|
||||||
|
"priority": 10
|
||||||
|
},
|
||||||
|
"minecraft:behavior.enderman_take_block": {
|
||||||
|
"priority": 11
|
||||||
|
},
|
||||||
|
"minecraft:hurt_when_wet": {
|
||||||
|
"value": true
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"remove": {
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:enderman_calm"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:become_angry": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:enderman_calm"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:enderman_angry"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:on_calm": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:enderman_angry"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:enderman_calm"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,88 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:endermite"
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 15,
|
||||||
|
"suffocateTime": 0
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "endermite", "arthropod", "monster" ]
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.4,
|
||||||
|
"height": 0.3
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.25
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
"can_float": true
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
},
|
||||||
|
"minecraft:can_climb": {
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 8,
|
||||||
|
"max": 8
|
||||||
|
},
|
||||||
|
"minecraft:attack": {
|
||||||
|
"damage": 2
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:behavior.float": {
|
||||||
|
"priority": 0
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:behavior.melee_attack": {
|
||||||
|
"priority": 3,
|
||||||
|
"speed_multiplier": 1,
|
||||||
|
"track_target": true
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:behavior.nearest_attackable_target": {
|
||||||
|
"priority": 5,
|
||||||
|
"within_radius": 16,
|
||||||
|
"entity_types": [
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"any_of": [
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "player"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "enderman"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"max_dist": 16
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"must_see": true
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_stroll": {
|
||||||
|
"priority": 6,
|
||||||
|
"speed_multiplier": 1
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,202 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:evocation_illager"
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "evocation_illager", "monster", "illager" ]
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 15,
|
||||||
|
"suffocateTime": 0
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/evocation_illager.json"
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 24,
|
||||||
|
"max": 24
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.6,
|
||||||
|
"height": 1.95
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.5
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
"can_float": true,
|
||||||
|
"can_pass_doors": true,
|
||||||
|
"can_open_doors": true,
|
||||||
|
"avoid_water": true
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
},
|
||||||
|
"minecraft:can_climb": {
|
||||||
|
},
|
||||||
|
"minecraft:behavior.float": {
|
||||||
|
"priority": 0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.summon_entity": {
|
||||||
|
"priority": 2,
|
||||||
|
|
||||||
|
"summon_choices": [
|
||||||
|
{
|
||||||
|
"min_activation_range": 0.0,
|
||||||
|
"max_activation_range": 3.0,
|
||||||
|
"cooldown_time": 5.0,
|
||||||
|
"weight": 3,
|
||||||
|
"cast_duration": 2.0,
|
||||||
|
"particle_color": "#FF664D59",
|
||||||
|
"start_sound_event": "cast.spell",
|
||||||
|
"sequence": [
|
||||||
|
{
|
||||||
|
"shape": "circle",
|
||||||
|
"target": "self",
|
||||||
|
"base_delay": 1.0,
|
||||||
|
"delay_per_summon": 0.0,
|
||||||
|
"num_entities_spawned": 5,
|
||||||
|
"entity_type": "minecraft:evocation_fang",
|
||||||
|
"size": 1.5,
|
||||||
|
"entity_lifespan": 1.1,
|
||||||
|
"sound_event": "prepare.attack"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shape": "circle",
|
||||||
|
"target": "self",
|
||||||
|
"base_delay": 0.15,
|
||||||
|
"delay_per_summon": 0.0,
|
||||||
|
"num_entities_spawned": 8,
|
||||||
|
"entity_type": "minecraft:evocation_fang",
|
||||||
|
"size": 2.5,
|
||||||
|
"entity_lifespan": 1.1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"min_activation_range": 3.0,
|
||||||
|
"weight": 3,
|
||||||
|
"cooldown_time": 5.0,
|
||||||
|
"cast_duration": 2.0,
|
||||||
|
"particle_color": "#FF664D59",
|
||||||
|
"start_sound_event": "cast.spell",
|
||||||
|
"sequence": [
|
||||||
|
{
|
||||||
|
"shape": "line",
|
||||||
|
"target": "self",
|
||||||
|
"base_delay": 1.0,
|
||||||
|
"delay_per_summon": 0.05,
|
||||||
|
"num_entities_spawned": 16,
|
||||||
|
"entity_type": "minecraft:evocation_fang",
|
||||||
|
"size": 20,
|
||||||
|
"entity_lifespan": 1.1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 1,
|
||||||
|
"cooldown_time": 17.0,
|
||||||
|
"cast_duration": 5.0,
|
||||||
|
"particle_color": "#FFB3B3CC",
|
||||||
|
"sequence": [
|
||||||
|
{
|
||||||
|
"shape": "circle",
|
||||||
|
"target": "self",
|
||||||
|
"base_delay": 5.0,
|
||||||
|
"num_entities_spawned": 3,
|
||||||
|
"entity_type": "minecraft:vex",
|
||||||
|
"summon_cap": 8,
|
||||||
|
"summon_cap_radius": 16.0,
|
||||||
|
"size": 1.0,
|
||||||
|
"sound_event": "prepare.summon"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.send_event": {
|
||||||
|
"priority": 3,
|
||||||
|
"event_choices": [
|
||||||
|
{
|
||||||
|
"min_activation_range": 0.0,
|
||||||
|
"max_activation_range": 16.0,
|
||||||
|
"cooldown_time": 5.0,
|
||||||
|
"cast_duration": 3.0,
|
||||||
|
"particle_color": "#FFB38033",
|
||||||
|
"weight": 3,
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "sheep"},
|
||||||
|
{ "test" : "is_color", "subject" : "other", "value" : "blue"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"start_sound_event": "cast.spell",
|
||||||
|
"sequence": [
|
||||||
|
{
|
||||||
|
"base_delay": 2.0,
|
||||||
|
"event": "wololo",
|
||||||
|
"sound_event": "prepare.wololo"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.avoid_mob_type": {
|
||||||
|
"priority": 5,
|
||||||
|
"entity_types": [
|
||||||
|
{
|
||||||
|
"filters": { "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
"max_dist": 8,
|
||||||
|
"walk_speed_multiplier": 0.6,
|
||||||
|
"sprint_speed_multiplier": 1.0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_stroll": {
|
||||||
|
"priority": 8,
|
||||||
|
"speed_multiplier": 0.6
|
||||||
|
},
|
||||||
|
"minecraft:behavior.nearest_attackable_target": {
|
||||||
|
"priority": 2,
|
||||||
|
"entity_types": [
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"any_of": [
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "snowgolem"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "irongolem"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "villager"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"max_dist": 16
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"must_see": true
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:behavior.look_at_player": {
|
||||||
|
"priority": 9,
|
||||||
|
"look_distance": 3.0,
|
||||||
|
"probability": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.look_at_entity": {
|
||||||
|
"priority": 10,
|
||||||
|
"look_distance": 8.0,
|
||||||
|
"filters": { "test" : "is_family", "subject" : "other", "value" : "mob" }
|
||||||
|
},
|
||||||
|
"minecraft:behavior.hurt_by_target": {
|
||||||
|
"priority": 1
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:eye_of_ender_signal"
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.25,
|
||||||
|
"height": 0.25
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:exploding": {
|
||||||
|
"minecraft:explode": {
|
||||||
|
"fuseLength": 0,
|
||||||
|
"fuseLit": true,
|
||||||
|
"power": 1,
|
||||||
|
"causesFire": true,
|
||||||
|
"fireAffectedByGriefing": true,
|
||||||
|
"destroyAffectedByGriefing": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:fireball"
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.31,
|
||||||
|
"height": 0.31
|
||||||
|
},
|
||||||
|
"minecraft:projectile": {
|
||||||
|
|
||||||
|
"onHit": {
|
||||||
|
"definition_event": {
|
||||||
|
"affectProjectile": true,
|
||||||
|
"eventTrigger": {
|
||||||
|
"event": "minecraft:explode",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"power": 1.6,
|
||||||
|
"gravity": 0.00,
|
||||||
|
"inertia": 1,
|
||||||
|
"uncertaintyBase": 0,
|
||||||
|
"uncertaintyMultiplier": 0,
|
||||||
|
"anchor": 1,
|
||||||
|
"offset": [ 0, -0.1, 0 ],
|
||||||
|
"reflectOnHurt": true,
|
||||||
|
"catchFire": true
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"events": {
|
||||||
|
"minecraft:explode": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:exploding"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:fireworks_rocket"
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.25,
|
||||||
|
"height": 0.25
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:fishing_hook"
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.15,
|
||||||
|
"height": 0.15
|
||||||
|
},
|
||||||
|
"minecraft:projectile": {
|
||||||
|
"onHit": { "stick_in_ground": { } }
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,77 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:ghast"
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 15,
|
||||||
|
"suffocateTime": 0
|
||||||
|
},
|
||||||
|
"minecraft:fire_immune": true,
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 10,
|
||||||
|
"max": 10
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 4,
|
||||||
|
"height": 4
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.03
|
||||||
|
},
|
||||||
|
"minecraft:navigation.float": {
|
||||||
|
"can_float": true
|
||||||
|
},
|
||||||
|
"minecraft:behavior.float_wander": {
|
||||||
|
"priority": 2,
|
||||||
|
"must_reach": true
|
||||||
|
},
|
||||||
|
"minecraft:can_fly": {
|
||||||
|
},
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/ghast.json"
|
||||||
|
},
|
||||||
|
"minecraft:shooter": {
|
||||||
|
"type": "largefireball",
|
||||||
|
"def": "minecraft:fireball"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "ghast", "monster" ]
|
||||||
|
},
|
||||||
|
"minecraft:fall_damage": {
|
||||||
|
"value": 0.0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.ranged_attack": {
|
||||||
|
"priority": 1,
|
||||||
|
"attack_radius": 64,
|
||||||
|
"charge_shoot_trigger": 2,
|
||||||
|
"charge_charged_trigger": 1
|
||||||
|
},
|
||||||
|
"minecraft:follow_range": {
|
||||||
|
"value": 64,
|
||||||
|
"max": 64
|
||||||
|
},
|
||||||
|
"minecraft:behavior.hurt_by_target": {
|
||||||
|
"priority": 1
|
||||||
|
},
|
||||||
|
"minecraft:behavior.nearest_attackable_target": {
|
||||||
|
"priority": 2,
|
||||||
|
"entity_types": [
|
||||||
|
{
|
||||||
|
"filters": {"test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
"max_dist": 28
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"must_see": true
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,173 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:guardian_aggressive": {
|
||||||
|
"minecraft:behavior.nearest_attackable_target": {
|
||||||
|
"priority": 1,
|
||||||
|
"entity_types": [
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"any_of": [
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "squid"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"max_dist": 16
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"attack_interval_min": 1.0,
|
||||||
|
"must_see": true
|
||||||
|
},
|
||||||
|
"minecraft:target_nearby_sensor": {
|
||||||
|
"inside_range": 3.0,
|
||||||
|
"outside_range": 4.0,
|
||||||
|
"on_inside_range": {
|
||||||
|
"event": "minecraft:target_too_close",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.guardian_attack": {
|
||||||
|
"priority": 4
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:guardian_passive": {
|
||||||
|
"minecraft:timer": {
|
||||||
|
"time": [ 1, 3 ],
|
||||||
|
"looping": false,
|
||||||
|
"time_down_event": {
|
||||||
|
"event": "minecraft:target_far_enough",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.avoid_mob_type": {
|
||||||
|
"priority": 1,
|
||||||
|
"entity_types": [
|
||||||
|
{
|
||||||
|
"filters": {"test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
"max_dist": 8,
|
||||||
|
"walk_speed_multiplier": 1,
|
||||||
|
"sprint_speed_multiplier": 1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:guardian"
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.85,
|
||||||
|
"height": 0.85
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 30,
|
||||||
|
"max": 30
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.5
|
||||||
|
},
|
||||||
|
"minecraft:attack": {
|
||||||
|
"damage": 5
|
||||||
|
},
|
||||||
|
"minecraft:follow_range": {
|
||||||
|
"value": 16,
|
||||||
|
"max": 16
|
||||||
|
},
|
||||||
|
"minecraft:navigation.swim": {
|
||||||
|
},
|
||||||
|
"minecraft:movement.sway": {
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"breathesWater": true
|
||||||
|
},
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/guardian.json"
|
||||||
|
},
|
||||||
|
"minecraft:behavior.nearest_attackable_target": {
|
||||||
|
"priority": 1,
|
||||||
|
"entity_types": [
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"any_of": [
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "squid"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"max_dist": 16
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"attack_interval_min": 1.0,
|
||||||
|
"must_see": true
|
||||||
|
},
|
||||||
|
"minecraft:target_nearby_sensor": {
|
||||||
|
"inside_range": 3.0,
|
||||||
|
"outside_range": 4.0,
|
||||||
|
"on_inside_range": {
|
||||||
|
"event": "minecraft:target_too_close",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.guardian_attack": {
|
||||||
|
"priority": 4
|
||||||
|
},
|
||||||
|
"minecraft:behavior.move_towards_restriction": {
|
||||||
|
"priority": 5,
|
||||||
|
"speed_multiplier": 1.0,
|
||||||
|
"control_flags": [ "move", "look" ]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_stroll": {
|
||||||
|
"priority": 7,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.look_at_player": {
|
||||||
|
"priority": 8,
|
||||||
|
"look_distance": 12.0,
|
||||||
|
"probability": 0.01
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_look_around": {
|
||||||
|
"priority": 9
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "guardian", "monster" ]
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"minecraft:target_too_close": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:guardian_aggressive"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:guardian_passive"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:target_far_enough": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:guardian_passive"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:guardian_aggressive"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,85 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:hopper_active": {
|
||||||
|
"minecraft:item_hopper": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:rail_sensor": {
|
||||||
|
"on_activate": {
|
||||||
|
"event": "minecraft:hopper_deactivate"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:hopper_inactive": {
|
||||||
|
"minecraft:rail_sensor": {
|
||||||
|
"on_deactivate": {
|
||||||
|
"event": "minecraft:hopper_activate"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:hopper_minecart"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "minecart", "inanimate" ]
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.78,
|
||||||
|
"height": 0.7
|
||||||
|
},
|
||||||
|
"minecraft:rail_movement": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:inventory": {
|
||||||
|
"container_type": "minecart_hopper",
|
||||||
|
"inventory_size": 5,
|
||||||
|
"can_be_siphoned_from": true
|
||||||
|
},
|
||||||
|
"minecraft:is_stackable": {
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:hopper_active"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:hopper_activate": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:hopper_inactive"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:hopper_active"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:hopper_deactivate": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:hopper_active"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:hopper_inactive"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,454 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:horse_baby": {
|
||||||
|
"minecraft:is_baby": {
|
||||||
|
},
|
||||||
|
"minecraft:scale_by_age": {
|
||||||
|
"start_scale": 0.5,
|
||||||
|
"end_scale": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:ageable": {
|
||||||
|
"duration": 1200,
|
||||||
|
"feedItems": [
|
||||||
|
{
|
||||||
|
"item": "wheat",
|
||||||
|
"growth": 0.016667
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "sugar",
|
||||||
|
"growth": 0.025
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "tile.hay_block",
|
||||||
|
"growth": 0.15
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "apple",
|
||||||
|
"growth": 0.05
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_carrot",
|
||||||
|
"growth": 0.05
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_apple",
|
||||||
|
"growth": 0.2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "appleEnchanted",
|
||||||
|
"growth": 0.2
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"grow_up": {
|
||||||
|
"event": "minecraft:ageable_grow_up",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.follow_parent": {
|
||||||
|
"priority": 4,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:horse_adult": {
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/horse.json"
|
||||||
|
},
|
||||||
|
"minecraft:behavior.run_around_like_crazy": {
|
||||||
|
"priority": 1,
|
||||||
|
"speed_multiplier": 1.2
|
||||||
|
},
|
||||||
|
"minecraft:behavior.breed": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:horse_wild": {
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"seat_count": 1,
|
||||||
|
"family_types": [
|
||||||
|
"player",
|
||||||
|
"zombie"
|
||||||
|
],
|
||||||
|
"interact_text": "action.interact.mount",
|
||||||
|
"seats": {
|
||||||
|
"position": [0.0, 1.1, -0.2]
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:behavior.mount_pathing": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.5,
|
||||||
|
"target_dist": 0.0,
|
||||||
|
"track_target": true
|
||||||
|
},
|
||||||
|
"minecraft:tamemount": {
|
||||||
|
"minTemper": 0,
|
||||||
|
"maxTemper": 100,
|
||||||
|
"feed_text": "action.interact.feed",
|
||||||
|
"ride_text": "action.interact.mount",
|
||||||
|
"feedItems": [
|
||||||
|
{
|
||||||
|
"item": "wheat",
|
||||||
|
"temperMod": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "sugar",
|
||||||
|
"temperMod": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "apple",
|
||||||
|
"temperMod": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_carrot",
|
||||||
|
"temperMod": 5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_apple",
|
||||||
|
"temperMod": 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "appleEnchanted",
|
||||||
|
"temperMod": 10
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"autoRejectItems": [
|
||||||
|
{
|
||||||
|
"item": "horsearmorleather"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "horsearmoriron"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "horsearmorgold"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "horsearmordiamond"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "saddle"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"tame_event": {
|
||||||
|
"event": "minecraft:on_tame",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:horse_tamed": {
|
||||||
|
"minecraft:is_tamed": {
|
||||||
|
},
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"priority": 0,
|
||||||
|
"seat_count": 1,
|
||||||
|
"crouching_skip_interact": true,
|
||||||
|
"family_types": [
|
||||||
|
"player"
|
||||||
|
],
|
||||||
|
"interact_text": "action.interact.ride.horse",
|
||||||
|
"seats": {
|
||||||
|
"position": [ 0.0, 1.1, -0.2 ]
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:inventory": {
|
||||||
|
"inventory_size": 2,
|
||||||
|
"container_type": "horse"
|
||||||
|
},
|
||||||
|
"minecraft:breedable": {
|
||||||
|
"requireTame": true,
|
||||||
|
"inheritTamed": false,
|
||||||
|
"breedsWith": [
|
||||||
|
{
|
||||||
|
"mateType": "minecraft:horse",
|
||||||
|
"babyType": "minecraft:horse",
|
||||||
|
"breed_event": {
|
||||||
|
"event": "minecraft:entity_born",
|
||||||
|
"target": "baby"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mateType": "minecraft:donkey",
|
||||||
|
"babyType": "minecraft:mule",
|
||||||
|
"breed_event": {
|
||||||
|
"event": "minecraft:entity_born",
|
||||||
|
"target": "baby"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"breedItems": [
|
||||||
|
"golden_carrot",
|
||||||
|
"golden_apple",
|
||||||
|
"appleEnchanted"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.tempt": {
|
||||||
|
"priority": 5,
|
||||||
|
"speed_multiplier": 1.2,
|
||||||
|
"items": [
|
||||||
|
"apple",
|
||||||
|
"carrot",
|
||||||
|
"golden_apple",
|
||||||
|
"appleEnchanted",
|
||||||
|
"golden_carrot",
|
||||||
|
"tile.hay_block",
|
||||||
|
"sugar",
|
||||||
|
"bread",
|
||||||
|
"wheat"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:horse_leashed": {
|
||||||
|
"minecraft:behavior.move_towards_restriction": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:horse_saddled": {
|
||||||
|
"minecraft:is_saddled": {
|
||||||
|
},
|
||||||
|
"minecraft:input_ground_controlled": {
|
||||||
|
},
|
||||||
|
"minecraft:can_power_jump": {
|
||||||
|
},
|
||||||
|
"minecraft:behavior.player_ride_tamed": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:horse"
|
||||||
|
},
|
||||||
|
"minecraft:equippable": {
|
||||||
|
"slots": [
|
||||||
|
{
|
||||||
|
"slot": 0,
|
||||||
|
"item": "saddle",
|
||||||
|
"accepted_items": ["saddle"],
|
||||||
|
"on_equip": {
|
||||||
|
"event": "minecraft:horse_saddled"
|
||||||
|
},
|
||||||
|
"on_unequip": {
|
||||||
|
"event": "minecraft:horse_unsaddled"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"slot": 1,
|
||||||
|
"item": "horsearmoriron",
|
||||||
|
"accepted_items": [
|
||||||
|
"horsearmorleather",
|
||||||
|
"horsearmoriron",
|
||||||
|
"horsearmorgold",
|
||||||
|
"horsearmordiamond"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "horse" ]
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 15,
|
||||||
|
"suffocateTime": 0
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 1.4,
|
||||||
|
"height": 1.6
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": {
|
||||||
|
"range_min": 15,
|
||||||
|
"range_max": 30
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": {
|
||||||
|
"range_min": 0.1125,
|
||||||
|
"range_max": 0.3375
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
"can_float": true,
|
||||||
|
"avoid_water": true,
|
||||||
|
"avoid_damage_blocks": true
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
"minecraft:horse.jump_strength": {
|
||||||
|
"value": {
|
||||||
|
"range_min": 0.4,
|
||||||
|
"range_max": 1.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"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:healable": {
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"item": "wheat",
|
||||||
|
"heal_amount": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "sugar",
|
||||||
|
"heal_amount": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "tile.hay_block",
|
||||||
|
"heal_amount": 20
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "apple",
|
||||||
|
"heal_amount": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_carrot",
|
||||||
|
"heal_amount": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_apple",
|
||||||
|
"heal_amount": 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "appleEnchanted",
|
||||||
|
"heal_amount": 10
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.float": {
|
||||||
|
"priority": 0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.panic": {
|
||||||
|
"priority": 3,
|
||||||
|
"speed_multiplier": 1.2
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_stroll": {
|
||||||
|
"priority": 6,
|
||||||
|
"speed_multiplier": 0.7
|
||||||
|
},
|
||||||
|
"minecraft:behavior.look_at_player": {
|
||||||
|
"priority": 7,
|
||||||
|
"look_distance": 6.0,
|
||||||
|
"probability": 0.02
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_look_around": {
|
||||||
|
"priority": 8
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"randomize": [
|
||||||
|
{
|
||||||
|
"weight": 36,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:horse_adult",
|
||||||
|
"minecraft:horse_wild"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 9,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:horse_baby"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:entity_born": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:horse_baby"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:on_tame": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:horse_wild"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:horse_tamed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:ageable_grow_up": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:horse_baby"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:horse_adult",
|
||||||
|
"minecraft:horse_wild"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:on_leash": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:horse_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:on_unleash": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:horse_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:horse_saddled": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:horse_saddled"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:horse_unsaddled": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:horse_saddled"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,211 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:zombie_husk_baby": {
|
||||||
|
"minecraft:is_baby": { },
|
||||||
|
"minecraft:scale": {
|
||||||
|
"value":0.53125
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.35
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:zombie_husk_adult": {
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.23
|
||||||
|
},
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"seat_count": 1,
|
||||||
|
"family_types": [
|
||||||
|
"zombie"
|
||||||
|
],
|
||||||
|
"seats": {
|
||||||
|
"position": [ 0.0, 1.1, -0.35 ],
|
||||||
|
"lock_rider_rotation": 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.mount_pathing": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.25,
|
||||||
|
"target_dist": 0.0,
|
||||||
|
"track_target": true
|
||||||
|
},
|
||||||
|
"minecraft:scale": {
|
||||||
|
"value": 1.0625
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:zombie_husk_jockey": {
|
||||||
|
"minecraft:behavior.find_mount": {
|
||||||
|
"priority": 1,
|
||||||
|
"within_radius": 16
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:husk"
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 15,
|
||||||
|
"suffocateTime": 0
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.6,
|
||||||
|
"height": 1.8
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
|
||||||
|
// Zombie_husk Components
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family":["husk", "zombie", "undead", "monster"]
|
||||||
|
},
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/zombie.json"
|
||||||
|
},
|
||||||
|
"minecraft:equipment": {
|
||||||
|
"table": "loot_tables/entities/zombie_equipment.json"
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 20,
|
||||||
|
"max": 20
|
||||||
|
},
|
||||||
|
"minecraft:attack": {
|
||||||
|
"damage": 3,
|
||||||
|
"effect_name": "hunger",
|
||||||
|
"effect_duration": 30
|
||||||
|
},
|
||||||
|
"minecraft:variant": {
|
||||||
|
"value": 2
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
"can_float": true,
|
||||||
|
"can_pass_doors": true,
|
||||||
|
"can_open_doors": true,
|
||||||
|
"avoid_water": false,
|
||||||
|
"avoid_portals": false
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
},
|
||||||
|
"minecraft:can_climb": {
|
||||||
|
},
|
||||||
|
|
||||||
|
// Zombie_husk Behaviors
|
||||||
|
"minecraft:behavior.float": {
|
||||||
|
"priority": 0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.break_door": {
|
||||||
|
"priority": 1
|
||||||
|
},
|
||||||
|
"minecraft:behavior.melee_attack": {
|
||||||
|
"priority": 3,
|
||||||
|
"speed_multiplier": 1,
|
||||||
|
"track_target": false
|
||||||
|
},
|
||||||
|
"minecraft:behavior.move_towards_restriction": {
|
||||||
|
"priority": 4,
|
||||||
|
"speed_multiplier": 1
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_stroll": {
|
||||||
|
"priority": 6,
|
||||||
|
"speed_multiplier": 1
|
||||||
|
},
|
||||||
|
"minecraft:behavior.look_at_player": {
|
||||||
|
"priority": 7,
|
||||||
|
"look_distance": 6,
|
||||||
|
"probability": 0.02
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_look_around": {
|
||||||
|
"priority": 7
|
||||||
|
},
|
||||||
|
"minecraft:behavior.hurt_by_target": {
|
||||||
|
"priority": 1
|
||||||
|
},
|
||||||
|
"minecraft:behavior.nearest_attackable_target": {
|
||||||
|
"priority": 2,
|
||||||
|
"within_radius": 25,
|
||||||
|
"entity_types": [
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"any_of": [
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "player"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "snowgolem"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "irongolem"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "villager"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"max_dist": 35
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"must_see": true
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"randomize": [
|
||||||
|
{
|
||||||
|
"weight": 9500,
|
||||||
|
"remove": {
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:zombie_husk_adult"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 425,
|
||||||
|
"remove": {
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:zombie_husk_baby"
|
||||||
|
]
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 75,
|
||||||
|
"remove": {
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:zombie_husk_baby",
|
||||||
|
"minecraft:zombie_husk_jockey"
|
||||||
|
]
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,184 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:golem_leashed": {
|
||||||
|
"minecraft:behavior.move_towards_restriction": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:player_created": {
|
||||||
|
"minecraft:behavior.hurt_by_target": {
|
||||||
|
"priority": 2,
|
||||||
|
"entity_types": {
|
||||||
|
"filters": {
|
||||||
|
"any_of": [
|
||||||
|
{ "test" : "is_family", "subject" : "other", "operator": "!=", "value" : "player"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "operator": "!=", "value" : "creeper"}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:village_created": {
|
||||||
|
"minecraft:behavior.defend_village_target": {
|
||||||
|
"priority": 1
|
||||||
|
},
|
||||||
|
"minecraft:behavior.hurt_by_target": {
|
||||||
|
"priority": 2,
|
||||||
|
"entity_types": {
|
||||||
|
"filters": { "test" : "is_family", "subject" : "other", "operator": "!=", "value" : "creeper"}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:iron_golem"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "irongolem" ]
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 1.4,
|
||||||
|
"height": 2.9
|
||||||
|
},
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/iron_golem.json"
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 100,
|
||||||
|
"max": 100
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.25
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
"can_float": false,
|
||||||
|
"avoid_water": true,
|
||||||
|
"avoid_damage_blocks": true
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
},
|
||||||
|
"minecraft:can_climb": {
|
||||||
|
},
|
||||||
|
"minecraft:attack": {
|
||||||
|
"damage": {
|
||||||
|
"range_min": 7,
|
||||||
|
"range_max": 21
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:fall_damage": {
|
||||||
|
"value": 0.0
|
||||||
|
},
|
||||||
|
"minecraft:knockback_resistance": {
|
||||||
|
"value": 1.0
|
||||||
|
},
|
||||||
|
"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.melee_attack": {
|
||||||
|
"priority": 1,
|
||||||
|
"target_dist": 1.0,
|
||||||
|
"track_target": true
|
||||||
|
},
|
||||||
|
"minecraft:behavior.move_towards_target": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 0.9,
|
||||||
|
"within_radius": 32
|
||||||
|
},
|
||||||
|
"minecraft:behavior.move_through_village": {
|
||||||
|
"priority": 3,
|
||||||
|
"speed_multiplier": 0.6,
|
||||||
|
"only_at_night": true
|
||||||
|
},
|
||||||
|
"minecraft:behavior.move_towards_restriction": {
|
||||||
|
"priority": 4,
|
||||||
|
"speed_multiplier": 1
|
||||||
|
},
|
||||||
|
"minecraft:behavior.offer_flower": {
|
||||||
|
"priority": 5
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_stroll": {
|
||||||
|
"priority": 6,
|
||||||
|
"speed_multiplier": 1,
|
||||||
|
"xz_dist": 16
|
||||||
|
},
|
||||||
|
"minecraft:behavior.look_at_player": {
|
||||||
|
"priority": 7,
|
||||||
|
"look_distance": 6.0,
|
||||||
|
"probability": 0.02
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_look_around": {
|
||||||
|
"priority": 8
|
||||||
|
},
|
||||||
|
"minecraft:behavior.nearest_attackable_target": {
|
||||||
|
"priority": 3,
|
||||||
|
"entity_types": [
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "monster"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "operator": "!=", "value" : "creeper"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"within_default": 10
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"must_see": true,
|
||||||
|
"must_reach": true
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"minecraft:from_player": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:player_created"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:from_village": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:village_created"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:on_leash": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:golem_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:on_unleash": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:golem_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:lightning_bolt"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family":["lightning"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:lingering_potion"
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.25,
|
||||||
|
"height": 0.25
|
||||||
|
},
|
||||||
|
"minecraft:projectile": {
|
||||||
|
"onHit": {
|
||||||
|
"douse_fire": { },
|
||||||
|
"spawn_aoe_cloud": {
|
||||||
|
"radius": 3.0,
|
||||||
|
"radius_on_use": -0.5,
|
||||||
|
"duration": 30,
|
||||||
|
"reapplication_delay": 40
|
||||||
|
},
|
||||||
|
"remove_on_hit": { }
|
||||||
|
},
|
||||||
|
"power": 0.5,
|
||||||
|
"gravity": 0.05,
|
||||||
|
"angleoffset": -20.0,
|
||||||
|
"hitSound": "glass"
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,635 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:llama_baby": {
|
||||||
|
"minecraft:is_baby": {
|
||||||
|
},
|
||||||
|
"minecraft:scale": {
|
||||||
|
"value": 0.5
|
||||||
|
},
|
||||||
|
"minecraft:ageable": {
|
||||||
|
"duration": 1200,
|
||||||
|
"feedItems": [
|
||||||
|
{
|
||||||
|
"item": "wheat",
|
||||||
|
"growth": 0.1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "tile.hay_block",
|
||||||
|
"growth": 0.9
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"grow_up": {
|
||||||
|
"event": "minecraft:ageable_grow_up",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:behavior.follow_parent": {
|
||||||
|
"priority": 5,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:llama_adult": {
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/llama.json"
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.9,
|
||||||
|
"height": 1.87
|
||||||
|
},
|
||||||
|
"minecraft:behavior.breed": {
|
||||||
|
"priority": 4,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:breedable": {
|
||||||
|
"requireTame": true,
|
||||||
|
"inheritTamed": false,
|
||||||
|
"breedsWith": {
|
||||||
|
"mateType": "minecraft:llama",
|
||||||
|
"babyType": "minecraft:llama",
|
||||||
|
"breed_event": {
|
||||||
|
"event": "minecraft:entity_born",
|
||||||
|
"target": "baby"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"breedItems": [ "tile.hay_block" ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:strength_1": {
|
||||||
|
"minecraft:strength": {
|
||||||
|
"value": 1,
|
||||||
|
"max": 5
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:strength_2": {
|
||||||
|
"minecraft:strength": {
|
||||||
|
"value": 2,
|
||||||
|
"max": 5
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:strength_3": {
|
||||||
|
"minecraft:strength": {
|
||||||
|
"value": 3,
|
||||||
|
"max": 5
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:strength_4": {
|
||||||
|
"minecraft:strength": {
|
||||||
|
"value": 4,
|
||||||
|
"max": 5
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:strength_5": {
|
||||||
|
"minecraft:strength": {
|
||||||
|
"value": 5,
|
||||||
|
"max": 5
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:llama_creamy": {
|
||||||
|
"minecraft:variant": {
|
||||||
|
"value": 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:llama_white": {
|
||||||
|
"minecraft:variant": {
|
||||||
|
"value": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:llama_brown": {
|
||||||
|
"minecraft:variant": {
|
||||||
|
"value": 2
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:llama_gray": {
|
||||||
|
"minecraft:variant": {
|
||||||
|
"value": 3
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:llama_wild": {
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"seat_count": 1,
|
||||||
|
"family_types": [
|
||||||
|
"player"
|
||||||
|
],
|
||||||
|
"interact_text": "action.interact.mount",
|
||||||
|
"seats": {
|
||||||
|
"position": [ 0.0, 1.25, -0.3 ]
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:tamemount": {
|
||||||
|
"minTemper": 0,
|
||||||
|
"maxTemper": 30,
|
||||||
|
"feed_text": "action.interact.feed",
|
||||||
|
"ride_text": "action.interact.mount",
|
||||||
|
"feedItems": [
|
||||||
|
{
|
||||||
|
"item": "wheat",
|
||||||
|
"temperMod": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "tile.hay_block",
|
||||||
|
"temperMod": 6
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"autoRejectItems": [
|
||||||
|
{
|
||||||
|
"item": "horsearmorleather"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "horsearmoriron"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "horsearmorgold"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "horsearmordiamond"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "saddle"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"tame_event": {
|
||||||
|
"event": "minecraft:on_tame",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
"minecraft:llama_tamed": {
|
||||||
|
"minecraft:is_tamed": {
|
||||||
|
},
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"priority": 0,
|
||||||
|
"seat_count": 1,
|
||||||
|
"crouching_skip_interact": true,
|
||||||
|
"family_types": [
|
||||||
|
"player"
|
||||||
|
],
|
||||||
|
"interact_text": "action.interact.ride.horse",
|
||||||
|
"seats": {
|
||||||
|
"position": [ 0.0, 1.1, -0.2 ]
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:inventory": {
|
||||||
|
"inventory_size": 16,
|
||||||
|
"container_type": "horse",
|
||||||
|
"additional_slots_per_strength": 3
|
||||||
|
},
|
||||||
|
"minecraft:equippable": {
|
||||||
|
"slots": [
|
||||||
|
{
|
||||||
|
"slot": 1,
|
||||||
|
"item": "carpet",
|
||||||
|
"accepted_items": [ "carpet" ]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:llama_unchested": {
|
||||||
|
"minecraft:interact": [
|
||||||
|
{
|
||||||
|
"on_interact": {
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
{ "test" : "has_equipment", "domain": "hand","subject" : "other", "value" : "chest:0"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"event": "minecraft:on_chest",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"use_item": true,
|
||||||
|
"interact_text": "action.interact.attachchest"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:llama_chested": {
|
||||||
|
"minecraft:is_chested": {
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:llama_leashed": {
|
||||||
|
"minecraft:behavior.move_towards_restriction": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:llama_angry": {
|
||||||
|
"minecraft:angry": {
|
||||||
|
"duration": 4,
|
||||||
|
"broadcastAnger": false,
|
||||||
|
"calm_event": {
|
||||||
|
"event": "minecraft:on_calm",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.ranged_attack": {
|
||||||
|
"priority": 2,
|
||||||
|
"attack_radius": 64,
|
||||||
|
"charge_shoot_trigger": 2,
|
||||||
|
"charge_charged_trigger": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:llama_angry_wolf": {
|
||||||
|
"minecraft:angry": {
|
||||||
|
"duration": -1,
|
||||||
|
"broadcastAnger": false,
|
||||||
|
"calm_event": {
|
||||||
|
"event": "minecraft:on_calm",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.ranged_attack": {
|
||||||
|
"priority": 2,
|
||||||
|
"attack_radius": 64,
|
||||||
|
"charge_shoot_trigger": 2,
|
||||||
|
"charge_charged_trigger": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:in_caravan": {
|
||||||
|
"minecraft:damage_sensor": [
|
||||||
|
{
|
||||||
|
"cause": "all",
|
||||||
|
"deals_damage": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:llama"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "llama" ]
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 15,
|
||||||
|
"suffocateTime": 0
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": {
|
||||||
|
"range_min": 15,
|
||||||
|
"range_max": 30
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.25
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
"can_float": true,
|
||||||
|
"avoid_damage_blocks": true
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
},
|
||||||
|
"minecraft:follow_range": {
|
||||||
|
"value": 40,
|
||||||
|
"max": 40
|
||||||
|
},
|
||||||
|
"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:shooter": {
|
||||||
|
"type": "llamaspit",
|
||||||
|
"def": "minecraft:llama_spit"
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:behavior.float": {
|
||||||
|
"priority": 0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.run_around_like_crazy": {
|
||||||
|
"priority": 1,
|
||||||
|
"speed_multiplier": 1.2
|
||||||
|
},
|
||||||
|
"minecraft:behavior.follow_caravan": {
|
||||||
|
"priority": 3,
|
||||||
|
"speed_multiplier": 2.1,
|
||||||
|
"entity_count": 10,
|
||||||
|
"entity_types": {
|
||||||
|
"filters": { "test" : "is_family", "subject" : "other", "value" : "llama"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.panic": {
|
||||||
|
"priority": 4,
|
||||||
|
"speed_multiplier": 1.2
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_stroll": {
|
||||||
|
"priority": 6,
|
||||||
|
"speed_multiplier": 0.7
|
||||||
|
},
|
||||||
|
"minecraft:behavior.look_at_player": {
|
||||||
|
"priority": 7,
|
||||||
|
"look_distance": 6.0,
|
||||||
|
"probability": 0.02
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_look_around": {
|
||||||
|
"priority": 8
|
||||||
|
},
|
||||||
|
"minecraft:behavior.mount_pathing": {
|
||||||
|
"priority": 1,
|
||||||
|
"speed_multiplier": 1.25,
|
||||||
|
"target_dist": 0.0,
|
||||||
|
"track_target": true
|
||||||
|
},
|
||||||
|
"minecraft:behavior.hurt_by_target": {
|
||||||
|
"priority": 1,
|
||||||
|
"hurt_owner": true
|
||||||
|
},
|
||||||
|
"minecraft:damage_sensor": [
|
||||||
|
{
|
||||||
|
"cause": "all",
|
||||||
|
"deals_damage": true,
|
||||||
|
"on_damage": {
|
||||||
|
"filters": { "test": "in_caravan", "value": false },
|
||||||
|
"event": "minecraft:become_angry"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"minecraft:behavior.nearest_attackable_target": {
|
||||||
|
"priority": 2,
|
||||||
|
"attack_interval": 16,
|
||||||
|
"entity_types": [
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "wolf"},
|
||||||
|
{ "test" : "has_component","subject" : "other", "operator": "!=", "value" : "minecraft:is_tamed"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"max_dist": 10
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"must_see": false,
|
||||||
|
"must_reach": true
|
||||||
|
},
|
||||||
|
"minecraft:on_target_acquired": {
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test" : "is_family", "subject" : "target", "value" : "wolf"},
|
||||||
|
{ "test" : "has_component","subject" : "target", "operator": "!=", "value" : "minecraft:is_tamed"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"event": "minecraft:mad_at_wolf",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"minecraft:on_target_escape": {
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test" : "is_family", "subject" : "target", "value" : "wolf"},
|
||||||
|
{ "test" : "has_component","subject" : "target", "operator": "!=", "value" : "minecraft:is_tamed"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"event": "minecraft:on_calm",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"sequence": [
|
||||||
|
{
|
||||||
|
"randomize": [
|
||||||
|
{
|
||||||
|
"weight": 90,
|
||||||
|
"remove": {
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_adult",
|
||||||
|
"minecraft:llama_wild"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 10,
|
||||||
|
"remove": {
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_baby"
|
||||||
|
]
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"randomize": [
|
||||||
|
{
|
||||||
|
"weight": 32,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:strength_1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 32,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:strength_2"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 32,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:strength_3"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 2,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:strength_4"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 2,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:strength_5"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"randomize": [
|
||||||
|
{
|
||||||
|
"weight": 25,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_creamy"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 25,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_white"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 25,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_brown"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 25,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_gray"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:entity_born": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_baby"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:ageable_grow_up": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_baby"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_adult",
|
||||||
|
"minecraft:llama_wild"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:on_tame": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_wild"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_tamed",
|
||||||
|
"minecraft:llama_unchested"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
"minecraft:on_leash": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:on_unleash": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:join_caravan": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:in_caravan"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:leave_caravan": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:in_caravan"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:mad_at_wolf": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_angry_wolf"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:become_angry": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_angry"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:on_calm": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_angry",
|
||||||
|
"minecraft:llama_angry_wolf"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:on_chest": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_unchested"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:llama_chested"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:llama_spit"
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.31,
|
||||||
|
"height": 0.31
|
||||||
|
},
|
||||||
|
"minecraft:projectile": {
|
||||||
|
|
||||||
|
"onHit": {
|
||||||
|
"impact_damage": {
|
||||||
|
"damage": 1,
|
||||||
|
"knockback": false
|
||||||
|
},
|
||||||
|
"remove_on_hit": { }
|
||||||
|
},
|
||||||
|
"power": 1.5,
|
||||||
|
"gravity": 0.06,
|
||||||
|
"inertia": 1,
|
||||||
|
"uncertaintyBase": 10,
|
||||||
|
"uncertaintyMultiplier": 4,
|
||||||
|
"anchor": 1,
|
||||||
|
"offset": [ 0, -0.1, 0 ],
|
||||||
|
"reflectOnHurt": true
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,167 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:slime_large": {
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 1.04,
|
||||||
|
"height": 1.04
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 16,
|
||||||
|
"max": 16
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.75
|
||||||
|
},
|
||||||
|
"minecraft:attack": {
|
||||||
|
"damage": 6
|
||||||
|
},
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/magma_cube.json"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:slime_medium": {
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.78,
|
||||||
|
"height": 0.78
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 4,
|
||||||
|
"max": 4
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.66
|
||||||
|
},
|
||||||
|
"minecraft:attack": {
|
||||||
|
"damage": 4
|
||||||
|
},
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/magma_cube.json"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:slime_small": {
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.52,
|
||||||
|
"height": 0.52
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 1,
|
||||||
|
"max": 1
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.6
|
||||||
|
},
|
||||||
|
"minecraft:attack": {
|
||||||
|
"damage": 2
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:slime_calm": {
|
||||||
|
"minecraft:movement.jump": {
|
||||||
|
"jump_delay": [ 2.0, 6.0 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:slime_aggressive": {
|
||||||
|
"minecraft:movement.jump": {
|
||||||
|
"jump_delay": [ 0.667, 2.0 ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:magma_cube"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "magmacube", "monster" ]
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 15,
|
||||||
|
"suffocateTime": 0,
|
||||||
|
"breathesLava": true
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
"minecraft:fire_immune": true,
|
||||||
|
"minecraft:burns_in_daylight": false,
|
||||||
|
"minecraft:fall_damage": {
|
||||||
|
"value": 0.0
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
"can_float": true,
|
||||||
|
"avoid_water": true
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
},
|
||||||
|
"minecraft:movement.jump": {
|
||||||
|
"jump_delay": [ 2.0, 6.0 ]
|
||||||
|
},
|
||||||
|
"minecraft:can_climb": {
|
||||||
|
},
|
||||||
|
"minecraft:on_target_acquired": {
|
||||||
|
"event": "minecraft:become_aggressive",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"minecraft:on_target_escape": {
|
||||||
|
"event": "minecraft:become_calm",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"minecraft:behavior.slime_float": {
|
||||||
|
"priority": 1
|
||||||
|
},
|
||||||
|
"minecraft:behavior.slime_attack": {
|
||||||
|
"priority": 3
|
||||||
|
},
|
||||||
|
"minecraft:behavior.slime_random_direction": {
|
||||||
|
"priority": 4
|
||||||
|
},
|
||||||
|
"minecraft:behavior.slime_keep_on_jumping": {
|
||||||
|
"priority": 5
|
||||||
|
},
|
||||||
|
"minecraft:behavior.nearest_attackable_target": {
|
||||||
|
"priority": 2,
|
||||||
|
"entity_types": [
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "player"
|
||||||
|
},
|
||||||
|
"max_dist": 16
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"must_see": true
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:slime_calm"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:become_calm": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:slime_calm"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:become_aggressive": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:slime_aggressive"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:minecart"
|
||||||
|
},
|
||||||
|
"minecraft:is_stackable": {
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "minecart", "inanimate" ]
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.98,
|
||||||
|
"height": 0.7
|
||||||
|
},
|
||||||
|
"minecraft:rail_movement": {
|
||||||
|
},
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"seat_count": 1,
|
||||||
|
"interact_text": "action.interact.ride.minecart",
|
||||||
|
"pull_in_entities": true,
|
||||||
|
|
||||||
|
"seats": {
|
||||||
|
"position": [ 0.0, -0.2, 0.0 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:rail_sensor": {
|
||||||
|
"eject_on_activate": true
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,283 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:mooshroom_become_cow": {
|
||||||
|
"minecraft:transformation": {
|
||||||
|
"into": "minecraft:cow"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:cow_baby": {
|
||||||
|
"minecraft:is_baby": {
|
||||||
|
},
|
||||||
|
"minecraft:scale": {
|
||||||
|
"value":0.5
|
||||||
|
},
|
||||||
|
"minecraft:ageable": {
|
||||||
|
"threshold": 1200,
|
||||||
|
"feedItems": "wheat",
|
||||||
|
"grow_up": {
|
||||||
|
"event": "minecraft:ageable_grow_up",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.follow_parent": {
|
||||||
|
"priority": 6,
|
||||||
|
"speed_multiplier": 1.1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:cow_adult": {
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/mooshroom.json"
|
||||||
|
},
|
||||||
|
"minecraft:behavior.breed": {
|
||||||
|
"priority": 3,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:breedable": {
|
||||||
|
"requireTame": false,
|
||||||
|
"breedItems": "wheat",
|
||||||
|
"breedsWith": {
|
||||||
|
"mateType": "minecraft:mooshroom",
|
||||||
|
"babyType": "minecraft:mooshroom",
|
||||||
|
"breed_event": {
|
||||||
|
"event": "minecraft:entity_born",
|
||||||
|
"target": "baby"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:interact": [
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "bowl"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
{ "test" : "has_component", "operator": "!=", "value" : "minecraft:transformation"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"use_item": true,
|
||||||
|
"transform_to_item": "mushroom_stew:0",
|
||||||
|
"interact_text": "action.interact.moostew"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "shears"},
|
||||||
|
{ "test" : "has_component", "operator": "!=", "value" : "minecraft:transformation"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"event": "become_cow",
|
||||||
|
"target": "self",
|
||||||
|
"use_item": false,
|
||||||
|
"hurt_item": 1,
|
||||||
|
"play_sounds": "shear",
|
||||||
|
"spawn_items": { "table": "loot_tables/entities/mooshroom_shear.json" },
|
||||||
|
"particle_on_start": { "particle_type": "largeexplode", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true },
|
||||||
|
"interact_text": "action.interact.mooshear"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"on_interact": {
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "bucket:0"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "player"}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"use_item": true,
|
||||||
|
"transform_to_item": "bucket:1",
|
||||||
|
"play_sounds": "milk",
|
||||||
|
"interact_text": "action.interact.milk"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:cow_leashed": {
|
||||||
|
"minecraft:behavior.move_towards_restriction": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:mooshroom"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "mushroomcow" ]
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 15,
|
||||||
|
"suffocateTime": 0
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.9,
|
||||||
|
"height": 1.3
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 10,
|
||||||
|
"max": 10
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.25
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
"can_float": true,
|
||||||
|
"avoid_water": true,
|
||||||
|
"avoid_damage_blocks": true
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
},
|
||||||
|
"minecraft:can_climb": {
|
||||||
|
},
|
||||||
|
"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:rideable": {
|
||||||
|
"seat_count": 1,
|
||||||
|
"family_types": [
|
||||||
|
"zombie"
|
||||||
|
],
|
||||||
|
"seats": {
|
||||||
|
"position": [0.0, 1.105, 0.0]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.float": {
|
||||||
|
"priority": 0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.panic": {
|
||||||
|
"priority": 1,
|
||||||
|
"speed_multiplier": 1.25
|
||||||
|
},
|
||||||
|
"minecraft:behavior.mount_pathing": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.5,
|
||||||
|
"target_dist": 0.0,
|
||||||
|
"track_target": true
|
||||||
|
},
|
||||||
|
"minecraft:behavior.breed": {
|
||||||
|
"priority": 3,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.tempt": {
|
||||||
|
"priority": 4,
|
||||||
|
"speed_multiplier": 1.25,
|
||||||
|
"items": [
|
||||||
|
"wheat"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.follow_parent": {
|
||||||
|
"priority": 5,
|
||||||
|
"speed_multiplier": 1.1
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_stroll": {
|
||||||
|
"priority": 6,
|
||||||
|
"speed_multiplier": 0.8
|
||||||
|
},
|
||||||
|
"minecraft:behavior.look_at_player": {
|
||||||
|
"priority": 7,
|
||||||
|
"look_distance": 6.0,
|
||||||
|
"probability": 0.02
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_look_around": {
|
||||||
|
"priority": 9
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"become_cow": {
|
||||||
|
"remove": {
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:mooshroom_become_cow"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"randomize": [
|
||||||
|
{
|
||||||
|
"weight": 95,
|
||||||
|
"remove": {
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:cow_adult"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 5,
|
||||||
|
"remove": {
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:cow_baby"
|
||||||
|
]
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:entity_born": {
|
||||||
|
"remove": {
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:cow_baby"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:ageable_grow_up": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:cow_baby"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:cow_adult"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:on_leash": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:cow_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:on_unleash": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:cow_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,442 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:mule_baby": {
|
||||||
|
"minecraft:is_baby": {
|
||||||
|
},
|
||||||
|
"minecraft:scale_by_age": {
|
||||||
|
"start_scale": 0.5,
|
||||||
|
"end_scale": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:ageable": {
|
||||||
|
"duration": 1200,
|
||||||
|
"feedItems": [
|
||||||
|
{
|
||||||
|
"item": "wheat",
|
||||||
|
"growth": 0.016667
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "sugar",
|
||||||
|
"growth": 0.025
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "tile.hay_block",
|
||||||
|
"growth": 0.15
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "apple",
|
||||||
|
"growth": 0.05
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_carrot",
|
||||||
|
"growth": 0.05
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_apple",
|
||||||
|
"growth": 0.2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "appleEnchanted",
|
||||||
|
"growth": 0.2
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"grow_up": {
|
||||||
|
"event": "minecraft:ageable_grow_up",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.follow_parent": {
|
||||||
|
"priority": 4,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:mule_adult": {
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/horse.json"
|
||||||
|
},
|
||||||
|
"minecraft:behavior.run_around_like_crazy": {
|
||||||
|
"priority": 1,
|
||||||
|
"speed_multiplier": 1.2
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:mule_wild": {
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"seat_count": 1,
|
||||||
|
"family_types": [
|
||||||
|
"player",
|
||||||
|
"zombie"
|
||||||
|
],
|
||||||
|
"interact_text": "action.interact.mount",
|
||||||
|
"seats": {
|
||||||
|
"position": [ 0.0, 0.975, -0.2 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.mount_pathing": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.5,
|
||||||
|
"target_dist": 0.0,
|
||||||
|
"track_target": true
|
||||||
|
},
|
||||||
|
"minecraft:tamemount": {
|
||||||
|
"minTemper": 0,
|
||||||
|
"maxTemper": 100,
|
||||||
|
"feed_text": "action.interact.feed",
|
||||||
|
"ride_text": "action.interact.mount",
|
||||||
|
"feedItems": [
|
||||||
|
{
|
||||||
|
"item": "wheat",
|
||||||
|
"temperMod": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "sugar",
|
||||||
|
"temperMod": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "apple",
|
||||||
|
"temperMod": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_carrot",
|
||||||
|
"temperMod": 5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_apple",
|
||||||
|
"temperMod": 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "appleEnchanted",
|
||||||
|
"temperMod": 10
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"autoRejectItems": [
|
||||||
|
{
|
||||||
|
"item": "horsearmorleather"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "horsearmoriron"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "horsearmorgold"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "horsearmordiamond"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "saddle"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"tame_event": {
|
||||||
|
"event": "minecraft:on_tame",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:mule_tamed": {
|
||||||
|
"minecraft:is_tamed": {
|
||||||
|
},
|
||||||
|
"minecraft:equippable": {
|
||||||
|
"slots": [
|
||||||
|
{
|
||||||
|
"slot": 0,
|
||||||
|
"item": "saddle",
|
||||||
|
"accepted_items": [ "saddle" ],
|
||||||
|
"on_equip": {
|
||||||
|
"event": "minecraft:mule_saddled"
|
||||||
|
},
|
||||||
|
"on_unequip": {
|
||||||
|
"event": "minecraft:mule_unsaddled"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"priority": 0,
|
||||||
|
"seat_count": 1,
|
||||||
|
"crouching_skip_interact": true,
|
||||||
|
"interact_text": "action.interact.ride.horse",
|
||||||
|
"seats": {
|
||||||
|
"position": [ 0.0, 0.975, -0.2 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:inventory": {
|
||||||
|
"inventory_size": 17,
|
||||||
|
"container_type": "horse"
|
||||||
|
},
|
||||||
|
"minecraft:behavior.tempt": {
|
||||||
|
"priority": 5,
|
||||||
|
"speed_multiplier": 1.2,
|
||||||
|
"items": [
|
||||||
|
"apple",
|
||||||
|
"carrot",
|
||||||
|
"golden_apple",
|
||||||
|
"appleEnchanted",
|
||||||
|
"golden_carrot",
|
||||||
|
"carrotOnAStick",
|
||||||
|
"tile.hay_block",
|
||||||
|
"sugar",
|
||||||
|
"bread",
|
||||||
|
"wheat"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:mule_unchested": {
|
||||||
|
"minecraft:interact": [
|
||||||
|
{
|
||||||
|
"on_interact": {
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "chest:0"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "player"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"event": "minecraft:on_chest",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"use_item": true,
|
||||||
|
"interact_text": "action.interact.attachchest"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:mule_chested": {
|
||||||
|
"minecraft:is_chested": {
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:mule_saddled": {
|
||||||
|
"minecraft:is_saddled": {
|
||||||
|
},
|
||||||
|
"minecraft:input_ground_controlled": {
|
||||||
|
},
|
||||||
|
"minecraft:can_power_jump": {
|
||||||
|
},
|
||||||
|
"minecraft:behavior.player_ride_tamed": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:mule_leashed": {
|
||||||
|
"minecraft:behavior.move_towards_restriction": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:mule"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "mule" ]
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 15,
|
||||||
|
"suffocateTime": 0
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 1.4,
|
||||||
|
"height": 1.6
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": {
|
||||||
|
"range_min": 15,
|
||||||
|
"range_max": 30
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.175
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
"can_float": true,
|
||||||
|
"avoid_water": true,
|
||||||
|
"avoid_damage_blocks": true
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
"minecraft:horse.jump_strength": {
|
||||||
|
"value": 0.5
|
||||||
|
},
|
||||||
|
"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:healable": {
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"item": "wheat",
|
||||||
|
"heal_amount": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "sugar",
|
||||||
|
"heal_amount": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "tile.hay_block",
|
||||||
|
"heal_amount": 20
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "apple",
|
||||||
|
"heal_amount": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_carrot",
|
||||||
|
"heal_amount": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "golden_apple",
|
||||||
|
"heal_amount": 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "appleEnchanted",
|
||||||
|
"heal_amount": 10
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.float": {
|
||||||
|
"priority": 0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.panic": {
|
||||||
|
"priority": 1,
|
||||||
|
"speed_multiplier": 1.2
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_stroll": {
|
||||||
|
"priority": 6,
|
||||||
|
"speed_multiplier": 0.7
|
||||||
|
},
|
||||||
|
"minecraft:behavior.look_at_player": {
|
||||||
|
"priority": 7,
|
||||||
|
"look_distance": 6.0,
|
||||||
|
"probability": 0.02
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_look_around": {
|
||||||
|
"priority": 8
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"randomize": [
|
||||||
|
{
|
||||||
|
"weight": 80,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:mule_adult",
|
||||||
|
"minecraft:mule_wild"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 20,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:mule_baby"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:entity_born": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:mule_baby"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:on_tame": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:mule_wild"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:mule_tamed",
|
||||||
|
"minecraft:mule_unchested"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:ageable_grow_up": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:mule_baby"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:mule_adult",
|
||||||
|
"minecraft:mule_wild"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:on_leash": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:mule_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:on_unleash": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:mule_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:on_chest": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:mule_unchested"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:mule_chested"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:mule_saddled": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:mule_saddled"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:mule_unsaddled": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:mule_saddled"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:damage_sensor": [
|
||||||
|
{
|
||||||
|
"cause": "all",
|
||||||
|
"deals_damage": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:npc"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "npc" ]
|
||||||
|
},
|
||||||
|
"minecraft:fire_immune": true,
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 20,
|
||||||
|
"max": 20,
|
||||||
|
"min": 20
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.5
|
||||||
|
},
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/empty.json"
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.6,
|
||||||
|
"height": 2.1
|
||||||
|
},
|
||||||
|
"minecraft:behavior.look_at_player": {
|
||||||
|
"priority": 0,
|
||||||
|
"look_distance": 6.0,
|
||||||
|
"probability": 0.02
|
||||||
|
},
|
||||||
|
"minecraft:npc": {
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
"alwaysShow": true,
|
||||||
|
"allowNameTagRenaming": false
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,379 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:ocelot_baby": {
|
||||||
|
"minecraft:is_baby": {
|
||||||
|
},
|
||||||
|
"minecraft:scale": {
|
||||||
|
"value": 0.5
|
||||||
|
},
|
||||||
|
"minecraft:ageable": {
|
||||||
|
"duration": 1200,
|
||||||
|
"feedItems": [ "fish", "salmon" ],
|
||||||
|
"grow_up": {
|
||||||
|
"event": "minecraft:ageable_grow_up",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:ocelot_adult": {
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/ocelot.json"
|
||||||
|
},
|
||||||
|
"minecraft:scale": {
|
||||||
|
"value": 1
|
||||||
|
},
|
||||||
|
"minecraft:behavior.breed": {
|
||||||
|
"priority": 3,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:breedable": {
|
||||||
|
"requireTame": true,
|
||||||
|
"allowSitting": true,
|
||||||
|
"breedsWith": {
|
||||||
|
"mateType": "minecraft:ocelot",
|
||||||
|
"babyType": "minecraft:ocelot",
|
||||||
|
"breed_event": {
|
||||||
|
"event": "minecraft:entity_born",
|
||||||
|
"target": "baby"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"breedItems": [ "fish", "salmon" ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:ocelot_wild": {
|
||||||
|
"minecraft:variant": {
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 10,
|
||||||
|
"max": 10
|
||||||
|
},
|
||||||
|
"minecraft:tameable": {
|
||||||
|
"probability": 0.33,
|
||||||
|
"tameItems": [ "fish", "salmon" ],
|
||||||
|
"tame_event": {
|
||||||
|
"event": "minecraft:on_tame",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.avoid_mob_type": {
|
||||||
|
"priority": 5,
|
||||||
|
"entity_types": [
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "player"
|
||||||
|
},
|
||||||
|
"max_dist": 10,
|
||||||
|
"walk_speed_multiplier": 0.8,
|
||||||
|
"sprint_speed_multiplier": 1.33
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.nearest_attackable_target": {
|
||||||
|
"priority": 1,
|
||||||
|
"attack_interval": 10,
|
||||||
|
"entity_types": [
|
||||||
|
{
|
||||||
|
"filters": {
|
||||||
|
"test": "is_family",
|
||||||
|
"subject": "other",
|
||||||
|
"value": "chicken"
|
||||||
|
},
|
||||||
|
"max_dist": 8
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"seat_count": 1,
|
||||||
|
"family_types": [
|
||||||
|
"zombie"
|
||||||
|
],
|
||||||
|
"seats": {
|
||||||
|
"position": [ 0.0, 0.35, 0.0 ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:ocelot_tame": {
|
||||||
|
"minecraft:is_tamed": {
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 20,
|
||||||
|
"max": 20
|
||||||
|
},
|
||||||
|
"minecraft:sittable": {
|
||||||
|
},
|
||||||
|
"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.follow_owner": {
|
||||||
|
"priority": 4,
|
||||||
|
"speed_multiplier": 1.0,
|
||||||
|
"start_distance": 10,
|
||||||
|
"stop_distance": 2
|
||||||
|
},
|
||||||
|
"minecraft:behavior.stay_while_sitting": {
|
||||||
|
"priority": 3
|
||||||
|
},
|
||||||
|
"minecraft:behavior.ocelot_sit_on_block": {
|
||||||
|
"priority": 6,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:ocelot_leashed": {
|
||||||
|
"minecraft:behavior.move_towards_restriction": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:ocelot_tuxedo": {
|
||||||
|
"minecraft:variant": {
|
||||||
|
"value": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:ocelot_tabby": {
|
||||||
|
"minecraft:variant": {
|
||||||
|
"value": 2
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:ocelot_siamese": {
|
||||||
|
"minecraft:variant": {
|
||||||
|
"value": 3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:attack_damage": {
|
||||||
|
"value": 4
|
||||||
|
},
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:ocelot"
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "ocelot" ]
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 15,
|
||||||
|
"suffocateTime": 0
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 10,
|
||||||
|
"max": 10
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.6,
|
||||||
|
"height": 0.7
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.3
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
"can_float": true,
|
||||||
|
"avoid_water": true,
|
||||||
|
"avoid_damage_blocks": true
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
},
|
||||||
|
"minecraft:can_climb": {
|
||||||
|
},
|
||||||
|
"minecraft:fall_damage": {
|
||||||
|
"value": 0.0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.float": {
|
||||||
|
"priority": 0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.tempt": {
|
||||||
|
"priority": 4,
|
||||||
|
"speed_multiplier": 0.5,
|
||||||
|
"within_radius": 16,
|
||||||
|
"can_get_scared": true,
|
||||||
|
"items": [
|
||||||
|
"fish",
|
||||||
|
"salmon"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.mount_pathing": {
|
||||||
|
"priority": 1,
|
||||||
|
"speed_multiplier": 1.25,
|
||||||
|
"target_dist": 0,
|
||||||
|
"track_target": true
|
||||||
|
},
|
||||||
|
"minecraft:behavior.leap_at_target": {
|
||||||
|
"priority": 3,
|
||||||
|
"target_dist": 0.3
|
||||||
|
},
|
||||||
|
"minecraft:behavior.ocelotattack": {
|
||||||
|
"priority": 4,
|
||||||
|
"walk_speed_multiplier": 0.8,
|
||||||
|
"sprint_speed_multiplier": 1.33,
|
||||||
|
"sneak_speed_multiplier": 0.6
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_stroll": {
|
||||||
|
"priority": 8,
|
||||||
|
"speed_multiplier": 0.8
|
||||||
|
},
|
||||||
|
"minecraft:behavior.look_at_player": {
|
||||||
|
"priority": 9
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"sequence": [
|
||||||
|
{
|
||||||
|
"randomize": [
|
||||||
|
{
|
||||||
|
"weight": 3,
|
||||||
|
"remove": {
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:ocelot_adult",
|
||||||
|
"minecraft:ocelot_wild"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 1,
|
||||||
|
"remove": {
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:ocelot_baby",
|
||||||
|
"minecraft:ocelot_wild"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:entity_born": {
|
||||||
|
"sequence": [
|
||||||
|
{
|
||||||
|
"filters": { "test": "has_component", "operator": "!=", "value": "minecraft:is_baby"},
|
||||||
|
"remove": {
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:ocelot_baby",
|
||||||
|
"minecraft:ocelot_tame"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:entity_born_wild": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:ocelot_tame"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:ocelot_baby",
|
||||||
|
"minecraft:ocelot_wild"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:ageable_grow_up": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:ocelot_baby"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:ocelot_adult"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:on_tame": {
|
||||||
|
"sequence": [
|
||||||
|
{
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:ocelot_wild"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:ocelot_tame"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"randomize": [
|
||||||
|
{
|
||||||
|
"weight": 30,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:ocelot_tabby"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 30,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:ocelot_tuxedo"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 30,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:ocelot_siamese"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:on_leash": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:ocelot_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:on_unleash": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:ocelot_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,226 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:parrot_red": {
|
||||||
|
"minecraft:variant": { "value": 0 }
|
||||||
|
},
|
||||||
|
"minecraft:parrot_blue": {
|
||||||
|
"minecraft:variant": { "value": 1 }
|
||||||
|
},
|
||||||
|
"minecraft:parrot_green": {
|
||||||
|
"minecraft:variant": { "value": 2 }
|
||||||
|
},
|
||||||
|
"minecraft:parrot_cyan": {
|
||||||
|
"minecraft:variant": { "value": 3 }
|
||||||
|
},
|
||||||
|
"minecraft:parrot_silver": {
|
||||||
|
"minecraft:variant": { "value": 4 }
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:parrot_adult": {
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/parrot.json"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:parrot_wild": {
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "parrot_wild" ]
|
||||||
|
},
|
||||||
|
"minecraft:tameable": {
|
||||||
|
"probability": 0.33,
|
||||||
|
"tameItems": [
|
||||||
|
"wheat_seeds",
|
||||||
|
"pumpkin_seeds",
|
||||||
|
"melon_seeds",
|
||||||
|
"beetroot_seeds"
|
||||||
|
],
|
||||||
|
"tame_event": {
|
||||||
|
"event": "minecraft:on_tame",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_fly": {
|
||||||
|
"priority": 2,
|
||||||
|
"xz_dist": 15,
|
||||||
|
"y_dist": 1,
|
||||||
|
"y_offset": 0,
|
||||||
|
"speed_multiplier": 1.0,
|
||||||
|
"can_land_on_trees": true,
|
||||||
|
"avoid_damage_blocks": true
|
||||||
|
},
|
||||||
|
"minecraft:behavior.follow_mob": {
|
||||||
|
"priority": 3,
|
||||||
|
"speed_multiplier": 1.0,
|
||||||
|
"stop_distance": 3,
|
||||||
|
"search_range": 20
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:parrot_tame": {
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "parrot_tame" ]
|
||||||
|
},
|
||||||
|
"minecraft:is_tamed": {
|
||||||
|
},
|
||||||
|
"minecraft:behavior.follow_owner": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.0,
|
||||||
|
"start_distance": 5,
|
||||||
|
"stop_distance": 1
|
||||||
|
},
|
||||||
|
"minecraft:sittable": {
|
||||||
|
},
|
||||||
|
"minecraft:behavior.stay_while_sitting": {
|
||||||
|
"priority": 1
|
||||||
|
},
|
||||||
|
"minecraft:behavior.find_mount": {
|
||||||
|
"priority": 3,
|
||||||
|
"within_radius": 16,
|
||||||
|
"avoid_water": true,
|
||||||
|
"start_delay": 100,
|
||||||
|
"target_needed": false,
|
||||||
|
"mount_distance": 2.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:parrot"
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 15,
|
||||||
|
"suffocateTime": 0
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.5,
|
||||||
|
"height": 1
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 6,
|
||||||
|
"max": 6
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.4
|
||||||
|
},
|
||||||
|
"minecraft:fall_damage": {
|
||||||
|
"value": 0.0
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
},
|
||||||
|
"minecraft:can_fly": {
|
||||||
|
"value": true
|
||||||
|
},
|
||||||
|
"minecraft:navigation.fly": {
|
||||||
|
"can_float": true
|
||||||
|
},
|
||||||
|
"minecraft:movement.fly": {
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
},
|
||||||
|
"minecraft:behavior.float": {
|
||||||
|
"priority": 0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.panic": {
|
||||||
|
"priority": 0,
|
||||||
|
"speed_multiplier": 1.25
|
||||||
|
},
|
||||||
|
"minecraft:behavior.look_at_player": {
|
||||||
|
"priority": 1,
|
||||||
|
"look_distance": 8.0
|
||||||
|
},
|
||||||
|
"minecraft:healable": {
|
||||||
|
"force_use": true,
|
||||||
|
"filters": { "test": "is_riding", "operator": "!=", "value": true },
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"item": "cookie",
|
||||||
|
"heal_amount": 0,
|
||||||
|
"effects": [
|
||||||
|
{
|
||||||
|
"name": "fatal_poison",
|
||||||
|
"chance": 1.0,
|
||||||
|
"duration": 1000,
|
||||||
|
"amplifier": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"randomize": [
|
||||||
|
{
|
||||||
|
"weight": 20,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:parrot_red",
|
||||||
|
"minecraft:parrot_adult",
|
||||||
|
"minecraft:parrot_wild"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 20,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:parrot_blue",
|
||||||
|
"minecraft:parrot_adult",
|
||||||
|
"minecraft:parrot_wild"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 20,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:parrot_green",
|
||||||
|
"minecraft:parrot_adult",
|
||||||
|
"minecraft:parrot_wild"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 20,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:parrot_cyan",
|
||||||
|
"minecraft:parrot_adult",
|
||||||
|
"minecraft:parrot_wild"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 20,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:parrot_silver",
|
||||||
|
"minecraft:parrot_adult",
|
||||||
|
"minecraft:parrot_wild"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:on_tame": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:parrot_wild"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:parrot_tame"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,309 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:pig_baby": {
|
||||||
|
"minecraft:is_baby": {
|
||||||
|
},
|
||||||
|
"minecraft:scale": {
|
||||||
|
"value": 0.5
|
||||||
|
},
|
||||||
|
"minecraft:ageable": {
|
||||||
|
"duration": 1200,
|
||||||
|
"feedItems": [ "carrot", "beetroot", "potato" ],
|
||||||
|
"grow_up": {
|
||||||
|
"event": "minecraft:ageable_grow_up",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:behavior.follow_parent": {
|
||||||
|
"priority": 6,
|
||||||
|
"speed_multiplier": 1.1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:pig_transform": {
|
||||||
|
"minecraft:transformation": {
|
||||||
|
"into": "minecraft:pig_zombie",
|
||||||
|
"delay": 0.5
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:pig_adult": {
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/pig.json"
|
||||||
|
},
|
||||||
|
"minecraft:behavior.breed": {
|
||||||
|
"priority": 4,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:breedable": {
|
||||||
|
"requireTame": false,
|
||||||
|
"breedsWith": {
|
||||||
|
"mateType": "minecraft:pig",
|
||||||
|
"babyType": "minecraft:pig",
|
||||||
|
"breed_event": {
|
||||||
|
"event": "minecraft:entity_born",
|
||||||
|
"target": "baby"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"breedItems": [ "carrot", "beetroot", "potato" ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:pig_unsaddled": {
|
||||||
|
"minecraft:interact": [
|
||||||
|
{
|
||||||
|
"on_interact": {
|
||||||
|
"filters": { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "saddle"},
|
||||||
|
"event": "minecraft:on_saddled"
|
||||||
|
},
|
||||||
|
"use_item": true,
|
||||||
|
"play_sounds": "saddle",
|
||||||
|
"interact_text": "action.interact.saddle"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"seat_count": 1,
|
||||||
|
"family_types": [
|
||||||
|
"zombie"
|
||||||
|
],
|
||||||
|
"seats": {
|
||||||
|
"position": [ 0.0, 0.63, 0.0 ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:pig_saddled": {
|
||||||
|
"minecraft:is_saddled": {
|
||||||
|
},
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/pig_saddled.json"
|
||||||
|
},
|
||||||
|
"minecraft:boostable": {
|
||||||
|
"speed_multiplier": 2.0,
|
||||||
|
"duration": 3.0,
|
||||||
|
"boost_items": [
|
||||||
|
{
|
||||||
|
"item": "carrotOnAStick",
|
||||||
|
"item_damage": 2,
|
||||||
|
"replaceItem": "fishing_rod"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"seat_count": 1,
|
||||||
|
"interact_text": "action.interact.mount",
|
||||||
|
"family_types": [
|
||||||
|
"player"
|
||||||
|
],
|
||||||
|
"seats": {
|
||||||
|
"position": [ 0.0, 0.63, 0.0 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:item_controllable": {
|
||||||
|
"control_items": "carrotOnAStick"
|
||||||
|
},
|
||||||
|
"minecraft:behavior.controlled_by_player": {
|
||||||
|
"priority": 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:pig_leashed": {
|
||||||
|
"minecraft:behavior.move_towards_restriction": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:damage_sensor": {
|
||||||
|
"on_damage": {
|
||||||
|
"filters": { "test" : "is_family", "subject" : "other", "value" : "lightning"},
|
||||||
|
"event": "become_zombie"
|
||||||
|
},
|
||||||
|
"deals_damage": false
|
||||||
|
},
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:pig"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "pig" ]
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 15,
|
||||||
|
"suffocateTime": 0
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 10,
|
||||||
|
"max": 10
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.25
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
"can_float": true,
|
||||||
|
"avoid_water": true,
|
||||||
|
"avoid_damage_blocks": true
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
},
|
||||||
|
"minecraft:can_climb": {
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.9,
|
||||||
|
"height": 0.9
|
||||||
|
},
|
||||||
|
"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.mount_pathing": {
|
||||||
|
"priority": 1,
|
||||||
|
"speed_multiplier": 1.25,
|
||||||
|
"target_dist": 0.0,
|
||||||
|
"track_target": true
|
||||||
|
},
|
||||||
|
"minecraft:behavior.float": {
|
||||||
|
"priority": 2
|
||||||
|
},
|
||||||
|
"minecraft:behavior.panic": {
|
||||||
|
"priority": 3,
|
||||||
|
"speed_multiplier": 1.25
|
||||||
|
},
|
||||||
|
"minecraft:behavior.tempt": {
|
||||||
|
"priority": 5,
|
||||||
|
"speed_multiplier": 1.2,
|
||||||
|
"items": [
|
||||||
|
"potato",
|
||||||
|
"carrot",
|
||||||
|
"beetroot",
|
||||||
|
"carrotOnAStick"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_stroll": {
|
||||||
|
"priority": 7,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.look_at_player": {
|
||||||
|
"priority": 8,
|
||||||
|
"look_distance": 6.0,
|
||||||
|
"probability": 0.02
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_look_around": {
|
||||||
|
"priority": 9
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"become_zombie": {
|
||||||
|
"remove": {
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:pig_transform"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"randomize": [
|
||||||
|
{
|
||||||
|
"weight": 95,
|
||||||
|
"remove": {
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:pig_adult",
|
||||||
|
"minecraft:pig_unsaddled"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 5,
|
||||||
|
"remove": {
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:pig_baby"
|
||||||
|
]
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:entity_born": {
|
||||||
|
"remove": {
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:pig_baby"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:ageable_grow_up": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:pig_baby"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:pig_adult",
|
||||||
|
"minecraft:pig_unsaddled"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:on_saddled": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:pig_unsaddled"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:pig_saddled"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:on_leash": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:pig_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:on_unleash": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:pig_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,77 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:player"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "player" ]
|
||||||
|
},
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/empty.json"
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.6,
|
||||||
|
"height": 1.8
|
||||||
|
},
|
||||||
|
"minecraft:can_climb": {
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.1
|
||||||
|
},
|
||||||
|
"minecraft:attack": {
|
||||||
|
"damage": 1
|
||||||
|
},
|
||||||
|
"minecraft:player.saturation": {
|
||||||
|
"value": 20
|
||||||
|
},
|
||||||
|
"minecraft:player.exhaustion": {
|
||||||
|
"value": 0,
|
||||||
|
"max": 4
|
||||||
|
},
|
||||||
|
"minecraft:player.level": {
|
||||||
|
"value": 0,
|
||||||
|
"max": 24791
|
||||||
|
},
|
||||||
|
"minecraft:player.experience": {
|
||||||
|
"value": 0,
|
||||||
|
"max": 1
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 20,
|
||||||
|
"suffocateTime": -1,
|
||||||
|
"generatesBubbles": false
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
"alwaysShow": true,
|
||||||
|
"allowNameTagRenaming": false
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
},
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"seat_count": 2,
|
||||||
|
"family_types": [
|
||||||
|
"parrot_tame"
|
||||||
|
],
|
||||||
|
"pull_in_entities": true,
|
||||||
|
"seats": [
|
||||||
|
{
|
||||||
|
"position": [ 0.4, -0.15, 0.04 ],
|
||||||
|
"min_rider_count": 0,
|
||||||
|
"max_rider_count": 0,
|
||||||
|
"lock_rider_rotation": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"position": [ -0.4, -0.15, 0.04 ],
|
||||||
|
"min_rider_count": 1,
|
||||||
|
"max_rider_count": 2,
|
||||||
|
"lock_rider_rotation": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,258 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:baby": {
|
||||||
|
"minecraft:is_baby": {
|
||||||
|
},
|
||||||
|
"minecraft:scale": {
|
||||||
|
"value": 0.5
|
||||||
|
},
|
||||||
|
"minecraft:ageable": {
|
||||||
|
"duration": 1200,
|
||||||
|
"grow_up": {
|
||||||
|
"event": "minecraft:ageable_grow_up",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:behavior.follow_parent": {
|
||||||
|
"priority": 4,
|
||||||
|
"speed_multiplier": 1.25
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:baby_wild": {
|
||||||
|
"minecraft:on_target_acquired": {
|
||||||
|
"event": "minecraft:on_scared",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"minecraft:behavior.nearest_attackable_target": {
|
||||||
|
"priority": 4,
|
||||||
|
"entity_types": [
|
||||||
|
{
|
||||||
|
"filters": { "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
"max_dist": 16
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"must_see": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:baby_scared": {
|
||||||
|
"minecraft:angry": {
|
||||||
|
"duration": 1,
|
||||||
|
"broadcastAnger": true,
|
||||||
|
"broadcastRange": 41,
|
||||||
|
"calm_event": {
|
||||||
|
"event": "minecraft:baby_on_calm",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:adult": {
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/polar_bear.json"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:adult_wild": {
|
||||||
|
"minecraft:on_target_acquired": {
|
||||||
|
"event": "minecraft:on_anger",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"minecraft:on_friendly_anger": {
|
||||||
|
"event": "minecraft:on_anger",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:adult_hostile": {
|
||||||
|
"minecraft:attack": {
|
||||||
|
"damage": 6.0
|
||||||
|
},
|
||||||
|
"minecraft:angry": {
|
||||||
|
"duration": 500,
|
||||||
|
"broadcastAnger": false,
|
||||||
|
"broadcastRange": 20,
|
||||||
|
"calm_event": {
|
||||||
|
"event": "minecraft:on_calm",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:behavior.stomp_attack": {
|
||||||
|
"priority": 1,
|
||||||
|
"track_target": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:polar_bear"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "polarbear" ]
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 15,
|
||||||
|
"suffocateTime": 0
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 30
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 1.3,
|
||||||
|
"height": 1.4
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.25
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
"can_float": true,
|
||||||
|
"avoid_damage_blocks": true
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
},
|
||||||
|
"minecraft:can_climb": {
|
||||||
|
},
|
||||||
|
"minecraft:follow_range": {
|
||||||
|
"value": 48
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:behavior.float": {
|
||||||
|
"priority": 0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.hurt_by_target": {
|
||||||
|
"priority": 1
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_stroll": {
|
||||||
|
"priority": 5
|
||||||
|
},
|
||||||
|
"minecraft:behavior.look_at_player": {
|
||||||
|
"priority": 6,
|
||||||
|
"target_distance": 6.0,
|
||||||
|
"probability": 0.02
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_look_around": {
|
||||||
|
"priority": 7
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
},
|
||||||
|
"minecraft:behavior.panic": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 2.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"randomize": [
|
||||||
|
{
|
||||||
|
"weight": 9,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:adult",
|
||||||
|
"minecraft:adult_wild"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 1,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:baby",
|
||||||
|
"minecraft:baby_wild"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:entity_born": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:baby",
|
||||||
|
"minecraft:baby_wild"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:ageable_grow_up": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:baby",
|
||||||
|
"minecraft:baby_wild",
|
||||||
|
"minecraft:baby_scared"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:adult",
|
||||||
|
"minecraft:adult_wild"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:on_calm": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:adult_hostile"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:adult_wild"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:on_anger": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:adult_wild"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:adult_hostile"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:baby_on_calm": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:baby_scared"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:baby_wild"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:on_scared": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:baby_wild"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:baby_scared"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,323 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"baby": {
|
||||||
|
"minecraft:is_baby": {
|
||||||
|
},
|
||||||
|
"minecraft:scale": {
|
||||||
|
"value":0.4
|
||||||
|
},
|
||||||
|
"minecraft:ageable": {
|
||||||
|
"duration": 1200,
|
||||||
|
"feedItems": [
|
||||||
|
"golden_carrot",
|
||||||
|
"carrot",
|
||||||
|
"yellow_flower"
|
||||||
|
],
|
||||||
|
"grow_up": {
|
||||||
|
"event": "grow_up",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.follow_parent": {
|
||||||
|
"priority": 6,
|
||||||
|
"speed_multiplier": 1.1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"adult": {
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/rabbit.json"
|
||||||
|
},
|
||||||
|
"minecraft:scale": {
|
||||||
|
"value": 0.6
|
||||||
|
},
|
||||||
|
"minecraft:behavior.breed": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:breedable": {
|
||||||
|
"breedItems": [
|
||||||
|
"golden_carrot",
|
||||||
|
"carrot",
|
||||||
|
"yellow_flower"
|
||||||
|
],
|
||||||
|
"breedsWith": {
|
||||||
|
"mateType": "minecraft:rabbit",
|
||||||
|
"babyType": "minecraft:rabbit"
|
||||||
|
},
|
||||||
|
"requireTame": false,
|
||||||
|
"mutation_factor": {
|
||||||
|
"variant": 0.2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:rabbit_leashed": {
|
||||||
|
"minecraft:behavior.move_towards_restriction": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"coat_brown": {
|
||||||
|
"minecraft:variant": { "value": 0 }
|
||||||
|
},
|
||||||
|
"coat_white": {
|
||||||
|
"minecraft:variant": { "value": 1 }
|
||||||
|
},
|
||||||
|
"coat_black": {
|
||||||
|
"minecraft:variant": { "value": 2 }
|
||||||
|
},
|
||||||
|
"coat_splotched": {
|
||||||
|
"minecraft:variant": { "value": 3 }
|
||||||
|
},
|
||||||
|
"coat_desert": {
|
||||||
|
"minecraft:variant": { "value": 4 }
|
||||||
|
},
|
||||||
|
"coat_salt": {
|
||||||
|
"minecraft:variant": { "value": 5 }
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:rabbit"
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family":["rabbit"]
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 15,
|
||||||
|
"suffocateTime": 0
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 3,
|
||||||
|
"max": 3
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.67,
|
||||||
|
"height": 0.67
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.3
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
"can_float": true,
|
||||||
|
"avoid_water": true
|
||||||
|
},
|
||||||
|
"minecraft:movement.skip": {
|
||||||
|
},
|
||||||
|
"minecraft:jump.dynamic": {
|
||||||
|
},
|
||||||
|
"minecraft:can_climb": {
|
||||||
|
},
|
||||||
|
"minecraft:leashable": {
|
||||||
|
"soft_distance": 4.0,
|
||||||
|
"hard_distance": 6.0,
|
||||||
|
"max_distance": 10.0,
|
||||||
|
"on_leash": {
|
||||||
|
"event": "leash",
|
||||||
|
"target": "self"
|
||||||
|
},
|
||||||
|
"on_unleash": {
|
||||||
|
"event": "unleash",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:behavior.float": {
|
||||||
|
"priority": 0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.panic" : {
|
||||||
|
"priority": 1,
|
||||||
|
"speed_multiplier": 2.2
|
||||||
|
},
|
||||||
|
"minecraft:behavior.avoid_mob_type": {
|
||||||
|
"priority": 4,
|
||||||
|
"entity_types":[
|
||||||
|
{
|
||||||
|
"filters": { "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
"max_dist": 8,
|
||||||
|
"walk_speed_multiplier": 1.5,
|
||||||
|
"sprint_speed_multiplier": 1.8
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filters": { "test" : "is_family", "subject" : "other", "value" : "wolf"},
|
||||||
|
"max_dist": 4,
|
||||||
|
"walk_speed_multiplier": 1.5,
|
||||||
|
"sprint_speed_multiplier": 1.8
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filters": { "test" : "is_family", "subject" : "other", "value" : "monster"},
|
||||||
|
"max_dist": 4,
|
||||||
|
"walk_speed_multiplier": 1.5,
|
||||||
|
"sprint_speed_multiplier": 1.5
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.breed": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 0.8
|
||||||
|
},
|
||||||
|
"minecraft:behavior.tempt": {
|
||||||
|
"priority": 3,
|
||||||
|
"speed_multiplier": 1,
|
||||||
|
"items": [
|
||||||
|
"golden_carrot",
|
||||||
|
"carrot",
|
||||||
|
"yellow_flower"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.raid_garden": {
|
||||||
|
"priority": 5,
|
||||||
|
"blocks": [
|
||||||
|
"carrots"
|
||||||
|
],
|
||||||
|
"search_range": 16,
|
||||||
|
"goal_radius": 0.8
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_stroll": {
|
||||||
|
"priority": 6,
|
||||||
|
"speed_multiplier": 0.6,
|
||||||
|
"xz_dist": 2,
|
||||||
|
"y_dist": 1
|
||||||
|
},
|
||||||
|
"minecraft:behavior.look_at_player": {
|
||||||
|
"priority": 11
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
|
||||||
|
"in_desert": { "add": { "component_groups": [ "coat_desert" ] } },
|
||||||
|
|
||||||
|
"in_snow": {
|
||||||
|
"randomize": [
|
||||||
|
{
|
||||||
|
"weight": 80,
|
||||||
|
"add": { "component_groups": [ "coat_white" ] }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 20,
|
||||||
|
"add": { "component_groups": [ "coat_splotched" ] }
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"sequence": [
|
||||||
|
{
|
||||||
|
"randomize": [
|
||||||
|
{
|
||||||
|
"weight": 3,
|
||||||
|
"add": { "component_groups": [ "adult" ] }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 1,
|
||||||
|
"add": { "component_groups": [ "baby" ] }
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filters": { "test" : "has_component", "operator": "!=", "value" : "minecraft:variant"},
|
||||||
|
"randomize": [
|
||||||
|
{
|
||||||
|
"weight": 50,
|
||||||
|
"add": { "component_groups": [ "coat_brown" ] }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 40,
|
||||||
|
"add": { "component_groups": [ "coat_black" ] }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 10,
|
||||||
|
"add": { "component_groups": [ "coat_salt" ] }
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filters": { "test": "is_biome", "value": "desert" },
|
||||||
|
"add": { "component_groups": [ "coat_desert" ] }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filters": { "test": "is_snow_covered", "value": true },
|
||||||
|
"randomize": [
|
||||||
|
{
|
||||||
|
"weight": 80,
|
||||||
|
"add": { "component_groups": [ "coat_white" ] }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 20,
|
||||||
|
"add": { "component_groups": [ "coat_splotched" ] }
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:entity_born": {
|
||||||
|
"sequence": [
|
||||||
|
{ "add": { "component_groups": [ "baby" ] } },
|
||||||
|
{
|
||||||
|
"filters": { "test" : "has_component", "operator": "!=", "value" : "minecraft:variant"},
|
||||||
|
"randomize": [
|
||||||
|
{
|
||||||
|
"weight": 50,
|
||||||
|
"add": { "component_groups": [ "coat_brown" ] }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 40,
|
||||||
|
"add": { "component_groups": [ "coat_black" ] }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 10,
|
||||||
|
"add": { "component_groups": [ "coat_salt" ] }
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filters": { "test": "is_biome", "value": "desert" },
|
||||||
|
"add": { "component_groups": [ "coat_desert" ] }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filters": { "test": "is_snow_covered", "value": true },
|
||||||
|
"randomize": [
|
||||||
|
{
|
||||||
|
"weight": 80,
|
||||||
|
"add": { "component_groups": [ "coat_white" ] }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 20,
|
||||||
|
"add": { "component_groups": [ "coat_splotched" ] }
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"grow_up": {
|
||||||
|
"remove": { "component_groups": [ "baby" ] },
|
||||||
|
"add": { "component_groups": [ "adult" ] }
|
||||||
|
},
|
||||||
|
|
||||||
|
"leash": {
|
||||||
|
"add": { "component_groups": [ "minecraft:rabbit_leashed" ] }
|
||||||
|
},
|
||||||
|
|
||||||
|
"unleash": {
|
||||||
|
"remove": { "component_groups": [ "minecraft:rabbit_leashed" ] }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,423 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:loot_sheared": {
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/sheep_sheared.json"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:loot_wooly": {
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/sheep.json"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:rideable_sheared": {
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"seat_count": 1,
|
||||||
|
"family_types": [
|
||||||
|
"zombie"
|
||||||
|
],
|
||||||
|
"seats": {
|
||||||
|
"position": [ 0.0, 0.9, 0.0 ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:rideable_wooly": {
|
||||||
|
"minecraft:rideable": {
|
||||||
|
"seat_count": 1,
|
||||||
|
"family_types": [
|
||||||
|
"zombie"
|
||||||
|
],
|
||||||
|
"seats": {
|
||||||
|
"position": [ 0.0, 0.975, 0.0 ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:sheep_baby": {
|
||||||
|
"minecraft:is_baby": {
|
||||||
|
},
|
||||||
|
"minecraft:scale": {
|
||||||
|
"value": 0.5
|
||||||
|
},
|
||||||
|
"minecraft:ageable": {
|
||||||
|
"duration": 1200,
|
||||||
|
"feedItems": "wheat",
|
||||||
|
"grow_up": {
|
||||||
|
"event": "minecraft:ageable_grow_up",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.follow_parent": {
|
||||||
|
"priority": 6,
|
||||||
|
"speed_multiplier": 1.1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:sheep_adult": {
|
||||||
|
"minecraft:behavior.breed": {
|
||||||
|
"priority": 3,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
},
|
||||||
|
"minecraft:breedable": {
|
||||||
|
"requireTame": false,
|
||||||
|
"breedsWith": {
|
||||||
|
"mateType": "minecraft:sheep",
|
||||||
|
"babyType": "minecraft:sheep"
|
||||||
|
},
|
||||||
|
"breedItems": "wheat"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:sheep_dyeable": {
|
||||||
|
"minecraft:is_dyeable": {
|
||||||
|
"interact_text": "action.interact.dye"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:sheep_sheared": {
|
||||||
|
"minecraft:is_sheared": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:sheep_leashed": {
|
||||||
|
"minecraft:behavior.move_towards_restriction": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:sheep_white": {
|
||||||
|
"minecraft:color": {
|
||||||
|
"value": 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:sheep_brown": {
|
||||||
|
"minecraft:color": {
|
||||||
|
"value": 12
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:sheep_black": {
|
||||||
|
"minecraft:color": {
|
||||||
|
"value": 15
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:sheep_gray": {
|
||||||
|
"minecraft:color": {
|
||||||
|
"value": 8
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:sheep_light_gray": {
|
||||||
|
"minecraft:color": {
|
||||||
|
"value": 7
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:sheep_pink": {
|
||||||
|
"minecraft:color": {
|
||||||
|
"value": 6
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:sheep_red": {
|
||||||
|
"minecraft:color": {
|
||||||
|
"value": 14
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:sheep"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "sheep" ]
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 15,
|
||||||
|
"suffocateTime": 0
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.9,
|
||||||
|
"height": 1.3
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 8,
|
||||||
|
"max": 8
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.25
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
"can_float": true,
|
||||||
|
"avoid_water": true
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"minecraft:jump.static": {
|
||||||
|
},
|
||||||
|
"minecraft:can_climb": {
|
||||||
|
},
|
||||||
|
"minecraft:interact": [
|
||||||
|
{
|
||||||
|
"cooldown": 2.5,
|
||||||
|
"use_item": false,
|
||||||
|
"hurt_item": 1,
|
||||||
|
"spawn_items": { "table": "loot_tables/entities/sheep_shear.json" },
|
||||||
|
"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_baby"},
|
||||||
|
{ "test" : "has_component", "value" : "minecraft:is_dyeable"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"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.float": {
|
||||||
|
"priority": 0
|
||||||
|
},
|
||||||
|
"minecraft:behavior.panic": {
|
||||||
|
"priority": 1,
|
||||||
|
"speed_multiplier": 1.25
|
||||||
|
},
|
||||||
|
"minecraft:behavior.mount_pathing": {
|
||||||
|
"priority": 2,
|
||||||
|
"speed_multiplier": 1.5,
|
||||||
|
"target_dist": 0.0,
|
||||||
|
"track_target": true
|
||||||
|
},
|
||||||
|
"minecraft:behavior.tempt": {
|
||||||
|
"priority": 4,
|
||||||
|
"speed_multiplier": 1.25,
|
||||||
|
"items": [
|
||||||
|
"wheat"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:behavior.follow_parent": {
|
||||||
|
"priority": 5,
|
||||||
|
"speed_multiplier": 1.1
|
||||||
|
},
|
||||||
|
"minecraft:behavior.eat_block": {
|
||||||
|
"priority": 6,
|
||||||
|
"on_eat": {
|
||||||
|
"event": "minecraft:on_eat_block",
|
||||||
|
"target": "self"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_stroll": {
|
||||||
|
"priority": 7,
|
||||||
|
"speed_multiplier": 0.8
|
||||||
|
},
|
||||||
|
"minecraft:behavior.look_at_player": {
|
||||||
|
"priority": 8,
|
||||||
|
"look_distance": 6.0,
|
||||||
|
"probability": 0.02
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_look_around": {
|
||||||
|
"priority": 9
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"events": {
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"sequence": [
|
||||||
|
{
|
||||||
|
"randomize": [
|
||||||
|
{
|
||||||
|
"weight": 95,
|
||||||
|
"remove": {
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:sheep_adult",
|
||||||
|
"minecraft:sheep_dyeable",
|
||||||
|
"minecraft:rideable_wooly",
|
||||||
|
"minecraft:loot_wooly"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 5,
|
||||||
|
"remove": {
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:sheep_baby",
|
||||||
|
"minecraft:sheep_dyeable",
|
||||||
|
"minecraft:rideable_sheared"
|
||||||
|
]
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"randomize": [
|
||||||
|
{
|
||||||
|
"weight": 81836,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:sheep_white"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 5000,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:sheep_black"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 5000,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:sheep_light_gray"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 5000,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:sheep_gray"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 3000,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:sheep_brown"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"weight": 164,
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:sheep_pink"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:entity_born": {
|
||||||
|
"remove": {
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:sheep_baby",
|
||||||
|
"minecraft:sheep_dyeable",
|
||||||
|
"minecraft:rideable_sheared"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"minecraft:ageable_grow_up": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:sheep_baby"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:sheep_adult",
|
||||||
|
"minecraft:rideable_wooly",
|
||||||
|
"minecraft:loot_wooly"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:on_sheared": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:sheep_dyeable",
|
||||||
|
"minecraft:loot_wooly"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:sheep_sheared",
|
||||||
|
"minecraft:rideable_sheared",
|
||||||
|
"minecraft:loot_sheared"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:on_eat_block": {
|
||||||
|
"sequence":[
|
||||||
|
{
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:sheep_sheared"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:sheep_dyeable"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filters": { "test" : "has_component","subject" : "other", "operator": "!=", "value" : "minecraft:is_baby"},
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:rideable_wooly",
|
||||||
|
"minecraft:loot_wooly"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:loot_sheared"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:on_leash": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:sheep_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:on_unleash": {
|
||||||
|
"remove": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:sheep_leashed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"wololo": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:sheep_red"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,495 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
"component_groups": {
|
||||||
|
"minecraft:shulker_purple": {
|
||||||
|
"minecraft:variant": {
|
||||||
|
"value": 5
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:shulker_black": {
|
||||||
|
"minecraft:variant": {
|
||||||
|
"value": 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:shulker_blue": {
|
||||||
|
"minecraft:variant": {
|
||||||
|
"value": 4
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:shulker_brown": {
|
||||||
|
"minecraft:variant": {
|
||||||
|
"value": 3
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:shulker_cyan": {
|
||||||
|
"minecraft:variant": {
|
||||||
|
"value": 6
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:shulker_gray": {
|
||||||
|
"minecraft:variant": {
|
||||||
|
"value": 8
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:shulker_green": {
|
||||||
|
"minecraft:variant": {
|
||||||
|
"value": 2
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:shulker_light_blue": {
|
||||||
|
"minecraft:variant": {
|
||||||
|
"value": 12
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:shulker_lime": {
|
||||||
|
"minecraft:variant": {
|
||||||
|
"value": 10
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:shulker_magenta": {
|
||||||
|
"minecraft:variant": {
|
||||||
|
"value": 13
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:shulker_orange": {
|
||||||
|
"minecraft:variant": {
|
||||||
|
"value": 14
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:shulker_pink": {
|
||||||
|
"minecraft:variant": {
|
||||||
|
"value": 9
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:shulker_red": {
|
||||||
|
"minecraft:variant": {
|
||||||
|
"value": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:shulker_silver": {
|
||||||
|
"minecraft:variant": {
|
||||||
|
"value": 7
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:shulker_undyed": {
|
||||||
|
"minecraft:variant": {
|
||||||
|
"value": 16
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:shulker_white": {
|
||||||
|
"minecraft:variant": {
|
||||||
|
"value": 15
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:shulker_yellow": {
|
||||||
|
"minecraft:variant": {
|
||||||
|
"value": 11
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:shulker"
|
||||||
|
},
|
||||||
|
"minecraft:type_family": {
|
||||||
|
"family": [ "shulker", "monster" ]
|
||||||
|
},
|
||||||
|
"minecraft:breathable": {
|
||||||
|
"totalSupply": 15,
|
||||||
|
"suffocateTime": 0
|
||||||
|
},
|
||||||
|
"minecraft:nameable": {
|
||||||
|
},
|
||||||
|
"minecraft:health": {
|
||||||
|
"value": 30,
|
||||||
|
"max": 30
|
||||||
|
},
|
||||||
|
"minecraft:movement": {
|
||||||
|
"value": 0.0,
|
||||||
|
"max": 0.0
|
||||||
|
},
|
||||||
|
"minecraft:loot": {
|
||||||
|
"table": "loot_tables/entities/shulker.json"
|
||||||
|
},
|
||||||
|
"minecraft:peek": {
|
||||||
|
"on_open": {
|
||||||
|
"event": "minecraft:on_open"
|
||||||
|
},
|
||||||
|
"on_close": {
|
||||||
|
"event": "minecraft:on_close"
|
||||||
|
},
|
||||||
|
"on_target_open": {
|
||||||
|
"event": "minecraft:on_open"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:behavior.look_at_player": {
|
||||||
|
"priority": 1,
|
||||||
|
"look_distance": 6.0,
|
||||||
|
"probability": 0.02
|
||||||
|
},
|
||||||
|
"minecraft:shooter": {
|
||||||
|
"type": "ShulkerBullet",
|
||||||
|
"def": "minecraft:shulker_bullet"
|
||||||
|
},
|
||||||
|
"minecraft:behavior.random_look_around": {
|
||||||
|
"priority": 8
|
||||||
|
},
|
||||||
|
"minecraft:behavior.ranged_attack": {
|
||||||
|
"attack_interval_min": 1,
|
||||||
|
"attack_interval_max": 3,
|
||||||
|
"attack_radius": 15
|
||||||
|
},
|
||||||
|
"minecraft:behavior.hurt_by_target": {
|
||||||
|
"priority": 2
|
||||||
|
},
|
||||||
|
"minecraft:behavior.nearest_attackable_target": {
|
||||||
|
"priority": 3,
|
||||||
|
"entity_types": {
|
||||||
|
"filters": { "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
"max_dist": 16
|
||||||
|
},
|
||||||
|
"must_see": true
|
||||||
|
},
|
||||||
|
"minecraft:navigation.walk": {
|
||||||
|
},
|
||||||
|
"minecraft:movement.basic": {
|
||||||
|
},
|
||||||
|
"minecraft:interact": [
|
||||||
|
{
|
||||||
|
"on_interact": {
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:0"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"event": "minecraft:turn_black"
|
||||||
|
},
|
||||||
|
"use_item": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"on_interact": {
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:8"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"event": "minecraft:turn_gray"
|
||||||
|
},
|
||||||
|
"use_item": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"on_interact": {
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:7"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"event": "minecraft:turn_silver"
|
||||||
|
},
|
||||||
|
"use_item": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"on_interact": {
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:15"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"event": "minecraft:turn_white"
|
||||||
|
},
|
||||||
|
"use_item": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"on_interact": {
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:12"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"event": "minecraft:turn_light_blue"
|
||||||
|
},
|
||||||
|
"use_item": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"on_interact": {
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:14"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"event": "minecraft:turn_orange"
|
||||||
|
},
|
||||||
|
"use_item": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"on_interact": {
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:1"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"event": "minecraft:turn_red"
|
||||||
|
},
|
||||||
|
"use_item": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"on_interact": {
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:4"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"event": "minecraft:turn_blue"
|
||||||
|
},
|
||||||
|
"use_item": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"on_interact": {
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:5"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"event": "minecraft:turn_purple"
|
||||||
|
},
|
||||||
|
"use_item": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"on_interact": {
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:13"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"event": "minecraft:turn_magenta"
|
||||||
|
},
|
||||||
|
"use_item": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"on_interact": {
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:9"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"event": "minecraft:turn_pink"
|
||||||
|
},
|
||||||
|
"use_item": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"on_interact": {
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:3"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"event": "minecraft:turn_brown"
|
||||||
|
},
|
||||||
|
"use_item": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"on_interact": {
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:11"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"event": "minecraft:turn_yellow"
|
||||||
|
},
|
||||||
|
"use_item": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"on_interact": {
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:10"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"event": "minecraft:turn_lime"
|
||||||
|
},
|
||||||
|
"use_item": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"on_interact": {
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:2"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"event": "minecraft:turn_green"
|
||||||
|
},
|
||||||
|
"use_item": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"on_interact": {
|
||||||
|
"filters": {
|
||||||
|
"all_of": [
|
||||||
|
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:6"},
|
||||||
|
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||||
|
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"event": "minecraft:turn_cyan"
|
||||||
|
},
|
||||||
|
"use_item": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"minecraft:physics": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"events": {
|
||||||
|
"minecraft:entity_spawned": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:shulker_undyed"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:turn_purple": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:shulker_purple"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:turn_black": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:shulker_black"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:turn_blue": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:shulker_blue"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:turn_brown": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:shulker_brown"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:turn_cyan": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:shulker_cyan"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:turn_gray": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:shulker_gray"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:turn_green": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:shulker_green"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:turn_light_blue": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:shulker_light_blue"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:turn_lime": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:shulker_lime"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:turn_magenta": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:shulker_magenta"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:turn_orange": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:shulker_orange"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:turn_pink": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:shulker_pink"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:turn_red": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:shulker_red"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:turn_silver": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:shulker_silver"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:turn_white": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:shulker_white"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:turn_yellow": {
|
||||||
|
"add": {
|
||||||
|
"component_groups": [
|
||||||
|
"minecraft:shulker_yellow"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,50 @@
|
|||||||
|
{
|
||||||
|
"minecraft:entity": {
|
||||||
|
"format_version": "1.2.0",
|
||||||
|
|
||||||
|
"components": {
|
||||||
|
"minecraft:identifier": {
|
||||||
|
"id": "minecraft:shulker_bullet"
|
||||||
|
},
|
||||||
|
"minecraft:collision_box": {
|
||||||
|
"width": 0.625,
|
||||||
|
"height": 0.625
|
||||||
|
},
|
||||||
|
"minecraft:projectile": {
|
||||||
|
"onHit": {
|
||||||
|
"impact_damage": {
|
||||||
|
"damage": 4,
|
||||||
|
"knockback": true,
|
||||||
|
"shouldbounce": true
|
||||||
|
},
|
||||||
|
"mob_effect": {
|
||||||
|
"effect": "levitation",
|
||||||
|
"durationeasy": 200,
|
||||||
|
"durationnormal": 200,
|
||||||
|
"durationhard": 200,
|
||||||
|
"amplifier": 1
|
||||||
|
},
|
||||||
|
"remove_on_hit": {
|
||||||
|
},
|
||||||
|
"particle_on_hit": {
|
||||||
|
"particle_type": "largeexplode",
|
||||||
|
"on_other_hit": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"hitSound": "bullet.hit",
|
||||||
|
"destroyOnHurt": true,
|
||||||
|
"critParticleOnHurt": true,
|
||||||
|
"power": 1.6,
|
||||||
|
"gravity": 0.05,
|
||||||
|
"uncertaintyBase": 16,
|
||||||
|
"uncertaintyMultiplier": 4,
|
||||||
|
"anchor": 1,
|
||||||
|
"offset": [ 0, -0.1, 0 ],
|
||||||
|
"homing": true
|
||||||
|
},
|
||||||
|
"minecraft:physics": {
|
||||||
|
"has_collision": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loaded 100 of 5013 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user