What would be the proper way to detect if a block is powered, preferably when the redstone event changes (if a button is pressed or whatever)....
Couldn't you just put .toString() on the end of the getBlockX() ?
Thanks! The updateInventory() seems to have done the trick!
I'm testing an inventory GUI and it is displaying fine, but I'd like to not have the players inventory items show while it is open. So I have a...
If I'm understanding this correctly, you basically just need a set player to receive payment if someone dies within a set region? As far as...
When you get the error, does it give you the stack trace? Showing us the full error text would help a lot
To sell them, you need to enable the Buy command in EssentialsX <code>[Buy] amt goldapple </code> There is a file called items.csv which has the...
Have you tried looking through the itemmeta after you set it? Maybe compare it against what is in there for an item already in the inventory?
@knokko - While I don't disagree with you, this is really just a readability issue and does not alter functionality, right?
Take the string from time, split it on " " and then loop through. Check the last character of each entry, then convert the rest of the string to...
I think the valid color part might be what is messing me up. Ok.. plan B i guess.. the (hopefully) less hacky way of doing things.. setting the...
yeah.. me too. Is there some other method to apply an invisible value to a sign?
I could be wrong (I frequently am) - but wouldn't the easiest thing to do would just to be cancel the event instead of changing the setTo and then...
Hi, I'm trying to store a hidden value on a sign when I create it. I have two reasons for this. 1) My top line is [Rent] - I'd like to have...
Got ya. Well I guess after you create your shapedrecipe you could go ahead and watch the PrepareItemCraftEvent event. From there you should be...
huh.. I would have thought that'd be firing off all the time, so less efficient than just checking once a second. That makes life a fair bit...
ohh. that simple. Thanks so much
I have a region (though I could have multiple) set up that is basically a cube. When someone steps into that cube, I'd like to display a welcome...
How can I check if an arrow is on fire? I'm checking the ProfileHitEvent and removing fired arrows that hit the ground Arrow a = (Arrow)...
ShapedRecipe implements Recipe, so knowing we have the recipe, checked to see if it was that with the instanceof and went from there. I also read...
Separate names with a comma.