Удалена летучья мышь и добавлена турель
This commit is contained in:
@@ -0,0 +1,99 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "imoo:abat",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 1,
|
||||
"attack_interval": 5,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"}
|
||||
]
|
||||
},
|
||||
"max_dist": 20
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/imoo_abat.json"
|
||||
},
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "bat", "mob", "monster" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.5,
|
||||
"height": 0.9
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"cause": "fall",
|
||||
"deals_damage": false
|
||||
}
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.1
|
||||
},
|
||||
"minecraft:navigation.float": {
|
||||
"can_path_over_water": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"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": 10,
|
||||
"max": 10
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -7,7 +7,7 @@
|
||||
"version": [
|
||||
0,
|
||||
5,
|
||||
15
|
||||
17
|
||||
],
|
||||
"min_engine_version": [
|
||||
1,
|
||||
@@ -23,7 +23,7 @@
|
||||
"version": [
|
||||
0,
|
||||
5,
|
||||
15
|
||||
17
|
||||
]
|
||||
}
|
||||
],
|
||||
@@ -33,7 +33,7 @@
|
||||
"version": [
|
||||
0,
|
||||
5,
|
||||
15
|
||||
17
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"format_version": "1.17.0",
|
||||
"minecraft:spawn_rules": {
|
||||
"description": {
|
||||
"identifier": "imoo:abat",
|
||||
"population_control": "ambient"
|
||||
},
|
||||
"conditions": [
|
||||
{
|
||||
"minecraft:spawns_underground": {},
|
||||
"minecraft:brightness_filter": {
|
||||
"min": 0,
|
||||
"max": 4,
|
||||
"adjust_for_weather": true
|
||||
},
|
||||
"minecraft:height_filter": {
|
||||
"min": -63,
|
||||
"max": 63
|
||||
},
|
||||
"minecraft:weight": {
|
||||
"default": 10
|
||||
},
|
||||
"minecraft:herd": {
|
||||
"min_size": 2,
|
||||
"max_size": 2
|
||||
},
|
||||
"minecraft:density_limit": {
|
||||
"surface": 5
|
||||
},
|
||||
|
||||
"minecraft:biome_filter": {
|
||||
"test": "has_biome_tag", "operator":"==", "value": "animal"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user