Mod
Recipes for All
No reviews yet
Unlock the full Vanilla Recipe Book
Forge is a popular mod loader for versions 1.1+ of Minecraft.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
Recipes for All is a small mod that Unlocks all Recipes for the Vanilla Recipe Book when the Player joins the world. Clients connecting to servers with this mod do not require this mod. It is recommended to have it client side if you wish to have this feature function in single player worlds however.
Recipes that do not have ingredients or a output are not unlocked, this prevents broken recipes that you cannot actually craft from showing up.
This is an extremely tiny mod, as such rather than hosting a GitHub repository for it, I've included the source below
package com.mr208.rfa;
import com.google.common.collect.Lists;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.item.crafting.CraftingManager;
import net.minecraft.item.crafting.IRecipe;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventBusSubscriber;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.common.gameevent.PlayerEvent.PlayerLoggedInEvent;
import java.util.ArrayList;
@EventBusSubscriber
@Mod(modid = "rfa", name = "Recipes For All", version = "1.0.0", acceptableRemoteVersions = "*")
public class RecipesForAll
{
@SubscribeEvent
public static void onPlayerLoggin(PlayerLoggedInEvent event)
{
if(event.player instanceof EntityPlayerMP)
{
ArrayList<IRecipe> recipes = Lists.newArrayList(CraftingManager.REGISTRY);
recipes.removeIf((recipe)-> recipe.getRecipeOutput().isEmpty());
recipes.removeIf((recipe)-> recipe.getIngredients().isEmpty());
event.player.unlockRecipes(recipes);
}
}
}
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources