I'm trygin to stack custom items, and i have in a way made it work.
But i am using "setCursor(null)" which is deprecated.
Anyone know if there is...
You need to spawn falling blocks.
This is a snippet of the main functions:
double x = 0;
double y = 0;
double z = 0;...
Yeah i figured that out. But on other listener methods you can have any name you want.
DailyLove You can name it whatever you want.
You should add some "System.out.print("A");" after something so you see in the console if it works...
If the connection is not created, and it tries to close it, it will give this error.
Sure the connection is made?
you need to set the itemMeta which you don't do.
here is how i do it, can be made easier:
ItemStack item = new ItemStack(Material.WHATEVER,1);...
Have you seen it in minecraft before? if not, it may be modded.
not nearly enough O.o
what is it? when did it occur? is it an effect? the image is horrible. looks like a fireball but no way to know
suhweeeeet! i'll get you a candy ring, hold on!
Whenever i find a thing i like in a plugin, i look at the source and see if i can use it >:D xigsag
have you googled or looked around?
the EntityDamageByEntityEvent event is correct, everything after is wrong. You can't define that in the event listener.
do it on a row below,...
please provide information on what you want done and when.
might be for anvil, not sure, test it.
just do an EntityDamageEvent listener and check if entity is player, then output the cause.
^^That's not the best solution.
Here is a method i'm using that returns an arraylist of entites:
public static Entity...
single event, i can't see how multiple events could be better, i would assume it would cause more problems instead.
you can also use switch/case...
yeah, but that is if you only want to actually create a new world.
When you want to load, you just gotta create it. If i'm not completely mistaken.
The string is returned correctly, the lobbyworld is "worldold" in my testing case.
I don't want magic values in this plugin, so hardcoding the...
the problem is, i am trying to load it, that is when the error occurs. here is my code:
String world = location.getWorld().getName();...
a: i tried to output the string in the console, works fine
b: i don't know, but the casing is correct.
If i change the .getConfig().get to...
Separate names with a comma.