Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
DawnKiro committed Dec 13, 2024
2 parents 45d2c26 + e955847 commit a0857ed
Show file tree
Hide file tree
Showing 16 changed files with 85 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,12 @@ public class ModItemGroups {

entries.add(ModBlocks.ACID_ENCASED_MURIA);
entries.add(ModItems.RAW_MURIA);
entries.add(ModItems.MURIA_PLATE);
entries.add(ModItems.MURIA_RING);
entries.add(ModItems.PROCESSED_MURIA_PLATE);

entries.add(ModItems.FENNEC_MASK);
entries.add(ModItems.REPLICA_WHISKERS);
}).build());

public static void registerItemGroups() {
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/dev/jaegerwald/voidlings/item/ModItems.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,12 @@ public class ModItems {
public static final Item VOID_BLOOM = registerItem("void_bloom", new PlaceableOnWaterItem(ModBlocks.VOID_BLOOM, new Item.Settings()));

public static final Item RAW_MURIA = registerItem("raw_muria", new Item(new Item.Settings()));
public static final Item MURIA_PLATE = registerItem("muria_plate", new Item(new Item.Settings()));
public static final Item MURIA_RING = registerItem("muria_ring", new Item(new Item.Settings()));
public static final Item PROCESSED_MURIA_PLATE = registerItem("processed_muria_plate", new Item(new Item.Settings()));

public static final Item FENNEC_MASK = registerItem("fennec_mask", new FennecMaskItem(new Item.Settings()));
public static final Item REPLICA_WHISKERS = registerItem("replica_whiskers", new Item(new Item.Settings()));

private static Item registerItem(String name, Item item) {
return Registry.register(Registries.ITEM, Identifier.of(Voidlings.MOD_ID, name), item);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "voidlings:item/muria_plate"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "voidlings:item/muria_ring"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "voidlings:item/processed_muria_plate"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "voidlings:item/replica_whiskers"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/main/resources/assets/voidlings/textures/item/raw_muria.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "minecraft:smelting",
"category": "food",
"cookingtime": 200,
"cookingtime": 400,
"experience": 0.5,
"ingredient": {
"item": "voidlings:void_lamina"
Expand Down
10 changes: 10 additions & 0 deletions src/main/resources/data/voidlings/recipe/muria_plate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "voidlings:raw_muria"
},
"result": {
"id": "voidlings:muria_plate",
"count": 1
}
}
10 changes: 10 additions & 0 deletions src/main/resources/data/voidlings/recipe/muria_ring.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"type": "minecraft:stonecutting",
"ingredient": {
"item": "voidlings:raw_muria"
},
"result": {
"id": "voidlings:muria_ring",
"count": 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"##",
"##"
],
"key": {
"#": {
"item": "voidlings:muria_plate"
}
},
"result": {
"id": "voidlings:processed_muria_plate",
"count": 1
}
}
16 changes: 16 additions & 0 deletions src/main/resources/data/voidlings/recipe/replica_whiskers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "minecraft:crafting_shapeless",
"category": "misc",
"ingredients": [
{
"item": "string"
},
{
"item": "string"
}
],
"result": {
"id": "voidlings:replica_whiskers",
"count": 1
}
}

0 comments on commit a0857ed

Please sign in to comment.