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.

vyroki

Members
  • Joined

  • Last visited

Everything posted by vyroki

  1. So I tried this and it is now given me even more errors lol
  2. I don't know what to do but I need to get this working for an assignment. I've never had this error before but I opened up Eclipse today and now all of a sudden it's showing up. I can't find anything online on how to fix it and my last post was not helpful. Do I need to update something? There seems to be a build path issue but I don't know how to fix it. I didn't change anything from the last time I opened this mod, so I don't understand why it's happening. import net.minecraftforge.eventbus.api.SubscribeEvent;
  3. I've been working on this mod for a bit now, but when I opened it today I'm receiving the error "The import net.minecraftforge.eventbus cannot be resolved." I have never had this issue before. I have already tried cleaning the project, but I am very new to coding and am not sure what else I should try. Has something changed with the import that I should be accounting for? import net.minecraftforge.eventbus.api.SubscribeEvent; @Mod.EventBusSubscriber(modid = ModName.MODID, bus = Mod.EventBusSubscriber.Bus.FORGE, value = Dist.CLIENT) public class ModClientEvents { @SubscribeEvent
  4. I'm new to modding and trying to add an item to the player's inventory. I keep getting the error "The constructor ItemStack(Material, int) is undefined" and can't find anything to fix it. public static void Death(PlayerEvent.PlayerRespawnEvent event) { Player p = event.getPlayer(); ItemStack item = new ItemStack(Material.BAMBOO, 64); p.getInventory().add(item); } Does anyone have any suggestions for what I'm doing wrong? (1.17 btw)

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.