Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Component system on NPC and I need to damage an item in Entity inventory.


Recommended Posts

Originally, I was using MCreator to make my mod and I still am, but there's an issue. MCreator doesn't really let you do too many advanced things as a simplified application. It does have it's own IDE though for coding and I'm wondering how to code a procedure to damage items in an NPC's inventory and I feel like I'd have better luck asking the folks who mod with Java rather than the folks who use an application that dumbs it all down.

The NPC is a robot dog and he needs maintenance to work, so the player has to craft parts and install them into the dog. How do I go about coding damage to the component when the dog takes damage?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.