-
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.
Preparing to get new items and recipies made.
- Loading branch information
1 parent
a0344c9
commit 116d889
Showing
4 changed files
with
36 additions
and
14 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
20 changes: 20 additions & 0 deletions
20
src/main/java/com/darkwolfie/silentvalkyrie/item/ModItems.java
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,20 @@ | ||
package com.darkwolfie.silentvalkyrie.item; | ||
|
||
import com.darkwolfie.silentvalkyrie.Main; | ||
import net.minecraft.world.item.Item; | ||
import net.minecraftforge.eventbus.api.IEventBus; | ||
import net.minecraftforge.registries.DeferredRegister; | ||
import net.minecraftforge.registries.ForgeRegistries; | ||
import net.minecraftforge.registries.RegistryObject; | ||
|
||
public class ModItems { | ||
public static final DeferredRegister<Item> Items = | ||
DeferredRegister.create(ForgeRegistries.ITEMS, Main.MODID); | ||
|
||
public static final RegistryObject<Item> PlutoSteel = Items.register("plutosteel", | ||
() -> new Item(new Item.Properties())); | ||
|
||
public static void register(IEventBus eventBus){ | ||
Items.register(eventBus); | ||
} | ||
} |
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.silentvalkyrie.plutosteel": "PlutoSteel" | ||
} |
6 changes: 6 additions & 0 deletions
6
src/main/resources/assets/silentvalkyrie/models/item/plutosteel.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,6 @@ | ||
{ | ||
"parent": "item/generated", | ||
"textures": { | ||
"layer0": "silentvalkyrie:item/plutosteel" | ||
} | ||
} |