Java Code Examples for org.bukkit.Material#GOLDEN_HOE

The following examples show how to use org.bukkit.Material#GOLDEN_HOE . 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: MultiVersionLookup.java    From QualityArmory with GNU General Public License v3.0 5 votes vote down vote up
public static Material getGoldHoe() {
	if (goldhoe == null) {
		try {
			goldhoe = Material.matchMaterial("GOLD_HOE");
		} catch (Error | Exception e) {
		}
		if (goldhoe == null)
			goldhoe = Material.GOLDEN_HOE;
	}
	return goldhoe;
}
 
Example 2
Source File: BioGenerator.java    From Slimefun4 with GNU General Public License v3.0 4 votes vote down vote up
@Override
public ItemStack getProgressBar() {
    return new ItemStack(Material.GOLDEN_HOE);
}
 
Example 3
Source File: FoodComposter.java    From Slimefun4 with GNU General Public License v3.0 4 votes vote down vote up
@Override
public ItemStack getProgressBar() {
    return new ItemStack(Material.GOLDEN_HOE);
}
 
Example 4
Source File: FoodFabricator.java    From Slimefun4 with GNU General Public License v3.0 4 votes vote down vote up
@Override
public ItemStack getProgressBar() {
    return new ItemStack(Material.GOLDEN_HOE);
}