Java Code Examples for org.bukkit.Material#FLINT_AND_STEEL
The following examples show how to use
org.bukkit.Material#FLINT_AND_STEEL .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MultiBlockMachine.java From Slimefun4 with GNU General Public License v3.0 | 6 votes |
private static Material[] convertItemStacksToMaterial(ItemStack[] items) { List<Material> materials = new ArrayList<>(); for (ItemStack item : items) { if (item == null) { materials.add(null); } else if (item.getType() == Material.FLINT_AND_STEEL) { materials.add(Material.FIRE); } else { materials.add(item.getType()); } } return materials.toArray(new Material[0]); }
Example 2
Source File: LavaGenerator.java From Slimefun4 with GNU General Public License v3.0 | 4 votes |
@Override public ItemStack getProgressBar() { return new ItemStack(Material.FLINT_AND_STEEL); }
Example 3
Source File: MagnesiumGenerator.java From Slimefun4 with GNU General Public License v3.0 | 4 votes |
@Override public ItemStack getProgressBar() { return new ItemStack(Material.FLINT_AND_STEEL); }
Example 4
Source File: CoalGenerator.java From Slimefun4 with GNU General Public License v3.0 | 4 votes |
@Override public ItemStack getProgressBar() { return new ItemStack(Material.FLINT_AND_STEEL); }
Example 5
Source File: CombustionGenerator.java From Slimefun4 with GNU General Public License v3.0 | 4 votes |
@Override public ItemStack getProgressBar() { return new ItemStack(Material.FLINT_AND_STEEL); }
Example 6
Source File: ElectricIngotFactory.java From Slimefun4 with GNU General Public License v3.0 | 4 votes |
@Override public ItemStack getProgressBar() { return new ItemStack(Material.FLINT_AND_STEEL); }
Example 7
Source File: ElectricFurnace.java From Slimefun4 with GNU General Public License v3.0 | 4 votes |
@Override public ItemStack getProgressBar() { return new ItemStack(Material.FLINT_AND_STEEL); }
Example 8
Source File: Refinery.java From Slimefun4 with GNU General Public License v3.0 | 4 votes |
@Override public ItemStack getProgressBar() { return new ItemStack(Material.FLINT_AND_STEEL); }
Example 9
Source File: HeatedPressureChamber.java From Slimefun4 with GNU General Public License v3.0 | 4 votes |
@Override public ItemStack getProgressBar() { return new ItemStack(Material.FLINT_AND_STEEL); }
Example 10
Source File: ElectricSmeltery.java From Slimefun4 with GNU General Public License v3.0 | 4 votes |
@Override public ItemStack getProgressBar() { return new ItemStack(Material.FLINT_AND_STEEL); }
Example 11
Source File: ElectrifiedCrucible.java From Slimefun4 with GNU General Public License v3.0 | 4 votes |
@Override public ItemStack getProgressBar() { return new ItemStack(Material.FLINT_AND_STEEL); }
Example 12
Source File: AutoDrier.java From Slimefun4 with GNU General Public License v3.0 | 4 votes |
@Override public ItemStack getProgressBar() { return new ItemStack(Material.FLINT_AND_STEEL); }
Example 13
Source File: MakeshiftSmeltery.java From Slimefun4 with GNU General Public License v3.0 | 4 votes |
public MakeshiftSmeltery(Category category, SlimefunItemStack item) { super(category, item, new ItemStack[] { null, new ItemStack(Material.OAK_FENCE), null, new ItemStack(Material.BRICKS), new CustomItem(Material.DISPENSER, "Dispenser (Facing up)"), new ItemStack(Material.BRICKS), null, new ItemStack(Material.FLINT_AND_STEEL), null }, new ItemStack[0], BlockFace.DOWN); }
Example 14
Source File: Smeltery.java From Slimefun4 with GNU General Public License v3.0 | 4 votes |
public Smeltery(Category category, SlimefunItemStack item) { super(category, item, new ItemStack[] { null, new ItemStack(Material.NETHER_BRICK_FENCE), null, new ItemStack(Material.NETHER_BRICKS), new CustomItem(Material.DISPENSER, "Dispenser (Facing up)"), new ItemStack(Material.NETHER_BRICKS), null, new ItemStack(Material.FLINT_AND_STEEL), null }, new ItemStack[] { SlimefunItems.IRON_DUST, new ItemStack(Material.IRON_INGOT) }, BlockFace.DOWN); addItemSetting(fireBreakingChance); }