I just don't know how to make the option to let the plugin choose one of the 14 locations... randomly it's already working :) EDIT by...
I want to use it in an Arraylist, but im not used to put coords into a arraylist, can someone help me doing this?
it's just a note from the positions in the map. it's not used in my plugin now.
i want to let a player tp to it. here's my code: @Override public void onEnable(){...
now it's just in a notedpad file, but how do i have to set this into my plugin?
I will make it cleared I have this list of coords: I want to pick one of them. (x, y and z) random. anyone? EDIT by Moderator: merged posts,...
Heelloo, I want to take coords out of a list of 14 coords. But i want to do it random. I actually have no idea how to do that. Can someone help...
Got a litte issue, making an itemstack. i don't have any errors, but i just get a tnt block without name or anything... My code: public void...
Problem is solves :)
But how can i fix the problem?
ItemStack item1 = new ItemStack(Material.TNT);' Did you see this code? Necrodoom
I thought i could place item1 in an inventory slot, using that.
Hello, I've got a problem, making a custom inventory. actually adding a custom itemstack is the biggest problem, because i can open the inventory...
You said I had to do this: public enum Items { Chestplateblue, Legsblue } DarkRangerMC
Got a new problem :l The helmet that has to be red doesn't have any color. public enum Items { Chestplateblue, Legsblue }...
Thx, but i already got a solution.
aha, i'll try that And I still have to set the items using p.getInventory().setChestplate(new ItemStack(getChestplate(Items.Chestplateblue)));...
Thx, it's working now! Now i want to make multiple items with colors. I tried to adjust it, but I didn't do it very well :p [IMG]...
Now i want to add this itemstack as his body. i tried this, but got an error under chestplate p.getInventory().setChestplate(chestplate);
thx, got only one error under Chestplateblue :l DarkRangerMC EDIT: i tried this: public enum Items { Chestplateblue }
Separate names with a comma.