Skip to content

Commit

Permalink
Add recipe for getting spirit bottles to EMI
Browse files Browse the repository at this point in the history
  • Loading branch information
OffsetMonkey538 committed Oct 29, 2023
1 parent 0140706 commit bf94581
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
package top.offsetmonkey538.compactmobfarms.emi;

import dev.emi.emi.api.EmiPlugin;
import dev.emi.emi.api.EmiRegistry;
import dev.emi.emi.api.recipe.EmiRecipeCategory;
import dev.emi.emi.api.recipe.EmiWorldInteractionRecipe;
import dev.emi.emi.api.stack.Comparison;
import dev.emi.emi.api.stack.EmiStack;
import net.minecraft.entity.EntityType;
import net.minecraft.item.Items;
import top.offsetmonkey538.compactmobfarms.config.EntityTiers;
import top.offsetmonkey538.compactmobfarms.item.ModItems;

import static top.offsetmonkey538.compactmobfarms.CompactMobFarms.*;

public class CompactMobFarmsEmiPlugin implements EmiPlugin {

@Override
public void register(EmiRegistry registry) {
registry.addRecipe(EmiWorldInteractionRecipe.builder()
.id(id("/spirit_bottle"))
.leftInput(EmiStack.of(Items.GLASS_BOTTLE))
.rightInput(EmiStack.of(Items.SPAWNER), true)
.output(EmiStack.of(ModItems.SPIRIT_BOTTLE))
.build()
);


}
}

This file was deleted.

0 comments on commit bf94581

Please sign in to comment.