I come up with a way before I read your post, sorry! for(int i = 1; i <= 35; i++) { if(item.getType().equals(new...
Well the only thing I can think of is doing Bukkit.getServer().getWorld("world_the_end").//interesting things show up here Maybe that will help,...
Hey guys. So basically I want to know how to "find" an item in a players inventory. Let's say I want to enchant a diamond sword, but do it if...
Well you can do: EntityEffect bob = EntityEffect.WOLF_HEARTS; But I don't know how to play it really. Lol.
I don't think you can really make a wolf invisible like that. Maybe try this: Effect hearts = new Effect(EntityEffect.NAME_HERE);...
And how do I do that? Can you please explain? Thanks.
That is the same thing the guy said above, both of those ways are inefficient.
Exactly... I need a way to do this "safely"....
Just get the block that the location is at and if it has lava at the Y axis or under then move the player to the next one. I suggest using a for loop.
If you are doing an event that has to do with a player do: event.getPlayer().getWorld(); Otherwise:...
Dude. I already explained above that I don't want to do that. That will conflict with other plugins and it's in-efficient.
How about this: @EventHandler public void onBlockBreak(BlockBreakEvent event) { Block b = event.getBlock();...
Hey guys. I am in need of knowing how to force respawn players. I've searched for about an hour but all of the methods of doing it is just buggy...
Major_Derp, that didn't help at all or work. :(
You shouldn't do it like that. You are just saying to remove any bandage in their inventory. I suggest calling a variable (ItemStack) as paper and...
Separate names with a comma.