From b686bba00598bf91bae4096150e96d493b65554a Mon Sep 17 00:00:00 2001 From: Sollace Date: Wed, 2 Nov 2022 22:50:03 +0100 Subject: [PATCH] Fixed texturing on piglin tails. Closes #213 --- .../assets/minelittlepony/models/components/pig_snout.json | 6 +++--- src/main/resources/assets/minelittlepony/models/piglin.json | 5 +++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/main/resources/assets/minelittlepony/models/components/pig_snout.json b/src/main/resources/assets/minelittlepony/models/components/pig_snout.json index 80af4fef..2248c29b 100644 --- a/src/main/resources/assets/minelittlepony/models/components/pig_snout.json +++ b/src/main/resources/assets/minelittlepony/models/components/pig_snout.json @@ -1,14 +1,14 @@ { "parent": "minelittlepony:components/snout", - "texture": {"w": 64, "h": 64, "u": 16, "v": 8}, - "data": { + "texture": {"w": 64, "h": 64, "u": 16, "v": 8}, + "data": { "mare": { "type": "mson:planar", "pivot": ["#x", "#y", "#z"], "north": [-2, -1, -7, 4, 3, 10, 13], "up": [-2, -1, -7, 4, 1, 10, 13], "down": [-2, 2, -7, 4, 1, 18, 7], - "west": [-2, -1, -7, 1, 3, 9, 13], + "west": [-2, -1, -7, 1, 3, 9, 13], "east": [ 2, -1, -7, 1, 3, 14, 13] } } diff --git a/src/main/resources/assets/minelittlepony/models/piglin.json b/src/main/resources/assets/minelittlepony/models/piglin.json index d86f96f1..1edc0a4a 100644 --- a/src/main/resources/assets/minelittlepony/models/piglin.json +++ b/src/main/resources/assets/minelittlepony/models/piglin.json @@ -158,12 +158,14 @@ }, "data": { "tail": { + "pivot": [0, 0, 14], "children": { "segment_0": { "type": "mson:slot", "name": "segment_0", "implementation": "com.minelittlepony.client.model.part.PonyTail$Segment", "locals": { "segment_index": 0 }, + "texture": {"w": 128, "h": 64}, "data": "minelittlepony:components/tail_segment" }, "segment_1": { @@ -171,6 +173,7 @@ "name": "segment_1", "implementation": "com.minelittlepony.client.model.part.PonyTail$Segment", "locals": { "segment_index": 1 }, + "texture": {"w": 128, "h": 64}, "data": "minelittlepony:components/tail_segment" }, "segment_2": { @@ -178,6 +181,7 @@ "name": "segment_2", "implementation": "com.minelittlepony.client.model.part.PonyTail$Segment", "locals": { "segment_index": 2 }, + "texture": {"w": 128, "h": 64}, "data": "minelittlepony:components/tail_segment" }, "segment_3": { @@ -185,6 +189,7 @@ "name": "segment_3", "implementation": "com.minelittlepony.client.model.part.PonyTail$Segment", "locals": { "segment_index": 3 }, + "texture": {"w": 128, "h": 64}, "data": "minelittlepony:components/tail_segment" } }