Новый моб

This commit is contained in:
Hell13Cat
2022-02-07 22:58:00 +03:00
parent 833db291e9
commit 4e89129676
16 changed files with 489 additions and 9 deletions
@@ -0,0 +1,13 @@
{
"format_version" : "1.10.0",
"animation_controllers" : {
"controller.animation.silverfish.move" : {
"initial_state" : "default",
"states" : {
"default" : {
"animations" : [ "move" ]
}
}
}
}
}
@@ -0,0 +1,38 @@
{
"format_version" : "1.8.0",
"animations" : {
"animation.silverfish.move" : {
"anim_time_update" : "query.modified_distance_moved",
"loop" : true,
"bones" : {
"bodypart_0" : {
"position" : [ "math.sin(query.life_time * 1031.4) * 1.26", 0.0, 0.0 ],
"rotation" : [ 0.0, "math.cos(query.life_time * 1031.4) * 27", 0.0 ]
},
"bodypart_1" : {
"position" : [ "math.sin(query.life_time * 1031.4 + 27) * 0.63", 0.0, 0.0 ],
"rotation" : [ 0.0, "math.cos(query.life_time * 1031.4 + 27) * 18", 0.0 ]
},
"bodypart_2" : {
"rotation" : [ 0.0, "math.cos(query.life_time * 1031.4 + 54) * 9", 0.0 ]
},
"bodypart_3" : {
"position" : [ "math.sin(query.life_time * 1031.4 + 81) * 0.63", 0.0, 0.0 ],
"rotation" : [ 0.0, "math.cos(query.life_time * 1031.4 + 81) * 18", 0.0 ]
},
"bodypart_4" : {
"position" : [ "math.sin(query.life_time * 1031.4 + 108) * 1.26", 0.0, 0.0 ],
"rotation" : [ 0.0, "math.cos(query.life_time * 1031.4 + 108) * 27", 0.0 ]
},
"bodypart_5" : {
"position" : [ "math.sin(query.life_time * 1031.4 + 135) * 1.89", 0.0, 0.0 ],
"rotation" : [ 0.0, "math.cos(query.life_time * 1031.4 + 135) * 36", 0.0 ]
},
"bodypart_6" : {
"position" : [ "math.sin(query.life_time * 1031.4 + 162) * 2.52", 0.0, 0.0 ],
"rotation" : [ 0.0, "math.cos(query.life_time * 1031.4 + 162) * 45", 0.0 ]
}
}
}
}
}
@@ -0,0 +1,29 @@
{
"format_version": "1.8.0",
"minecraft:client_entity": {
"description": {
"identifier": "imoo:sfw",
"materials": {
"default": "entity",
"body_layer": "silverfish_layers"
},
"textures": {
"default": "textures/entity/imoo_sfw"
},
"geometry": {
"default": "geometry.imoo_sfw"
},
"animations": {
"move": "animation.silverfish.move"
},
"animation_controllers": [
{ "move": "controller.animation.silverfish.move" }
],
"render_controllers": [ "controller.render.silverfish" ],
"spawn_egg": {
"texture": "mw_item",
"texture_index": 2
}
}
}
}
+3 -3
View File
@@ -7,7 +7,7 @@
"version": [
0,
5,
10
15
],
"min_engine_version": [
1,
@@ -23,7 +23,7 @@
"version": [
0,
5,
10
15
]
}
],
@@ -33,7 +33,7 @@
"version": [
0,
5,
10
15
]
}
]
@@ -0,0 +1,91 @@
{
"format_version": "1.8.0",
"geometry.imoo_sfw": {
"texturewidth": 64,
"textureheight": 32,
"visible_bounds_width": 3,
"visible_bounds_height": 1,
"visible_bounds_offset": [0, 0.5, 0],
"bones": [
{
"name": "bodyPart_2",
"pivot": [0, 4, 1],
"cubes": [
{"origin": [-3, 0, -0.5], "size": [6, 4, 3], "uv": [0, 9]}
]
},
{
"name": "bodyPart_0",
"parent": "bodyPart_2",
"pivot": [0, 2, -3.5],
"cubes": [
{"origin": [-1.5, 0, -4.5], "size": [3, 2, 2], "uv": [0, 0]}
]
},
{
"name": "bodyPart_1",
"parent": "bodyPart_2",
"pivot": [0, 3, -1.5],
"cubes": [
{"origin": [-2, 0, -2.5], "size": [4, 3, 2], "uv": [0, 4]}
]
},
{
"name": "bodyLayer_2",
"parent": "bodyPart_1",
"pivot": [0, 5, -1.5],
"cubes": [
{"origin": [-3, 0, -3], "size": [6, 5, 2], "uv": [20, 18]}
]
},
{
"name": "bodyPart_3",
"parent": "bodyPart_2",
"pivot": [0, 3, 4],
"cubes": [
{"origin": [-1.5, 0, 2.5], "size": [3, 3, 3], "uv": [0, 16]}
]
},
{
"name": "bodyPart_4",
"parent": "bodyPart_2",
"pivot": [0, 2, 7],
"cubes": [
{"origin": [-1, 0, 5.5], "size": [2, 2, 3], "uv": [0, 22]}
]
},
{
"name": "bodyLayer_1",
"parent": "bodyPart_4",
"pivot": [0, 4, 7],
"cubes": [
{"origin": [-3, 0, 5.5], "size": [6, 4, 3], "uv": [20, 11]}
]
},
{
"name": "bodyPart_5",
"parent": "bodyPart_2",
"pivot": [0, 1, 9.5],
"cubes": [
{"origin": [-1, 0, 8.5], "size": [2, 1, 2], "uv": [11, 0]}
]
},
{
"name": "bodyPart_6",
"parent": "bodyPart_2",
"pivot": [0, 1, 11.5],
"cubes": [
{"origin": [-0.5, 0, 10.5], "size": [1, 1, 2], "uv": [13, 4]}
]
},
{
"name": "bodyLayer_0",
"parent": "bodyPart_2",
"pivot": [0, 8, 1],
"cubes": [
{"origin": [-5, 0, -0.5], "size": [10, 8, 3], "uv": [20, 0]}
]
}
]
}
}
@@ -0,0 +1,59 @@
{
"format_version": "1.10.0",
"particle_effect": {
"description": {
"identifier": "minecraft:silverfish_grief_emitter",
"basic_render_parameters": {
"material": "particles_alpha",
"texture": "textures/particle/particles"
}
},
"components": {
"minecraft:emitter_rate_instant": {
"num_particles": 20
},
"minecraft:emitter_lifetime_once": {
},
"minecraft:emitter_shape_custom": {
"offset": [ "variable.aabb.x * Math.random(0, 2) - Math.random(0, 0.2) - variable.aabb.x",
"variable.aabb.y * Math.random(0, 1) - Math.random(0, 0.2)",
"variable.aabb.z * Math.random(0, 2) - Math.random(0, 0.2) - variable.aabb.z" ],
"direction": [ "Math.random(0, 0.02)", "Math.random(0, 0.02)", "Math.random(0, 0.02)" ]
},
"minecraft:particle_initial_speed": 2,
"minecraft:particle_lifetime_expression": {
"max_lifetime": "4 / Math.Random(1, 5) + 0.1"
},
"minecraft:particle_motion_dynamic": {
"linear_acceleration": [ 0, 4, 0 ],
"linear_drag_coefficient": 5.25
},
"minecraft:particle_motion_collision": {
"coefficient_of_restitution": 0.1,
"collision_drag": 10.0,
"collision_radius": 0.1
},
"minecraft:particle_appearance_billboard": {
"size": [ "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1", "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1" ],
"facing_camera_mode": "lookat_xyz",
"uv": {
"texture_width": 128,
"texture_height": 128,
"flipbook": {
"base_UV": [ 56, 0 ],
"size_UV": [ 8, 8 ],
"step_UV": [ -8, 0 ],
"frames_per_second": 8,
"max_frame": 8,
"stretch_to_lifetime": true,
"loop": false
}
}
},
"minecraft:particle_appearance_tinting": {
"color": [ "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", 0 ]
},
"minecraft:particle_appearance_lighting": {}
}
}
}
@@ -0,0 +1,26 @@
{
"format_version": "1.8.0",
"render_controllers": {
"controller.render.silverfish": {
"geometry": "Geometry.default",
"materials": [
{ "*": "Material.default" },
{ "bodyLayer_*": "Material.body_layer" }
],
"part_visibility": [
{ "*": "0" },
{ "bodypart_0": "1" },
{ "bodypart_1": "1" },
{ "bodypart_2": "1" },
{ "bodypart_3": "1" },
{ "bodypart_4": "1" },
{ "bodypart_5": "1" },
{ "bodypart_6": "1" },
{ "bodylayer_0": "1" },
{ "bodylayer_1": "1" },
{ "bodylayer_2": "1" }
],
"textures": [ "Texture.default" ]
}
}
}
+3 -1
View File
@@ -3,4 +3,6 @@ tile.imoo:chair.name=Chair
action.hint.exit.imoo:seat_helper=Jump to get up
tile.imoo:grave_1.name=Grave stone
tile.imoo:grave_2.name=Grave cross
tile.imoo:grave_3.name=Gravestone
tile.imoo:grave_3.name=Gravestone
item.spawn_egg.entity.imoo:sfw.name=Create a fluffy
entity.imoo:sfw.name=Fluffy
+3 -1
View File
@@ -3,4 +3,6 @@ tile.imoo:chair.name=Стул
action.hint.exit.imoo:seat_helper=Прыжок для того чтоб встать
tile.imoo:grave_1.name=Могильный камень
tile.imoo:grave_2.name=Могильный крест
tile.imoo:grave_3.name=Могильная плита
tile.imoo:grave_3.name=Могильная плита
item.spawn_egg.entity.imoo:sfw.name=Создать пушистика
entity.imoo:sfw.name=Пушистик
Binary file not shown.

After

Width:  |  Height:  |  Size: 358 B

+2 -1
View File
@@ -28,7 +28,8 @@
"mw_item": {
"textures": [
"textures/items/item/diamond_dust",
"textures/items/item/fastbuilder"
"textures/items/item/fastbuilder",
"textures/items/mob/imoo_egg_sfw"
]
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 330 B