Jump to content

sheik_mustafa

Members
  • Posts

    3
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

sheik_mustafa's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  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.
×
×
  • Create New...

Important Information

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