I can't think of a way to get the entity off the top of my head, but if you can manage to figure out it's ID, you can get it's location at any...
Hey, I'd be interested in helping with the coding if you like, or conceptualizing. I did puzzle pillars and Classy for the old Hmod, puzzle...
Best news ever.
if (event.getDamager() instanceof Player) { //Place code here }
Please please please allow other plugins to access a method for your area location. IE a method that is passed a location and you return the name...
I currently have a bit of code where I attempt to make a square room, and place a door on one side of the room, depending on what direction the...
Yup, got that. Long and short of it is that it won't work that way, for a fair number of different reasons.
You can't compare objects like that. Also, location for a player is (double, double, double) whereas location for a block is (int, int, int). Even...
@ eisental. I got so incredibly lost trying to figure out what you were saying there. Took me about a minute to figure out you were just saying...
No, because when you say that to = from, we are now assigning the object to all the properties of block from, which includes block from's xyz...
But part of a block is there xyz I'm pretty sure, so, this would actually take my block, put it where it already was and then turn it into air.
I haven't bothered to try, but have you tried onItemUse? You get the item used and the block that was clicked, so perhaps you could do i this way....
Levers, doors, switches, ladders, stairs, these all have more information in them than a type. They have to know what wall they are on for one,...
How are you defining areas? And how are you defining townmembers? And how are you checking whether or not a person is in an area? And when are...
I'm quite curious as to why you want to convert them to doubles... I mean, I guess I've added or subtracted .5 from them to get their center......
Umm, if I have one block I want to move, and I know where I want to move it to, how do I do that? I understand how to do that with anything other...
Did you ever see Classy back on Hmod? http://forum.hey0.net/showthread.php?tid=2483&highlight=Classy I had been hoping to add some leveling...
I'm having issues figuring out how to set a block at a location to a specific type, or moving a specific block to a new location. If I do...
Separate names with a comma.