From 862a29a54873e2e8277ccdb6ce94b6dea53f8202 Mon Sep 17 00:00:00 2001 From: dragonruler1000 Date: Wed, 14 May 2025 10:09:27 -0500 Subject: [PATCH 1/2] adding textures and updating gitignore Signed-off-by: dragonruler1000 --- .gitignore | 2 + .../assets/hdm_mod/models/block/window.json | 151 ++++++++++++++++++ .../assets/hdm_mod/textures/block/brown.png | Bin 0 -> 82 bytes .../assets/hdm_mod/textures/block/grey.png | Bin 0 -> 82 bytes .../assets/hdm_mod/textures/block/red.png | Bin 0 -> 82 bytes 5 files changed, 153 insertions(+) create mode 100644 src/main/resources/assets/hdm_mod/models/block/window.json create mode 100644 src/main/resources/assets/hdm_mod/textures/block/brown.png create mode 100644 src/main/resources/assets/hdm_mod/textures/block/grey.png create mode 100644 src/main/resources/assets/hdm_mod/textures/block/red.png diff --git a/.gitignore b/.gitignore index d5f737e..d3954a1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,8 @@ # User-specific stuff .idea/ +*.pxo + *.iml *.ipr *.iws diff --git a/src/main/resources/assets/hdm_mod/models/block/window.json b/src/main/resources/assets/hdm_mod/models/block/window.json new file mode 100644 index 0000000..cd75166 --- /dev/null +++ b/src/main/resources/assets/hdm_mod/models/block/window.json @@ -0,0 +1,151 @@ +{ + "credit": "Made with Blockbench", + "textures": { + "1": "tutorialmod:block/brown", + "2": "tutorialmod:block/grey", + "particle": "tutorialmod:block/red" + }, + "elements": [ + { + "from": [5, 11, 5], + "to": [6, 13, 11], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8.3125, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 6], "texture": "#2"}, + "east": {"uv": [0, 0, 1, 6], "texture": "#2"}, + "south": {"uv": [0, 0, 1, 6], "texture": "#2"}, + "west": {"uv": [0, 0, 1, 6], "texture": "#2"}, + "up": {"uv": [0, 0, 1, 6], "texture": "#2"}, + "down": {"uv": [0, 0, 1, 6], "texture": "#2"} + } + }, + { + "from": [4, 0, 4], + "to": [12, 1, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8.3125, 8]}, + "faces": { + "north": {"uv": [0, 0, 8, 8], "texture": "#1"}, + "east": {"uv": [0, 0, 8, 8], "texture": "#1"}, + "south": {"uv": [0, 0, 8, 8], "texture": "#1"}, + "west": {"uv": [0, 0, 8, 8], "texture": "#1"}, + "up": {"uv": [0, 0, 8, 8], "texture": "#1"}, + "down": {"uv": [0, 0, 8, 8], "texture": "#1"} + } + }, + { + "from": [5, 1, 5], + "to": [11, 2, 11], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8.3125, 8]}, + "faces": { + "north": {"uv": [0, 0, 6, 1], "texture": "#1"}, + "east": {"uv": [0, 0, 6, 1], "texture": "#1"}, + "south": {"uv": [0, 0, 6, 1], "texture": "#1"}, + "west": {"uv": [0, 0, 6, 1], "texture": "#1"}, + "up": {"uv": [0, 0, 6, 1], "texture": "#1"}, + "down": {"uv": [0, 0, 6, 1], "texture": "#1"} + } + }, + { + "from": [6, 2, 6], + "to": [10, 10, 10], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8.3125, 8]}, + "faces": { + "north": {"uv": [0, 0, 4, 8], "texture": "#1"}, + "east": {"uv": [0, 0, 4, 8], "texture": "#1"}, + "south": {"uv": [0, 0, 4, 8], "texture": "#1"}, + "west": {"uv": [0, 0, 4, 8], "texture": "#1"}, + "up": {"uv": [0, 0, 4, 8], "texture": "#1"}, + "down": {"uv": [0, 0, 4, 8], "texture": "#1"} + } + }, + { + "from": [5, 10, 4], + "to": [11, 11, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8.3125, 8]}, + "faces": { + "north": {"uv": [0, 0, 6, 8], "texture": "#2"}, + "east": {"uv": [0, 0, 6, 8], "texture": "#2"}, + "south": {"uv": [0, 0, 6, 8], "texture": "#2"}, + "west": {"uv": [0, 0, 6, 8], "texture": "#2"}, + "up": {"uv": [0, 0, 6, 8], "texture": "#2"}, + "down": {"uv": [0, 0, 6, 8], "texture": "#2"} + } + }, + { + "from": [5, 11, 4], + "to": [11, 12, 5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8.3125, 8]}, + "faces": { + "north": {"uv": [0, 0, 6, 1], "texture": "#2"}, + "east": {"uv": [0, 0, 6, 1], "texture": "#2"}, + "south": {"uv": [0, 0, 6, 1], "texture": "#2"}, + "west": {"uv": [0, 0, 6, 1], "texture": "#2"}, + "up": {"uv": [0, 0, 6, 1], "texture": "#2"}, + "down": {"uv": [0, 0, 6, 1], "texture": "#2"} + } + }, + { + "from": [5, 11, 11], + "to": [11, 14, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8.3125, 8]}, + "faces": { + "north": {"uv": [0, 0, 6, 1], "texture": "#2"}, + "east": {"uv": [0, 0, 6, 1], "texture": "#2"}, + "south": {"uv": [0, 0, 6, 1], "texture": "#2"}, + "west": {"uv": [0, 0, 6, 1], "texture": "#2"}, + "up": {"uv": [0, 0, 6, 1], "texture": "#2"}, + "down": {"uv": [0, 0, 6, 1], "texture": "#2"} + } + }, + { + "from": [10, 11, 5], + "to": [11, 13, 11], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8.3125, 8]}, + "faces": { + "north": {"uv": [0, 0, 1, 6], "texture": "#2"}, + "east": {"uv": [0, 0, 1, 6], "texture": "#2"}, + "south": {"uv": [0, 0, 1, 6], "texture": "#2"}, + "west": {"uv": [0, 0, 1, 6], "texture": "#2"}, + "up": {"uv": [0, 0, 1, 6], "texture": "#2"}, + "down": {"uv": [0, 0, 1, 6], "texture": "#2"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [0, -180, 0], + "scale": [0.5, 0.69, 0.5] + }, + "thirdperson_lefthand": { + "rotation": [0, -180, 0], + "scale": [0.5, 0.69, 0.5] + }, + "firstperson_righthand": { + "translation": [0, 4, 2.5], + "scale": [0.5, 0.5, 0.5] + }, + "firstperson_lefthand": { + "translation": [0, 4, 2.5], + "scale": [0.5, 0.5, 0.5] + }, + "ground": { + "translation": [0, 2.25, 0], + "scale": [0.75, 0.75, 0.75] + }, + "gui": { + "rotation": [55, -125, 0], + "scale": [0.75, 0.75, 0.75] + }, + "head": { + "translation": [0, 14, 0] + } + }, + "groups": [ + { + "name": "VoxelShapes", + "origin": [8, 8, 8], + "color": 0, + "children": [0, 1, 2, 3, 4, 5, 6, 7] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/hdm_mod/textures/block/brown.png b/src/main/resources/assets/hdm_mod/textures/block/brown.png new file mode 100644 index 0000000000000000000000000000000000000000..f1372e700c8f7be9e9757d69b5198054b4f50949 GIT binary patch literal 82 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61SBU+%rFB|lAbP(Ar`&KC6_KFD6kq#Tv8Qs fctxAyQbvYPrVN|T9p|h9Dq`?-^>bP0l+XkK(~1?7 literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/hdm_mod/textures/block/grey.png b/src/main/resources/assets/hdm_mod/textures/block/grey.png new file mode 100644 index 0000000000000000000000000000000000000000..fc1961d1c45913a577a39889db3845dde5a31110 GIT binary patch literal 82 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61SBU+%rFB|lAbP(Ar`&KTQ+=4QeZWhxTGrN f@QOCYrHl-vMGSZUZCSt$RK(!v>gTe~DWM4f->Mb` literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/hdm_mod/textures/block/red.png b/src/main/resources/assets/hdm_mod/textures/block/red.png new file mode 100644 index 0000000000000000000000000000000000000000..aa0a990b17d1f85386b8e23999e25d1e4ff63584 GIT binary patch literal 82 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61SBU+%rFB|lAbP(Ar`&KHA@y8aNtT%^8C7@ eEs)pQi Date: Wed, 14 May 2025 10:19:23 -0500 Subject: [PATCH 2/2] Fixing textures. Signed-off-by: dragonruler1000 --- src/main/resources/assets/hdm_mod/models/block/window.json | 6 +++--- src/main/resources/assets/hdm_mod/models/item/omelet.json | 2 +- .../resources/assets/hdm_mod/models/item/subtle_knife.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/resources/assets/hdm_mod/models/block/window.json b/src/main/resources/assets/hdm_mod/models/block/window.json index cd75166..54c9c09 100644 --- a/src/main/resources/assets/hdm_mod/models/block/window.json +++ b/src/main/resources/assets/hdm_mod/models/block/window.json @@ -1,9 +1,9 @@ { "credit": "Made with Blockbench", "textures": { - "1": "tutorialmod:block/brown", - "2": "tutorialmod:block/grey", - "particle": "tutorialmod:block/red" + "1": "hdm_mod:block/brown", + "2": "hdm_mod:block/grey", + "particle": "hdm_mod:block/red" }, "elements": [ { diff --git a/src/main/resources/assets/hdm_mod/models/item/omelet.json b/src/main/resources/assets/hdm_mod/models/item/omelet.json index e08920c..2dccee3 100644 --- a/src/main/resources/assets/hdm_mod/models/item/omelet.json +++ b/src/main/resources/assets/hdm_mod/models/item/omelet.json @@ -1,6 +1,6 @@ { "parent": "item/generated", "textures": { - "layer0": "hdm_mod:items/omelet" + "layer0": "hdm_mod:item/omelet" } } \ No newline at end of file diff --git a/src/main/resources/assets/hdm_mod/models/item/subtle_knife.json b/src/main/resources/assets/hdm_mod/models/item/subtle_knife.json index ab9881b..981cf10 100644 --- a/src/main/resources/assets/hdm_mod/models/item/subtle_knife.json +++ b/src/main/resources/assets/hdm_mod/models/item/subtle_knife.json @@ -1,6 +1,6 @@ { "parent": "item/generated", "textures": { - "layer0": "hdm_mod:items/knife" + "layer0": "hdm_mod:item/knife" } } \ No newline at end of file