What do you mean? I'm just providing a method by which he could " how I can stop the task after 60 ticks.". You could then call it from anywhere...
Well you could try something like this, it should work. /** * @author Javi */ public class MyClass { int task; public void doTask()...
So yeah I'm trying to retrieve the minecraft written id (the one that starts with minecraft:) from a Block object. I have already tried the...
Assuming you mean in certain coordinates you would first of all need to declare the location, something like this: Location l = new...
What you need is a list of all your teams, which you already have in the TeamUtils class, an ArrayList<Team> called teams. Then in the same class...
The thing is that the createteam method should be in another class maybe "TeamUtils", then to get the team you created you could just do something...
Oops messed up :p, fixed
I think the best think you could do here is creating a constructor class for the Team. Meaning to create a class called "Team" then creating a...
Oke, I think I got the solution for you. The following code merges the spreading and the ignition into one. @EventHandler public void...
Basically the string.equals() function checks the actual contents of the string, only for strings, the == operator checks whether the references...
@Boomer forgot to quote Imred_gemu, check back :)
I think this should work: CommandSender s; if(!(s instanceof Player))return; Player sender = (Player) s; Location l = sender.getLocation();...
Ok yeah, I'm sorry. Quite minor though, just change the name from "e" to "im" an that's it :p
I imagine you get a syntax error, because there is a single bar "|" and not two "||" on the if statement, besides that, it should work. Also for...
I'm not really experienced with scoreboards, but from what I can tell, I'd say that you would need to remove the former scoreboard of a player...
Separate names with a comma.