-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add recipe for getting spirit bottles to EMI
- Loading branch information
1 parent
0140706
commit bf94581
Showing
2 changed files
with
30 additions
and
12 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
src/client/java/top/offsetmonkey538/compactmobfarms/client/emi/CompactMobFarmsEmiPlugin.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() | ||
); | ||
|
||
|
||
} | ||
} |
12 changes: 0 additions & 12 deletions
12
src/main/java/top/offsetmonkey538/compactmobfarms/emi/CompactMobFarmsEmiPlugin.java
This file was deleted.
Oops, something went wrong.