Jump to content

Recommended Posts

Posted

What I'm trying to achieve is when a specific item collides with the a block it spawns a mob, but I'm not totally sure how to check the "instanceof EntityItem" for what item it is, I'm pretty sure it's possible looking at the EntityItem class. In example how they check if the item is a Nether Star before dealing explosion damage, but I'm not sure how I would be able to do that. If anybody could tell me where I could find this out or tell me how if they already know I would greatly appreciate it, thanks in advance.

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.