Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

squealy_squigs

Members
  • Joined

  • Last visited

Everything posted by squealy_squigs

  1. Turns out that I had to delete the .gradle folder, but that was hidden in my files, so i had to delete it with terminal. Now it works great
  2. Whenever I try to run the gradlew in terminal, I’m always given this error I have no idea how to run it with this happening...
  3. Alright, so for the past few hours I tried many different combinations of codes, looking it up, and everything. I am trying to make an item that chooses a random item from an array list. The code I have below is the one I once thought it was close, but I changed it, and I’m just not positive anymore. Am I heading in the wrong direction? How would I get to this item choosing a random item from a list of items I declare? public ItemStack onItemRightClick(ItemStack var1, World var2){ var1.getItem(); return var1; } List item = Arrays.asList(Item.diamond, Item.bakedPotato, Item.appleRed, Item.book); } Most likely this code is wrong, I’m pretty sure of it. Any help would be great, thanks!
  4. So, for say, a Villager. How would I go about changing its' sounds?
  5. How do you specifically do it for sounds?
  6. Can you clarify some more please?
  7. Hi, I was wondering if you could change Minecraft sounds, or Vanilla sounds. I want to change the villager sound to something different, how would I go about doing this? Thanks
  8. I think I am. adminiumPickaxe = new TriniumPickaxe(IDs.adminiumPickaxe_actual,) etc.....
  9. I have my own set IDs.java which holds all my IDs. which is the code below
  10. public static int ItemStart = 8000; public static final int goldencoin_default = ItemStart; public static int goldencoin_actual; public static final int beefStew_default = ++ ItemStart; public static int beefStew_actual; public static final int adminiumIngot_default = ++ ItemStart; public static int adminiumIngot_actual; public static final int runiumIngot_default = ++ ItemStart; public static int runiumIngot_actual; public static final int relphiteDust_default = ++ ItemStart; public static int relphiteDust_actual; public static final int adminiumSword_default = ++ ItemStart; public static int adminiumSword_actual; public static final int runiumSword_default = ++ ItemStart; public static int runiumSword_actual; public static final int liquidStone_default = ++ ItemStart; public static int liquidStone_actual; public static final int holyStone_default = ++ ItemStart; public static int holyStone_actual; public static final int hellStone_default = ++ ItemStart; public static int hellStone_actual; public static final int pot_default = ++ ItemStart; public static int pot_actual; public static final int flourPot_default = ++ ItemStart; public static int flourPot_actual; public static final int breadDough_default = ++ ItemStart; public static int breadDough_actual; public static final int pestle_default = ++ ItemStart; public static int pestle_actual; public static final int pestleMortar_default = ++ ItemStart; public static int pestleMortar_actual; public static final int softClay_default = ++ ItemStart; public static int softClay_actual; public static final int unfPot_default = ++ ItemStart; public static int unfPot_actual; public static final int runiumPickaxe_default = ++ ItemStart; public static int runiumPickaxe_actual; public static final int adminiumPickaxe_default = ++ ItemStart; public static int adminiumPickaxe_actual; public static final int adminiumAxe_default = ++ ItemStart; public static int adminiumAxe_actual; public static final int runiumAxe_default = ++ ItemStart; public static int runiumAxe_actual; public static final int adminiumShovel_default = ++ ItemStart; public static int adminiumShovel_actual; public static final int runiumShovel_default = ++ ItemStart; public static int runiumShovel_actual; STill happens. Not a clue. IDs are obviously being called differently, just my mod is being stupid.
  11. for the item? or just in the beginning where its stating ItemStart = 8000; ?
  12. So add this? Original public static final int ItemStart = 8000; public static final int goldencoin_default = ItemStart; public static int goldencoin_actual; public static final int beefStew_default = ItemStart + 1; public static int beefStew_actual; Changed public static final int ItemStart = 8000; public static final int goldencoin_default = ItemStart; public static int goldencoin_actual; public static final int beefStew_default = ItemStart ++; public static int beefStew_actual;
  13. Mhmm... But what happens if I assign it different IDs.
  14. Very confused on why this is occurring. My code for that location is adminiumPickaxe = new TriniumPickaxe(IDs.adminiumPickaxe_actual, ToolMaterials.ADMINIUMPICKAXE).setUnlocalizedName(Names.adminiumPickaxe_unlocalname); GameRegistry.registerItem(adminiumPickaxe, adminiumPickaxe.getUnlocalizedName()); runiumPickaxe = new TriniumPickaxe(IDs.runiumPickaxe_actual, ToolMaterials.ADMINIUMPICKAXE).setUnlocalizedName(Names.runiumPickaxe_unlocalname); GameRegistry.registerItem(runiumPickaxe, runiumPickaxe.getUnlocalizedName()); adminiumAxe = new TriniumAxe(IDs.adminiumAxe_actual, ToolMaterials.ADMINIUMAXE).setUnlocalizedName(Names.adminiumAxe_unlocalname); GameRegistry.registerItem(adminiumAxe, adminiumAxe.getUnlocalizedName()); runiumAxe = new TriniumAxe(IDs.runiumAxe_actual, ToolMaterials.ADMINIUMAXE).setUnlocalizedName(Names.runiumAxe_unlocalname); GameRegistry.registerItem(runiumAxe, runiumAxe.getUnlocalizedName()); adminiumShovel = new TriniumShovel(IDs.adminiumShovel_actual, ToolMaterials.ADMINIUMSHOVEL).setUnlocalizedName(Names.adminiumShovel_unlocalname); GameRegistry.registerItem(adminiumShovel, adminiumShovel.getUnlocalizedName()); runiumShovel = new TriniumShovel(IDs.runiumShovel_actual, ToolMaterials.ADMINIUMSHOVEL).setUnlocalizedName(Names.runiumShovel_unlocalname); GameRegistry.registerItem(runiumShovel, runiumShovel.getUnlocalizedName());

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.