@AcePilot10 That's what I did. Doesn't work. And it doesn't even recognize it as a CraftInventoryCustom that is the class extending mine. But in...
@webbhead I want a custom inventory to have a few custom variables inside so when I listen to an event (click for example) I can cast...
Ty but this isn't what I'm looking for exactly. I'm trying to track the Inventory, not create one :/
Try doing this: @EventHandler public void onCreatureSpawn(CreatureSpawnEvent event) { if...
I'm currently trying to make a custom inventory, that way when an event involving this inventory is called I would be able to cast this inventory...
I made this one, try it if you want. https://www.dropbox.com/s/05mohrn1gblaie1/MoreTnt.jar?dl=0 Main Command: /moretnt Type "/moretnt help" or "/?...
You can use the Iterator. Little simplified code: public final Block getTarget(Player player, Integer range) { BlockIterator iter = new...
I will do it
https://www.dropbox.com/s/judp9zeptd5pqf9/MobRider.jar Command: /mm <Mob> Permissions: - mobrider.use (Anyone with this permission will be...
Doing it
You want the fireworks to appear every determinated time in the spawn or somewhere else? And you want them to be random?
CandyCranium Does it sends an error to the console? BTW. There is no need to use the updateInventory() I also recomend you to read this post:...
CandyCranium We also need the onEnable
The Fancy Whale Sorry I'm bothering you again but now I have an error when I cancel the task. This is my actual code: if...
Ohh, I was using the java Runnable, not BukkitRunnable. Thanks ^^
Separate names with a comma.