diff --git a/behavior_pack/entities/imoo_abat.json b/behavior_pack/entities/imoo_abat.json new file mode 100644 index 0000000..e394f5b --- /dev/null +++ b/behavior_pack/entities/imoo_abat.json @@ -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": { + } + } +} diff --git a/behavior_pack/loot_tables/entities/imoo_abat.json b/behavior_pack/loot_tables/entities/imoo_abat.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/behavior_pack/loot_tables/entities/imoo_abat.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/behavior_pack/manifest.json b/behavior_pack/manifest.json index 77b919f..9785877 100644 --- a/behavior_pack/manifest.json +++ b/behavior_pack/manifest.json @@ -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 ] } ] diff --git a/behavior_pack/spawn_rules/imoo_abat.json b/behavior_pack/spawn_rules/imoo_abat.json new file mode 100644 index 0000000..291590e --- /dev/null +++ b/behavior_pack/spawn_rules/imoo_abat.json @@ -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" + } + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/entity/silverfish.entity.json b/resource_pack/entity/imoo_sfw.entity.json similarity index 100% rename from resource_pack/entity/silverfish.entity.json rename to resource_pack/entity/imoo_sfw.entity.json diff --git a/resource_pack/entity/imoo_turel.entity.json b/resource_pack/entity/imoo_turel.entity.json new file mode 100644 index 0000000..b2a0dc3 --- /dev/null +++ b/resource_pack/entity/imoo_turel.entity.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:blaze", + "min_engine_version": "1.8.0", + "materials": { + "body": "blaze_body", + "head": "blaze_head" + }, + "textures": { + "default": "textures/entity/blaze" + }, + "geometry": { + "default": "geometry.blaze" + }, + "animations": { + "look_at_target": "animation.common.look_at_target", + "move": "animation.blaze.move" + }, + "particle_effects": { + "charged_flames": "minecraft:mobflame_emitter" + }, + "animation_controllers": [ + { "move": "controller.animation.blaze.move" }, + { "flame": "controller.animation.blaze.flame" } + ], + "render_controllers": [ "controller.render.blaze" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 21 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/manifest.json b/resource_pack/manifest.json index 0f1e089..c8a0514 100644 --- a/resource_pack/manifest.json +++ b/resource_pack/manifest.json @@ -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 ] } ] diff --git a/resource_pack/models/entity/imoo_abat.geo.json b/resource_pack/models/entity/imoo_abat.geo.json deleted file mode 100644 index 126f5a3..0000000 --- a/resource_pack/models/entity/imoo_abat.geo.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "format_version": "1.8.0", - "geometry.imoo_abat": { - "texturewidth": 64, - "textureheight": 64, - "visible_bounds_width": 4, - "visible_bounds_height": 3, - "visible_bounds_offset": [0, 1.5, 0], - "bones": [ - { - "name": "head", - "pivot": [0, 24, 0], - "cubes": [ - {"origin": [-3, 21, -3], "size": [6, 6, 6], "uv": [0, 0]} - ] - }, - { - "name": "rightEar", - "parent": "head", - "pivot": [0, 24, 0], - "cubes": [ - {"origin": [-4, 26, -2], "size": [3, 4, 1], "uv": [24, 0]} - ] - }, - { - "name": "leftEar", - "parent": "head", - "pivot": [0, 24, 0], - "mirror": true, - "cubes": [ - {"origin": [1, 26, -2], "size": [3, 4, 1], "uv": [24, 0]} - ] - }, - { - "name": "body", - "pivot": [0, 24, 0], - "cubes": [ - {"origin": [-3, 8, -3], "size": [6, 12, 6], "uv": [0, 16]}, - {"origin": [-5, -8, 0], "size": [10, 16, 1], "uv": [0, 34]} - ] - }, - { - "name": "rightWing", - "parent": "body", - "pivot": [0, 24, 0], - "cubes": [ - {"origin": [-12, 7, 1.5], "size": [10, 16, 1], "uv": [42, 0]} - ] - }, - { - "name": "rightWingTip", - "parent": "rightWing", - "pivot": [-12, 23, 1.5], - "cubes": [ - {"origin": [-20, 10, 1.5], "size": [8, 12, 1], "uv": [24, 16]} - ] - }, - { - "name": "leftWing", - "parent": "body", - "pivot": [0, 24, 0], - "mirror": true, - "cubes": [ - {"origin": [2, 7, 1.5], "size": [10, 16, 1], "uv": [42, 0]} - ] - }, - { - "name": "leftWingTip", - "parent": "leftWing", - "pivot": [12, 23, 1.5], - "mirror": true, - "cubes": [ - {"origin": [12, 10, 1.5], "size": [8, 12, 1], "uv": [24, 16]} - ] - } - ] - } -} \ No newline at end of file diff --git a/resource_pack/models/entity/imoo_turel.geo.json b/resource_pack/models/entity/imoo_turel.geo.json new file mode 100644 index 0000000..b27f398 --- /dev/null +++ b/resource_pack/models/entity/imoo_turel.geo.json @@ -0,0 +1,103 @@ +{ + "format_version": "1.8.0", + "geometry.blaze": { + "texturewidth": 64, + "textureheight": 32, + "visible_bounds_width": 2, + "visible_bounds_height": 3, + "visible_bounds_offset": [0, 1.5, 0], + "bones": [ + { + "name": "upperBodyParts0", + "pivot": [0, 24, 0], + "cubes": [ + {"origin": [0, 16, 0], "size": [2, 8, 2], "uv": [0, 16]} + ] + }, + { + "name": "upperBodyParts1", + "pivot": [0, 24, 0], + "cubes": [ + {"origin": [0, 16, 0], "size": [2, 8, 2], "uv": [0, 16]} + ] + }, + { + "name": "upperBodyParts2", + "pivot": [0, 24, 0], + "cubes": [ + {"origin": [0, 16, 0], "size": [2, 8, 2], "uv": [0, 16]} + ] + }, + { + "name": "upperBodyParts3", + "pivot": [0, 24, 0], + "cubes": [ + {"origin": [0, 16, 0], "size": [2, 8, 2], "uv": [0, 16]} + ] + }, + { + "name": "upperBodyParts4", + "pivot": [0, 24, 0], + "cubes": [ + {"origin": [0, 16, 0], "size": [2, 8, 2], "uv": [0, 16]} + ] + }, + { + "name": "upperBodyParts5", + "pivot": [0, 24, 0], + "cubes": [ + {"origin": [0, 16, 0], "size": [2, 8, 2], "uv": [0, 16]} + ] + }, + { + "name": "upperBodyParts6", + "pivot": [0, 24, 0], + "cubes": [ + {"origin": [0, 16, 0], "size": [2, 8, 2], "uv": [0, 16]} + ] + }, + { + "name": "upperBodyParts7", + "pivot": [0, 24, 0], + "cubes": [ + {"origin": [0, 16, 0], "size": [2, 8, 2], "uv": [0, 16]} + ] + }, + { + "name": "upperBodyParts8", + "pivot": [0, 24, 0], + "cubes": [ + {"origin": [0, 16, 0], "size": [2, 8, 2], "uv": [0, 16]} + ] + }, + { + "name": "upperBodyParts9", + "pivot": [0, 24, 0], + "cubes": [ + {"origin": [0, 16, 0], "size": [2, 8, 2], "uv": [0, 16]} + ] + }, + { + "name": "upperBodyParts10", + "pivot": [0, 24, 0], + "cubes": [ + {"origin": [0, 16, 0], "size": [2, 8, 2], "uv": [0, 16]} + ] + }, + { + "name": "upperBodyParts11", + "pivot": [0, 24, 0], + "cubes": [ + {"origin": [0, 16, 0], "size": [2, 8, 2], "uv": [0, 16]} + ] + }, + { + "name": "head", + "pivot": [0, 24, 0], + "cubes": [ + {"origin": [-4, 20, -4], "size": [8, 8, 8], "uv": [0, 0]} + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/textures/entity/imoo_abat.png b/resource_pack/textures/entity/imoo_abat.png deleted file mode 100644 index bf74e47..0000000 Binary files a/resource_pack/textures/entity/imoo_abat.png and /dev/null differ diff --git a/resource_pack/textures/entity/imoo_turel.png b/resource_pack/textures/entity/imoo_turel.png new file mode 100644 index 0000000..8b95571 Binary files /dev/null and b/resource_pack/textures/entity/imoo_turel.png differ diff --git a/resource_pack/textures/items/mob/imoo_egg_abat.png b/resource_pack/textures/items/mob/imoo_egg_abat.png deleted file mode 100644 index deb450c..0000000 Binary files a/resource_pack/textures/items/mob/imoo_egg_abat.png and /dev/null differ diff --git a/resource_pack/textures/items/mob/imoo_turel.png b/resource_pack/textures/items/mob/imoo_turel.png new file mode 100644 index 0000000..018396d Binary files /dev/null and b/resource_pack/textures/items/mob/imoo_turel.png differ