Skip to content

Commit

Permalink
damn that was annoying
Browse files Browse the repository at this point in the history
  • Loading branch information
stpv221 authored Jun 6, 2024
1 parent 57a0049 commit 750200d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions CompileJS.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/sh
chmod +x gradlew
echo 'Compiling Ice Client'
./gradlew generateJavascript
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 @@ -409,6 +410,7 @@ static void doBootstrap() {
command_block_minecart = getRegisteredItem("command_block_minecart");
iceball = getRegisteredItem("iceball");
crystal_staff = getRegisteredItem("crystal_staff");
thunder_staff = getRegisteredItem("thunder_staff");
rock = getRegisteredItem("rock");
magic_book = getRegisteredItem("magic_book");
record_13 = getRegisteredItem("record_13");
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/net/minecraft/item/Item.java
Original file line number Diff line number Diff line change
Expand Up @@ -1037,6 +1037,8 @@ public String apply(ItemStack itemstack) {
registerItem(436, (String) "ruby",
(new Item()).setUnlocalizedName("ruby").setCreativeTab(CreativeTabs.tabMaterials));
registerItem(437, (String) "magic_book", (new ItemMagicBook()).setUnlocalizedName("magicBook"));
registerItem(438, (String) "thunder_staff",
(new ItemThunderStaff()).setUnlocalizedName("staffThunder").setCreativeTab(CreativeTabs.tabMisc));
registerItem(2256, (String) "record_13", (new ItemRecord("13")).setUnlocalizedName("record"));
registerItem(2257, (String) "record_cat", (new ItemRecord("cat")).setUnlocalizedName("record"));
registerItem(2258, (String) "record_blocks", (new ItemRecord("blocks")).setUnlocalizedName("record"));
Expand Down

0 comments on commit 750200d

Please sign in to comment.