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.

ihavenoidea

Members
  • Joined

  • Last visited

  1. ihavenoidea changed their profile photo
  2. Oh ok, I missed that class so many times and now I see how you are meant to initialize swords, thanks for telling me that.
  3. Thanks for the tip, I also just tried looking at vanilla code and looking at Patty's More Stuff mod, but they used some custom features that they made themselves.
  4. Since that didn't help, I decided to put Item.Properties() and the Item properties and my IDE doesn't give me any errors so I'll see if it works when I run Minecraft.
  5. Nope not yet, I'll look into them though.
  6. The answer is probably super obvious but how do I make a custom sword for Minecraft 1.15.2? I have most the code written out but I need help with one part of it. Here's my code: public static final RegistryObject<Item> KNIFE = ITEMS.register("knife", () -> new SwordItem(ItemTier.IRON, 4, 1.3F, )); It tells me I need to put an Item.Properties builder but I don't know how to do that, and yes I did try and learn some Java (it was a Codecademy course). So what am I meant to put after 1.3F (which is the sword attack speed)?

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.