-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made the mace more of a task to craft
- Updated the icon - Added mace head - Changed mace crafting recipe - Need to work on details more
- Loading branch information
Showing
15 changed files
with
252 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package com.kckarnige.wham.items; | ||
|
||
import com.kckarnige.wham.wham; | ||
|
||
import net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroupEntries; | ||
import net.fabricmc.fabric.api.itemgroup.v1.ItemGroupEvents; | ||
import net.minecraft.item.Item; | ||
import net.minecraft.item.ItemGroups; | ||
import net.minecraft.registry.Registries; | ||
import net.minecraft.registry.Registry; | ||
import net.minecraft.util.Identifier; | ||
import net.minecraft.util.Rarity; | ||
|
||
public class ModItems { | ||
|
||
public static final Item MACE_HEAD = registerItem("mace_head", new Item(new Item.Settings().rarity(Rarity.EPIC))); | ||
|
||
private static void addItemToItemGroup(FabricItemGroupEntries entries) { | ||
entries.add(MACE_HEAD); | ||
} | ||
|
||
private static Item registerItem (String name, Item item) { | ||
return Registry.register(Registries.ITEM, Identifier.of(wham.MOD_ID, name), item); | ||
} | ||
|
||
public static void registerModItems () { | ||
wham.LOGGER.info("[Wham!] Things feel different.."); | ||
|
||
ItemGroupEvents.modifyEntriesEvent(ItemGroups.INGREDIENTS).register(ModItems::addItemToItemGroup); | ||
ItemGroupEvents.modifyEntriesEvent(ItemGroups.TOOLS).register(ModItems::addItemToItemGroup); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"item.wham.mace_head": "Mace Head" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"item.wham.mace_head": "Mace Head" | ||
} |
178 changes: 178 additions & 0 deletions
178
src/main/resources/assets/wham/models/item/mace_head.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,178 @@ | ||
{ | ||
"credit": "Made with Blockbench", | ||
"texture_size": [8, 8], | ||
"textures": { | ||
"9": "wham:item/mace_texture", | ||
"particle": "item/mace" | ||
}, | ||
"elements": [ | ||
{ | ||
"from": [7.625, 0, 7.625], | ||
"to": [8.375, 3, 8.375], | ||
"rotation": {"angle": 0, "axis": "z", "origin": [8, 2.2875, 8]}, | ||
"faces": { | ||
"north": {"uv": [14.5, 1.5, 16, 7.5], "texture": "#9"}, | ||
"east": {"uv": [14.5, 1.5, 16, 7.5], "texture": "#9"}, | ||
"south": {"uv": [14.5, 1.5, 16, 7.5], "texture": "#9"}, | ||
"west": {"uv": [14.5, 1.5, 16, 7.5], "texture": "#9"}, | ||
"up": {"uv": [16, 1.5, 14.5, 0], "texture": "#9"}, | ||
"down": {"uv": [16, 7.5, 14.5, 9], "texture": "#9"} | ||
} | ||
}, | ||
{ | ||
"name": "plane", | ||
"from": [8, 3, 7.625], | ||
"to": [8, 3.5, 8.375], | ||
"rotation": {"angle": 0, "axis": "z", "origin": [8, 2.2875, 8]}, | ||
"faces": { | ||
"east": {"uv": [14.5, 13.075, 16, 14], "texture": "#9"}, | ||
"west": {"uv": [16, 13.075, 14.5, 14], "texture": "#9"} | ||
} | ||
}, | ||
{ | ||
"name": "plane", | ||
"from": [7.625, 3, 8], | ||
"to": [8.375, 3.5, 8], | ||
"rotation": {"angle": 0, "axis": "z", "origin": [8, 2.2875, 8]}, | ||
"faces": { | ||
"north": {"uv": [14.5, 13.075, 16, 14], "texture": "#9"}, | ||
"south": {"uv": [16, 13.075, 14.5, 14], "texture": "#9"} | ||
} | ||
}, | ||
{ | ||
"name": "plane", | ||
"from": [8, -0.8, 8.25], | ||
"to": [8, 3.45, 10.5], | ||
"rotation": {"angle": 22.5, "axis": "y", "origin": [8, 2.2875, 8]}, | ||
"faces": { | ||
"east": {"uv": [6.5, 0, 11, 8], "texture": "#9"}, | ||
"west": {"uv": [11, 0, 6.5, 8], "texture": "#9"} | ||
} | ||
}, | ||
{ | ||
"name": "plane", | ||
"from": [5.5, -0.8, 8], | ||
"to": [7.75, 3.45, 8], | ||
"rotation": {"angle": 22.5, "axis": "y", "origin": [8, 2.2875, 8]}, | ||
"faces": { | ||
"north": {"uv": [11, 0, 6.5, 8], "texture": "#9"}, | ||
"south": {"uv": [6.5, 0, 11, 8], "texture": "#9"} | ||
} | ||
}, | ||
{ | ||
"name": "plane", | ||
"from": [8.25, -0.8, 8], | ||
"to": [10.5, 3.45, 8], | ||
"rotation": {"angle": 22.5, "axis": "y", "origin": [8, 2.2875, 8]}, | ||
"faces": { | ||
"north": {"uv": [6.5, 0, 11, 8], "texture": "#9"}, | ||
"south": {"uv": [11, 0, 6.5, 8], "texture": "#9"} | ||
} | ||
}, | ||
{ | ||
"name": "plane", | ||
"from": [8, -0.8, 5.5], | ||
"to": [8, 3.45, 7.75], | ||
"rotation": {"angle": 22.5, "axis": "y", "origin": [8, 2.2875, 8]}, | ||
"faces": { | ||
"east": {"uv": [11, 0, 6.5, 8], "texture": "#9"}, | ||
"west": {"uv": [6.5, 0, 11, 8], "texture": "#9"} | ||
} | ||
}, | ||
{ | ||
"name": "plane", | ||
"from": [8, -0.8, 5.5], | ||
"to": [8, 3.45, 7.75], | ||
"rotation": {"angle": -22.5, "axis": "y", "origin": [8, 2.2875, 8]}, | ||
"faces": { | ||
"east": {"uv": [11, 0, 6.5, 8], "texture": "#9"}, | ||
"west": {"uv": [6.5, 0, 11, 8], "texture": "#9"} | ||
} | ||
}, | ||
{ | ||
"name": "plane", | ||
"from": [8, -0.8, 8.25], | ||
"to": [8, 3.45, 10.5], | ||
"rotation": {"angle": -22.5, "axis": "y", "origin": [8, 2.2875, 8]}, | ||
"faces": { | ||
"east": {"uv": [6.5, 0, 11, 8], "texture": "#9"}, | ||
"west": {"uv": [11, 0, 6.5, 8], "texture": "#9"} | ||
} | ||
}, | ||
{ | ||
"name": "plane", | ||
"from": [8.25, -0.8, 8], | ||
"to": [10.5, 3.45, 8], | ||
"rotation": {"angle": -22.5, "axis": "y", "origin": [8, 2.2875, 8]}, | ||
"faces": { | ||
"north": {"uv": [6.5, 0, 11, 8], "texture": "#9"}, | ||
"south": {"uv": [11, 0, 6.5, 8], "texture": "#9"} | ||
} | ||
}, | ||
{ | ||
"name": "plane", | ||
"from": [5.5, -0.8, 8], | ||
"to": [7.75, 3.45, 8], | ||
"rotation": {"angle": -22.5, "axis": "y", "origin": [8, 2.2875, 8]}, | ||
"faces": { | ||
"north": {"uv": [11, 0, 6.5, 8], "texture": "#9"}, | ||
"south": {"uv": [6.5, 0, 11, 8], "texture": "#9"} | ||
} | ||
} | ||
], | ||
"display": { | ||
"thirdperson_righthand": { | ||
"rotation": [176, 20, -2], | ||
"translation": [0, -12, 2.5], | ||
"scale": [2.18, 2.18, 2.18] | ||
}, | ||
"thirdperson_lefthand": { | ||
"rotation": [176, 20, -2], | ||
"translation": [0, -12, 2.5], | ||
"scale": [2.18, 2.18, 2.18] | ||
}, | ||
"firstperson_righthand": { | ||
"rotation": [4, 8, 1], | ||
"translation": [-1.5, 14, 4], | ||
"scale": [1.69, 1.63, 1.69] | ||
}, | ||
"firstperson_lefthand": { | ||
"rotation": [4, 8, 1], | ||
"translation": [-1.5, 14, 4], | ||
"scale": [1.69, 1.63, 1.69] | ||
}, | ||
"ground": { | ||
"translation": [0, 12, 0], | ||
"scale": [2, 2, 2] | ||
}, | ||
"gui": { | ||
"rotation": [34, -46, 0], | ||
"translation": [0, 14.25, 0], | ||
"scale": [2.58, 2.58, 2.58] | ||
}, | ||
"head": { | ||
"translation": [0, 22, 0], | ||
"scale": [4, 2.5, 4] | ||
}, | ||
"fixed": { | ||
"translation": [0, 12.5, 0], | ||
"scale": [2, 2, 2] | ||
} | ||
}, | ||
"groups": [ | ||
{ | ||
"name": "Original Model by GugerOS", | ||
"origin": [7.25, 1.5, 7.25], | ||
"color": 0, | ||
"children": [ | ||
0, | ||
{ | ||
"name": "Edit by KayoticCarnige", | ||
"origin": [7.5, 6.375, 7.5], | ||
"color": 0, | ||
"children": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] | ||
} | ||
] | ||
} | ||
] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"type": "minecraft:crafting_shaped", | ||
"category": "equipment", | ||
"pattern": [ | ||
" - ", | ||
"=#=", | ||
"- -" | ||
], | ||
"key": { | ||
"#": { | ||
"item": "minecraft:heavy_core" | ||
}, | ||
"=": { | ||
"item": "minecraft:iron_ingot" | ||
}, | ||
"-": { | ||
"item": "minecraft:iron_nugget" | ||
} | ||
}, | ||
"result": { | ||
"id": "wham:mace_head", | ||
"count": 1 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.