Skip to content

Commit

Permalink
add thunder staff for that one dude in the reddit
Browse files Browse the repository at this point in the history
  • Loading branch information
stpv221 authored Jun 5, 2024
1 parent 765244a commit 3cb10f4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion desktopRuntime/resources/assets/minecraft/lang/en_US.lang
Original file line number Diff line number Diff line change
Expand Up @@ -1582,7 +1582,8 @@ item.prismarineShard.name=Prismarine Shard
item.prismarineCrystals.name=Prismarine Crystals
item.iceball.name=Iceball
item.rock.name=Rock
item.crystal_staff.name=Crystal Staff
item.staffCrystal.name=Crystal Staff
item.staffThunder.name=THUNDERR
item.magicBook.name=Book Of Wizardry

container.inventory=Inventory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1062,6 +1062,7 @@ public ModelResourceLocation getModelLocation(ItemStack var1) {
this.registerItem(Items.crystal_staff, "crystal_staff");
this.registerItem(Items.rock, "rock");
this.registerItem(Items.magic_book, "magic_book");
this.registerItem(Items.thunder_staff, "thunder_staff");
this.registerItem(Items.record_13, "record_13");
this.registerItem(Items.record_cat, "record_cat");
this.registerItem(Items.record_blocks, "record_blocks");
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/net/minecraft/init/Items.java
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ public class Items {
public static Item crystal_staff;
public static Item rock;
public static Item magic_book;
public static Item thunder_staff;
public static Item ruby;
public static Item record_13;
public static Item record_cat;
Expand Down Expand Up @@ -410,6 +411,7 @@ static void doBootstrap() {
iceball = getRegisteredItem("iceball");
crystal_staff = getRegisteredItem("crystal_staff");
rock = getRegisteredItem("rock");
thunder_staff = getRegisteredItem("thunder_staff");
magic_book = getRegisteredItem("magic_book");
record_13 = getRegisteredItem("record_13");
record_cat = getRegisteredItem("record_cat");
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/net/minecraft/item/Item.java
Original file line number Diff line number Diff line change
Expand Up @@ -1032,8 +1032,9 @@ public String apply(ItemStack itemstack) {
(new ItemDoor(Blocks.dark_oak_door)).setUnlocalizedName("doorDarkOak"));
registerItem(432, (String) "iceball", (new ItemIceball()).setUnlocalizedName("iceball"));
registerItem(433, (String) "crystal_staff",
(new ItemCrystalStaff()).setUnlocalizedName("crystal_staff").setCreativeTab(CreativeTabs.tabMisc));
(new ItemCrystalStaff()).setUnlocalizedName("staffCrystal").setCreativeTab(CreativeTabs.tabMisc));
registerItem(434, (String) "rock", (new ItemRock()).setUnlocalizedName("rock"));
registerItem(435, (String) "thunder_staff", (new ItemThunderStaff()).setUnlocalizedName("staffThunder");)
registerItem(436, (String) "ruby",
(new Item()).setUnlocalizedName("ruby").setCreativeTab(CreativeTabs.tabMaterials));
registerItem(437, (String) "magic_book", (new ItemMagicBook()).setUnlocalizedName("magicBook"));
Expand Down

0 comments on commit 3cb10f4

Please sign in to comment.