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.

sheik_mustafa

Members
  • Joined

  • Last visited

  1. deadrecon98, that looks like exactly what I am looking for. Thanks!
  2. Belpois, thanks I see you what you mean. I see the code in the EntityWolf class in the interact method. That method on the ItemFood class made me think that wolf tame behavior was implemented using that. Awesome_Spider, ya I think I will try and keep the behavior similar to the vanilla bone item. I am thinking I will need to inherit from EntityWolf and then override the interact method. Just started learning java so need to go play around with it some. Thanks for the quick replies!
  3. Hey guys, been working on a simple mod with my son and I am bit stuck trying to create a custom bone item "Bloody Bone". I started just creating a new item of that name but realized it didn't have all the base behaviors of a bone. I looked around for an bone class that derives from the Item type but couldn't find one. I did find the ItemFood class which seems to have the methods in them for allowing a wolf to eat it but I'm still confused why I can't find a class for the bone item. I did find the registry for the bone item in the item.class but I would think there would need to be some more code somewhere to define the behaviors and such. Sorry if I am missing something basic here I am pretty new to this. Any help would be greatly appreciated.

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.