I can't seem to right clicking on an armor stand to do... well anything. Right clicking on any other entity via EntityInteractEvent fires correctly. What's special about ArmorStands? There doesn't seem to be an event for checking interactions with them in Forge currently. So basically, is there currently an event for interacting with ArmorStands?
Sorry for the short and simple question, but I just can't find any information regarding vanilla ArmorStands that isn't for Spigot.
"World#getBlockMetadata"
That. I can't find any examples of how this is to be used to get what I want. I'm not very familiar with the API, so an example would be helpful.
I'm new to the whole modding thing, so this should be a simple fix. As we know leaves are divided into two different blocks. Blocks.leaves and Blocks.leaves 2. I need to know how to specifically check for one type of leaves, not just the entire group. Here's an example:
if (event.block == /*oakLeaves*/)
{
//CODE
}
I know that oak leaves are 18:0, but I don't understand how to check the datavalue of the block.
2 replies
Important Information
By using this site, you agree to our Terms of Use.