Jump to content

How to make a dog die when it is fed a certain food. 1.12.2


UM3 F0R TH3 W1N

Recommended Posts

Hello everybody, I might be wrong but I believe this has NOT been done before. I am working on a food mod to add many kinds of food and food related items when I decided to add chocolate. I then had to choose if it would be wolf food or not. This is what mad me think. I thought wouldn't it be great if u made it so where, if the player feeds a dog chocolate... then the dog would die. Kinda like a parrot with cookies. However I cannot find a way to do this. The problem is, with the parrot and cookie, the function which makes the cookie kill the parrot, is in the Parrot.class not Cookie.class. Any ideas of what to do??

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

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