Skip to content

Instantly share code, notes, and snippets.

@ZornTaov
Created September 21, 2013 07:41
Show Gist options
  • Save ZornTaov/6648230 to your computer and use it in GitHub Desktop.
Save ZornTaov/6648230 to your computer and use it in GitHub Desktop.
vanilla bed remover
/** Recipes **/
Iterator<IRecipe> iterator = CraftingManager.getInstance().getRecipeList().iterator();
while(iterator.hasNext())
{
ItemStack r = iterator.next().getRecipeOutput();
if(r != null && r.itemID == Item.bed.itemID)
{
iterator.remove();
logger.info("Removed Vanilla Bed.");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment