Based on a quick tought, yes it would but, maybe there are some odd cases where it wouln't return the correct loc and there is an API method there...
Just hover over the line and it will say it is marking as deadcode.
Yes but the ranges are 0-15, 16-31 and so on...
The >> operator means your shitfing the bits to the right four times, it is not the same as dividing by 16. EDIT: Also, use...
You can do this with today's snapshot, guess you'll just have to wait for 1.8 bukkit, sadly.
Buut you never said what error it is, post it if you want to get precise help.
You forgot 'implements Listener'
That's why in this case i would pass the instace to the other class.
You can either pass the instance to the class or save the field you want on a static field.
than 19.00 is abit too vague, can be 19:00 or 19L or 1900L, anyways, if it is the case, world.getTime().
He partially answered your question, use java calendar to check the current time/date/year and if the time equals what you need broadcast the...
plugin.getServer().getWorld("world").spawnEntity(Location location, EntityType entityType);
Disable BlockBurnEvent
private JavaPlugin plugin; public void setPlugin(Plugin plugin) { this.plugin = plugin; } public JavaPlugin getPlugin() { return plugin; }...
Why don't you use: http://jd.bukkit.org/rb/apidocs/org/bukkit/event/player/PlayerItemConsumeEvent.html Than just add extra hearts based on watever...
Separate names with a comma.