diff --git a/com.tikaiz.Enderman/Common/Items/Enderman/Enderman.blockymodel b/MyEnderman.Enderman/Common/Items/Enderman/Enderman.blockymodel similarity index 93% rename from com.tikaiz.Enderman/Common/Items/Enderman/Enderman.blockymodel rename to MyEnderman.Enderman/Common/Items/Enderman/Enderman.blockymodel index 436f455..1c54bdc 100644 --- a/com.tikaiz.Enderman/Common/Items/Enderman/Enderman.blockymodel +++ b/MyEnderman.Enderman/Common/Items/Enderman/Enderman.blockymodel @@ -53,17 +53,16 @@ }, { "id": "2", - "name": "cube", - "position": {"x": 0, "y": 82, "z": 5}, + "name": "main", + "position": {"x": 2, "y": 80, "z": 0}, "orientation": {"x": 0, "y": 0, "z": 0, "w": 1}, "shape": { "type": "box", - "offset": {"x": -0.5, "y": 0.5, "z": 0}, + "offset": {"x": -2.5, "y": 2.5, "z": 5}, "stretch": {"x": 1, "y": 1, "z": 1}, "settings": { "isPiece": false, - "size": {"x": 33, "y": 51, "z": 12}, - "isStaticBox": true + "size": {"x": 33, "y": 51, "z": 12} }, "textureLayout": { "back": { @@ -105,64 +104,12 @@ }, { "id": "3", - "name": "cube", - "position": {"x": 0, "y": 124, "z": -8}, - "orientation": {"x": 0, "y": 0, "z": 0, "w": 1}, - "shape": { - "type": "box", - "offset": {"x": -1, "y": -3, "z": 12}, - "stretch": {"x": 1, "y": 1, "z": 1}, - "settings": { - "isPiece": false, - "size": {"x": 28, "y": 26, "z": 26}, - "isStaticBox": true - }, - "textureLayout": { - "back": { - "offset": {"x": 0, "y": 51}, - "mirror": {"x": false, "y": false}, - "angle": 0 - }, - "right": { - "offset": {"x": 0, "y": 77}, - "mirror": {"x": false, "y": false}, - "angle": 0 - }, - "front": { - "offset": {"x": 28, "y": 51}, - "mirror": {"x": false, "y": false}, - "angle": 0 - }, - "left": { - "offset": {"x": 26, "y": 77}, - "mirror": {"x": false, "y": false}, - "angle": 0 - }, - "top": { - "offset": {"x": 84, "y": 77}, - "mirror": {"x": true, "y": true}, - "angle": 0 - }, - "bottom": { - "offset": {"x": 94, "y": 0}, - "mirror": {"x": true, "y": false}, - "angle": 0 - } - }, - "unwrapMode": "custom", - "visible": true, - "doubleSided": false, - "shadingMode": "flat" - } - }, - { - "id": "4", "name": "armright", - "position": {"x": 0, "y": 102, "z": 0}, + "position": {"x": 0, "y": 101, "z": 0}, "orientation": {"x": 0, "y": 0, "z": 0, "w": 1}, "shape": { "type": "box", - "offset": {"x": -20, "y": -27, "z": 4.5}, + "offset": {"x": -20, "y": -26, "z": 4.5}, "stretch": {"x": 1, "y": 1, "z": 1}, "settings": { "isPiece": false, @@ -207,13 +154,13 @@ } }, { - "id": "5", + "id": "4", "name": "armleft", - "position": {"x": 0, "y": 104, "z": 0}, + "position": {"x": 0, "y": 103, "z": 0}, "orientation": {"x": 0, "y": 0, "z": 0, "w": 1}, "shape": { "type": "box", - "offset": {"x": 19, "y": -29, "z": 4.5}, + "offset": {"x": 19, "y": -28, "z": 4.5}, "stretch": {"x": 1, "y": 1, "z": 1}, "settings": { "isPiece": false, @@ -258,7 +205,7 @@ } }, { - "id": "6", + "id": "5", "name": "legleft", "position": {"x": 0, "y": 63, "z": 0}, "orientation": {"x": 0, "y": 0, "z": 0, "w": 1}, @@ -307,6 +254,57 @@ "doubleSided": false, "shadingMode": "flat" } + }, + { + "id": "6", + "name": "head", + "position": {"x": 2, "y": 80, "z": 0}, + "orientation": {"x": 0, "y": 0, "z": 0, "w": 1}, + "shape": { + "type": "box", + "offset": {"x": -3, "y": 41, "z": 4}, + "stretch": {"x": 1, "y": 1, "z": 1}, + "settings": { + "isPiece": false, + "size": {"x": 28, "y": 26, "z": 26} + }, + "textureLayout": { + "back": { + "offset": {"x": 0, "y": 51}, + "mirror": {"x": false, "y": false}, + "angle": 0 + }, + "right": { + "offset": {"x": 0, "y": 77}, + "mirror": {"x": false, "y": false}, + "angle": 0 + }, + "front": { + "offset": {"x": 28, "y": 51}, + "mirror": {"x": false, "y": false}, + "angle": 0 + }, + "left": { + "offset": {"x": 26, "y": 77}, + "mirror": {"x": false, "y": false}, + "angle": 0 + }, + "top": { + "offset": {"x": 84, "y": 77}, + "mirror": {"x": true, "y": true}, + "angle": 0 + }, + "bottom": { + "offset": {"x": 94, "y": 0}, + "mirror": {"x": true, "y": false}, + "angle": 0 + } + }, + "unwrapMode": "custom", + "visible": true, + "doubleSided": false, + "shadingMode": "flat" + } } ], "format": "character", diff --git a/MyEnderman.Enderman/Common/Items/Enderman/base.png b/MyEnderman.Enderman/Common/Items/Enderman/base.png new file mode 100644 index 0000000..f3be406 Binary files /dev/null and b/MyEnderman.Enderman/Common/Items/Enderman/base.png differ diff --git a/MyEnderman.Enderman/Common/Items/Enderman/dying.blockyanim b/MyEnderman.Enderman/Common/Items/Enderman/dying.blockyanim new file mode 100644 index 0000000..8082bfb --- /dev/null +++ b/MyEnderman.Enderman/Common/Items/Enderman/dying.blockyanim @@ -0,0 +1,61 @@ +{ + "formatVersion": 1, + "duration": 22.5, + "holdLastKeyframe": false, + "nodeAnimations": { + "armright": { + "position": [], + "orientation": [ + { + "time": 0, + "delta": {"x": 0, "y": 0, "z": 0, "w": 1}, + "interpolationType": "linear" + }, + { + "time": 23, + "delta": {"x": 0, "y": 0, "z": -0.38268, "w": 0.92388}, + "interpolationType": "linear" + } + ], + "shapeStretch": [], + "shapeVisible": [], + "shapeUvOffset": [] + }, + "armleft": { + "position": [], + "orientation": [ + { + "time": 0, + "delta": {"x": 0, "y": 0, "z": 0, "w": 1}, + "interpolationType": "linear" + }, + { + "time": 23, + "delta": {"x": 0, "y": 0, "z": 0.38268, "w": 0.92388}, + "interpolationType": "linear" + } + ], + "shapeStretch": [], + "shapeVisible": [], + "shapeUvOffset": [] + }, + "head": { + "position": [ + { + "time": 0, + "delta": {"x": 0, "y": 0, "z": 0}, + "interpolationType": "linear" + }, + { + "time": 23, + "delta": {"x": 0, "y": 20, "z": 0}, + "interpolationType": "linear" + } + ], + "orientation": [], + "shapeStretch": [], + "shapeVisible": [], + "shapeUvOffset": [] + } + } +} \ No newline at end of file diff --git a/com.tikaiz.Enderman/Common/Items/Enderman/walk.blockyanim b/MyEnderman.Enderman/Common/Items/Enderman/walk.blockyanim similarity index 100% rename from com.tikaiz.Enderman/Common/Items/Enderman/walk.blockyanim rename to MyEnderman.Enderman/Common/Items/Enderman/walk.blockyanim diff --git a/com.tikaiz.Enderman/Server/Models/Enderman.json b/MyEnderman.Enderman/Server/Models/Enderman.json similarity index 92% rename from com.tikaiz.Enderman/Server/Models/Enderman.json rename to MyEnderman.Enderman/Server/Models/Enderman.json index b1b076a..9e22e18 100644 --- a/com.tikaiz.Enderman/Server/Models/Enderman.json +++ b/MyEnderman.Enderman/Server/Models/Enderman.json @@ -2,7 +2,7 @@ "Parent": "Player", "Model": "Items/Enderman/Enderman.blockymodel", "Texture": "Items/Enderman/base.png", - "EyeHeight": 1.6, + "EyeHeight": 0, "CrouchOffset": -0.4, "HitBox": { "Max": { @@ -11,9 +11,9 @@ "Z": 0.3 }, "Min": { - "X": -0.3, "Y": 0, - "Z": -0.3 + "Z": -0.3, + "X": -0.3 } }, "AnimationSets": { @@ -46,9 +46,10 @@ "Run": { "Animations": [ { - "Animation": "NPC/Undead/Skeleton/Animations/Default/Run.blockyanim", - "Speed": 0.9, - "SoundEventId": "SFX_Skeleton_Run" + "Animation": "Items/Enderman/walk.blockyanim", + "Speed": 2, + "SoundEventId": "SFX_Skeleton_Run", + "Looping": true } ] }, @@ -356,24 +357,10 @@ "Death": { "Animations": [ { - "Animation": "NPC/Undead/Skeleton/Animations/Damage/Death.blockyanim", - "Looping": false, - "SoundEventId": "SFX_Skeleton_Death_1" - }, - { - "Animation": "NPC/Undead/Skeleton/Animations/Damage/Death2.blockyanim", - "Looping": false, - "SoundEventId": "SFX_Skeleton_Death_2" - }, - { - "Animation": "NPC/Undead/Skeleton/Animations/Damage/Death3.blockyanim", - "Looping": false, - "SoundEventId": "SFX_Skeleton_Death_3" - }, - { - "Animation": "NPC/Undead/Skeleton/Animations/Damage/Death4.blockyanim", - "Looping": false, - "SoundEventId": "SFX_Skeleton_Death_4" + "Animation": "Items/Enderman/dying.blockyanim", + "Looping": true, + "SoundEventId": "SFX_Skeleton_Death_4", + "Speed": 1 } ] }, @@ -460,6 +447,9 @@ } }, "GradientSet": "Colored_Cotton", + "PhysicsValues": { + "InvertedGravity": false + }, "DefaultAttachments": [ {} ] diff --git a/com.tikaiz.Enderman/Server/NPC/Roles/Enderman_Role.json b/MyEnderman.Enderman/Server/NPC/Roles/Enderman_Entity.json similarity index 97% rename from com.tikaiz.Enderman/Server/NPC/Roles/Enderman_Role.json rename to MyEnderman.Enderman/Server/NPC/Roles/Enderman_Entity.json index 1a89610..db8bc84 100644 --- a/com.tikaiz.Enderman/Server/NPC/Roles/Enderman_Role.json +++ b/MyEnderman.Enderman/Server/NPC/Roles/Enderman_Entity.json @@ -2,7 +2,7 @@ "Type": "Variant", "Reference": "Template_Intelligent", "Modify": { - "MaxHealth": 92, + "MaxHealth": 70, "HearingRange": 8, "ViewSector": 270, "WakingPeriod": [ diff --git a/com.tikaiz.Enderman/Server/NPC/Spawn/World/Enderman_Spawn.json b/MyEnderman.Enderman/Server/NPC/Spawn/World/Spawn_Enderman_NPC.json similarity index 58% rename from com.tikaiz.Enderman/Server/NPC/Spawn/World/Enderman_Spawn.json rename to MyEnderman.Enderman/Server/NPC/Spawn/World/Spawn_Enderman_NPC.json index abc7bf9..93fcc81 100644 --- a/com.tikaiz.Enderman/Server/NPC/Spawn/World/Enderman_Spawn.json +++ b/MyEnderman.Enderman/Server/NPC/Spawn/World/Spawn_Enderman_NPC.json @@ -1,17 +1,13 @@ { "Environments": [ "Env_Zone1_Plains", - "Env_Zone1", - "Env_Zone1_Azure", - "Env_Zone1_Autumn", - "Env_Zone1_Forests", - "Env_Zone1_Mountains" + "Env_Zone1" ], "NPCs": [ { "Weight": 25, "SpawnBlockSet": "Soil", - "Id": "Enderman_Role", + "Id": "Enderman_Entity", "Flock": "One_Or_Two" } ], diff --git a/MyEnderman.Enderman/manifest.json b/MyEnderman.Enderman/manifest.json new file mode 100644 index 0000000..7fbc3c5 --- /dev/null +++ b/MyEnderman.Enderman/manifest.json @@ -0,0 +1,23 @@ +{ + "Group": "MyEnderman", + "Name": "Enderman", + "Version": "0.1.0", + "Description": "This mod adds the Enderman to Hytale! It spawns in Zone1 and teleports around. It also attacks you if you get near. UNDER CONSTRUCTION!", + "Authors": [ + { + "Name": "greiflo", + "Email": "grflo7228@gmail.com" + }, + { + "Name": "tikaiz", + "Email": "tikaiz@gmx.at" + } + ], + "Website": "", + "Dependencies": {}, + "OptionalDependencies": {}, + "LoadBefore": {}, + "DisabledByDefault": false, + "IncludesAssetPack": false, + "SubPlugins": [] +} diff --git a/com.tikaiz.Enderman/Common/Items/Enderman/base.png b/com.tikaiz.Enderman/Common/Items/Enderman/base.png deleted file mode 100644 index 2d4b210..0000000 Binary files a/com.tikaiz.Enderman/Common/Items/Enderman/base.png and /dev/null differ diff --git a/com.tikaiz.Enderman/manifest.json b/com.tikaiz.Enderman/manifest.json deleted file mode 100644 index f6770a7..0000000 --- a/com.tikaiz.Enderman/manifest.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "Group": "com.tikaiz", - "Name": "Enderman", - "Version": "1.0.0", - "Description": "", - "Authors": [], - "Website": "", - "Dependencies": {}, - "OptionalDependencies": {}, - "LoadBefore": {}, - "DisabledByDefault": false, - "IncludesAssetPack": false, - "SubPlugins": [] -} \ No newline at end of file