From 2d0b363fe3179087de59d9ef4a2d14af21d89071 Mon Sep 17 00:00:00 2001 From: SoniEx2 Date: Wed, 17 Aug 2022 21:21:26 -0300 Subject: [Project] ChewStuff Chew Necklaces for Minecraft! --- src/main/resources/assets/chewstuff/icon.png | Bin 0 -> 999 bytes .../resources/assets/chewstuff/lang/en_us.json | 6 ++++ .../assets/chewstuff/models/item/hard_chew.json | 6 ++++ .../assets/chewstuff/models/item/medium_chew.json | 6 ++++ .../assets/chewstuff/models/item/silicone.json | 6 ++++ .../assets/chewstuff/models/item/soft_chew.json | 6 ++++ .../assets/chewstuff/textures/item/hard_chew.png | Bin 0 -> 143 bytes .../assets/chewstuff/textures/item/medium_chew.png | Bin 0 -> 155 bytes .../assets/chewstuff/textures/item/silicone.png | Bin 0 -> 473 bytes .../assets/chewstuff/textures/item/soft_chew.png | Bin 0 -> 154 bytes src/main/resources/assets/modid/icon.png | Bin 453 -> 0 bytes src/main/resources/chewstuff.mixins.json | 15 ++++++++++ .../data/chewstuff/recipes/hard_chew.json | 20 +++++++++++++ .../data/chewstuff/recipes/medium_chew.json | 17 +++++++++++ .../resources/data/chewstuff/recipes/silicone.json | 14 +++++++++ .../data/chewstuff/recipes/soft_chew.json | 14 +++++++++ .../data/trinkets/entities/chewstuff.json | 8 +++++ .../data/trinkets/tags/items/chest/necklace.json | 8 +++++ src/main/resources/fabric.mod.json | 33 +++++++++++++-------- src/main/resources/modid.mixins.json | 14 --------- 20 files changed, 147 insertions(+), 26 deletions(-) create mode 100644 src/main/resources/assets/chewstuff/icon.png create mode 100644 src/main/resources/assets/chewstuff/lang/en_us.json create mode 100644 src/main/resources/assets/chewstuff/models/item/hard_chew.json create mode 100644 src/main/resources/assets/chewstuff/models/item/medium_chew.json create mode 100644 src/main/resources/assets/chewstuff/models/item/silicone.json create mode 100644 src/main/resources/assets/chewstuff/models/item/soft_chew.json create mode 100644 src/main/resources/assets/chewstuff/textures/item/hard_chew.png create mode 100644 src/main/resources/assets/chewstuff/textures/item/medium_chew.png create mode 100644 src/main/resources/assets/chewstuff/textures/item/silicone.png create mode 100644 src/main/resources/assets/chewstuff/textures/item/soft_chew.png delete mode 100644 src/main/resources/assets/modid/icon.png create mode 100644 src/main/resources/chewstuff.mixins.json create mode 100644 src/main/resources/data/chewstuff/recipes/hard_chew.json create mode 100644 src/main/resources/data/chewstuff/recipes/medium_chew.json create mode 100644 src/main/resources/data/chewstuff/recipes/silicone.json create mode 100644 src/main/resources/data/chewstuff/recipes/soft_chew.json create mode 100644 src/main/resources/data/trinkets/entities/chewstuff.json create mode 100644 src/main/resources/data/trinkets/tags/items/chest/necklace.json delete mode 100644 src/main/resources/modid.mixins.json (limited to 'src/main/resources') diff --git a/src/main/resources/assets/chewstuff/icon.png b/src/main/resources/assets/chewstuff/icon.png new file mode 100644 index 0000000..b9d942a Binary files /dev/null and b/src/main/resources/assets/chewstuff/icon.png differ diff --git a/src/main/resources/assets/chewstuff/lang/en_us.json b/src/main/resources/assets/chewstuff/lang/en_us.json new file mode 100644 index 0000000..47af750 --- /dev/null +++ b/src/main/resources/assets/chewstuff/lang/en_us.json @@ -0,0 +1,6 @@ +{ + "item.chewstuff.silicone": "Silicone", + "item.chewstuff.soft_chew": "Soft Chew Necklace", + "item.chewstuff.medium_chew": "Medium Chew Necklace", + "item.chewstuff.hard_chew": "Hard Chew Necklace" +} \ No newline at end of file diff --git a/src/main/resources/assets/chewstuff/models/item/hard_chew.json b/src/main/resources/assets/chewstuff/models/item/hard_chew.json new file mode 100644 index 0000000..0191e60 --- /dev/null +++ b/src/main/resources/assets/chewstuff/models/item/hard_chew.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "chewstuff:item/hard_chew" + } +} diff --git a/src/main/resources/assets/chewstuff/models/item/medium_chew.json b/src/main/resources/assets/chewstuff/models/item/medium_chew.json new file mode 100644 index 0000000..596291a --- /dev/null +++ b/src/main/resources/assets/chewstuff/models/item/medium_chew.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "chewstuff:item/medium_chew" + } +} diff --git a/src/main/resources/assets/chewstuff/models/item/silicone.json b/src/main/resources/assets/chewstuff/models/item/silicone.json new file mode 100644 index 0000000..36fcd35 --- /dev/null +++ b/src/main/resources/assets/chewstuff/models/item/silicone.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "chewstuff:item/silicone" + } +} diff --git a/src/main/resources/assets/chewstuff/models/item/soft_chew.json b/src/main/resources/assets/chewstuff/models/item/soft_chew.json new file mode 100644 index 0000000..3923e9e --- /dev/null +++ b/src/main/resources/assets/chewstuff/models/item/soft_chew.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "chewstuff:item/soft_chew" + } +} diff --git a/src/main/resources/assets/chewstuff/textures/item/hard_chew.png b/src/main/resources/assets/chewstuff/textures/item/hard_chew.png new file mode 100644 index 0000000..be5712c Binary files /dev/null and b/src/main/resources/assets/chewstuff/textures/item/hard_chew.png differ diff --git a/src/main/resources/assets/chewstuff/textures/item/medium_chew.png b/src/main/resources/assets/chewstuff/textures/item/medium_chew.png new file mode 100644 index 0000000..871ad3c Binary files /dev/null and b/src/main/resources/assets/chewstuff/textures/item/medium_chew.png differ diff --git a/src/main/resources/assets/chewstuff/textures/item/silicone.png b/src/main/resources/assets/chewstuff/textures/item/silicone.png new file mode 100644 index 0000000..aad04bb Binary files /dev/null and b/src/main/resources/assets/chewstuff/textures/item/silicone.png differ diff --git a/src/main/resources/assets/chewstuff/textures/item/soft_chew.png b/src/main/resources/assets/chewstuff/textures/item/soft_chew.png new file mode 100644 index 0000000..2cc2f29 Binary files /dev/null and b/src/main/resources/assets/chewstuff/textures/item/soft_chew.png differ diff --git a/src/main/resources/assets/modid/icon.png b/src/main/resources/assets/modid/icon.png deleted file mode 100644 index 047b91f..0000000 Binary files a/src/main/resources/assets/modid/icon.png and /dev/null differ diff --git a/src/main/resources/chewstuff.mixins.json b/src/main/resources/chewstuff.mixins.json new file mode 100644 index 0000000..ef0b3fa --- /dev/null +++ b/src/main/resources/chewstuff.mixins.json @@ -0,0 +1,15 @@ +{ + "required": true, + "minVersion": "0.8", + "package": "ganarchy.chewstuff.mixin", + "compatibilityLevel": "JAVA_17", + "mixins": [ + "PotionMix", + "DesyncFix" + ], + "client": [ + ], + "injectors": { + "defaultRequire": 1 + } +} diff --git a/src/main/resources/data/chewstuff/recipes/hard_chew.json b/src/main/resources/data/chewstuff/recipes/hard_chew.json new file mode 100644 index 0000000..8cea939 --- /dev/null +++ b/src/main/resources/data/chewstuff/recipes/hard_chew.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "chewstuff:silicone" + }, + { + "item": "chewstuff:silicone" + }, + { + "item": "chewstuff:silicone" + }, + { + "item": "minecraft:string" + } + ], + "result": { + "item": "chewstuff:hard_chew" + } +} diff --git a/src/main/resources/data/chewstuff/recipes/medium_chew.json b/src/main/resources/data/chewstuff/recipes/medium_chew.json new file mode 100644 index 0000000..a4b9639 --- /dev/null +++ b/src/main/resources/data/chewstuff/recipes/medium_chew.json @@ -0,0 +1,17 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "chewstuff:silicone" + }, + { + "item": "chewstuff:silicone" + }, + { + "item": "minecraft:string" + } + ], + "result": { + "item": "chewstuff:medium_chew" + } +} diff --git a/src/main/resources/data/chewstuff/recipes/silicone.json b/src/main/resources/data/chewstuff/recipes/silicone.json new file mode 100644 index 0000000..137e5fd --- /dev/null +++ b/src/main/resources/data/chewstuff/recipes/silicone.json @@ -0,0 +1,14 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "tag": "minecraft:coals" + }, + { + "tag": "minecraft:sand" + } + ], + "result": { + "item": "chewstuff:silicone" + } +} diff --git a/src/main/resources/data/chewstuff/recipes/soft_chew.json b/src/main/resources/data/chewstuff/recipes/soft_chew.json new file mode 100644 index 0000000..1e15630 --- /dev/null +++ b/src/main/resources/data/chewstuff/recipes/soft_chew.json @@ -0,0 +1,14 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "chewstuff:silicone" + }, + { + "item": "minecraft:string" + } + ], + "result": { + "item": "chewstuff:soft_chew" + } +} diff --git a/src/main/resources/data/trinkets/entities/chewstuff.json b/src/main/resources/data/trinkets/entities/chewstuff.json new file mode 100644 index 0000000..fd5f0d3 --- /dev/null +++ b/src/main/resources/data/trinkets/entities/chewstuff.json @@ -0,0 +1,8 @@ +{ + "entities": [ + "player" + ], + "slots": [ + "chest/necklace" + ] +} diff --git a/src/main/resources/data/trinkets/tags/items/chest/necklace.json b/src/main/resources/data/trinkets/tags/items/chest/necklace.json new file mode 100644 index 0000000..4d31011 --- /dev/null +++ b/src/main/resources/data/trinkets/tags/items/chest/necklace.json @@ -0,0 +1,8 @@ +{ + "replace": false, + "values": [ + "chewstuff:soft_chew", + "chewstuff:medium_chew", + "chewstuff:hard_chew" + ] +} diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 730d843..9f07af9 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -1,38 +1,47 @@ { "schemaVersion": 1, - "id": "modid", + "id": "chewstuff", "version": "${version}", - "name": "Example Mod", - "description": "This is an example description! Tell everyone what your mod is about!", + "name": "Chew Necklaces", + "description": "There once was an Autism Acceptance Mod but it hasn't been updated in forever. This is more or less a complete rewrite, from scratch, of that.", "authors": [ - "Me!" + "SoniEx2" ], + "contributors": { + "torako" + }, "contact": { - "homepage": "https://fabricmc.net/", - "sources": "https://github.com/FabricMC/fabric-example-mod" + "sources": "https://soniex2.autistic.space/git-repos/chewstuff.git" }, - "license": "CC0-1.0", - "icon": "assets/modid/icon.png", + "license": "0BSD", + "icon": "assets/chewstuff/icon.png", "environment": "*", "entrypoints": { "main": [ - "net.fabricmc.example.ExampleMod" + "ganarchy.chewstuff.ChewStuff" + ], + "cardinal-components": [ + "ganarchy.chewstuff.ChewComponents" ] }, "mixins": [ - "modid.mixins.json" + "chewstuff.mixins.json" ], "depends": { + "trinkets": "~3.4", "fabricloader": ">=0.14.6", "fabric": "*", "minecraft": "~1.19", "java": ">=17" }, - "suggests": { - "another-mod": "*" + + "custom": { + "cardinal-components": [ + "chewstuff:chew" + ] } } diff --git a/src/main/resources/modid.mixins.json b/src/main/resources/modid.mixins.json deleted file mode 100644 index 7c42cb4..0000000 --- a/src/main/resources/modid.mixins.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "required": true, - "minVersion": "0.8", - "package": "net.fabricmc.example.mixin", - "compatibilityLevel": "JAVA_17", - "mixins": [ - ], - "client": [ - "ExampleMixin" - ], - "injectors": { - "defaultRequire": 1 - } -} -- cgit 1.4.1