I need help on how to change the smelting speed of a furnace indefinitely (1.8 Bukkit and im using Eclipse)

  • Thread starter /u/Psychological-Chef37
  • Start date
U

/u/Psychological-Chef37

Guest
Member
u/EventHandler

public void CustomFurnace(FurnaceBurnEvent e) {

Block b = e.getBlock(); Furnace f = (Furnace) e.getBlock().getState(); f.setCookTime((short) 200); }

u/EventHandler

public void CustomFurnace0(FurnaceSmeltEvent e) {

Furnace f = (Furnace) e.getBlock().getState(); f.setCookTime((short) 200);

}

u/EventHandler

public void CustomFurnace1(PlayerInteractEvent e) {

Player p = e.getPlayer(); Action a = e.getAction(); Block b = e.getClickedBlock(); Furnace f = (Furnace) e.getClickedBlock().getState(); if(f.getInventory().getSmelting().getType() == Material.IRON\_ORE) { f.setCookTime((short) 200); } }

}



This is the code that I have so far (the u / things are @ EventHandlers it just wont let me type them for some reason) and it makes the furnaces cook instantly but if I put an item in while its burning it does it at regular speed, i worked around this by making it so that if you close the furnace and reopen it itll go instantly again, is there anyway to make it so that it is always instant/a speed that I want. along with this is there a way to make it so that the arrow actually moves the right speed not just start wherever you set the time to.

submitted by /u/Psychological-Chef37
[link] [comments]

Continue reading...

free plugins
minecraft paid for free
spigotmc
SpigotMC
free minecraft paid plugins
free minecraft plugins
aac free
ewg free
Minecraft Premium Plugins
ewg free download
litebans free
epicworldgenerator free
free schematics
leaked schematics minecraft
schematics
schematics leaked
schematics free
minecraft schematics free
paid minecraft schematics free
paid minecraft schematics for free
free cracked plugins
free cracked minecraft plugins
plugins
featherboard download
featherboard plugin download
antiaura download
minecraft plugins
xenforo leaked
xenforo for free
xenforo addons
 
BlackSpigot General Chat
Rules Help Users
    RealNotSound @ RealNotSound: hello
    Top