Java Code Examples for org.bukkit.Material#GLASS
The following examples show how to use
org.bukkit.Material#GLASS .
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: CoreConvertMonitor.java From PGM with GNU Affero General Public License v3.0 | 5 votes |
public static Material getNext(Material old) { switch (old) { case OBSIDIAN: return Material.GOLD_BLOCK; case GOLD_BLOCK: return Material.GLASS; default: return null; } }
Example 2
Source File: CoreConvertMonitor.java From ProjectAres with GNU Affero General Public License v3.0 | 5 votes |
public static Material getNext(Material old) { switch(old) { case OBSIDIAN: return Material.GOLD_BLOCK; case GOLD_BLOCK: return Material.GLASS; default: return null; } }
Example 3
Source File: PressureChamber.java From Slimefun4 with GNU General Public License v3.0 | 5 votes |
public PressureChamber(Category category, SlimefunItemStack item) { super(category, item, new ItemStack[] { SlimefunPlugin.getMinecraftVersion().isAtLeast(MinecraftVersion.MINECRAFT_1_14) ? new ItemStack(Material.SMOOTH_STONE_SLAB) : new ItemStack(Material.STONE_SLAB), new CustomItem(Material.DISPENSER, "Dispenser (Facing down)"), SlimefunPlugin.getMinecraftVersion().isAtLeast(MinecraftVersion.MINECRAFT_1_14) ? new ItemStack(Material.SMOOTH_STONE_SLAB) : new ItemStack(Material.STONE_SLAB), new ItemStack(Material.PISTON), new ItemStack(Material.GLASS), new ItemStack(Material.PISTON), new ItemStack(Material.PISTON), new ItemStack(Material.CAULDRON), new ItemStack(Material.PISTON) }, new ItemStack[0], BlockFace.UP); }
Example 4
Source File: Juicer.java From Slimefun4 with GNU General Public License v3.0 | 5 votes |
public Juicer(Category category, SlimefunItemStack item) { super(category, item, new ItemStack[] {null, new ItemStack(Material.GLASS), null, null, new ItemStack(Material.NETHER_BRICK_FENCE), null, null, new CustomItem(Material.DISPENSER, "Dispenser (Facing up)"), null}, new ItemStack[0], BlockFace.SELF ); }