public void addEnderFurnace(FacingObject furnace) { MapKey key = MapKey.getKey(furnace.getLocation()); if(!enderFurnaces.containsKey(key)) { try { Block block = furnace.getLocation().toLocation().getBlock(); if(block.getType() != Material.FURNACE && block.getType() != Material.BURNING_FURNACE) block.setType(Material.BURNING_FURNACE); Furnace f = new Furnace(Material.BURNING_FURNACE); f.setFacingDirection(furnace.getFacingDirection()); BlockState s = block.getState(); s.setData(f); s.update(true); } catch(Exception e) { } enderFurnaces.put(key, furnace); } }
public Furnace() { }
public Furnace(BlockFace direction) { }
@Deprecated public Furnace(int type) { }
public Furnace(Material type) { }
@Deprecated public Furnace(int type, byte data) { }
@Deprecated public Furnace(Material type, byte data) { }
public Furnace clone() { return null; }