From fb7a9e87729650309b6dcfdfb66f53ad6b87bf17 Mon Sep 17 00:00:00 2001 From: ferriarnus <61201275+ferriarnus@users.noreply.github.com> Date: Fri, 28 Jul 2023 11:19:16 +0200 Subject: [PATCH] Fix Monster Token Recipe --- .../data/enderio/recipes/soulbinding/monster_token.json | 2 +- .../machines/data/recipes/SoulBindingRecipeProvider.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/generated/resources/data/enderio/recipes/soulbinding/monster_token.json b/src/generated/resources/data/enderio/recipes/soulbinding/monster_token.json index e976cc10c3..816c309e00 100644 --- a/src/generated/resources/data/enderio/recipes/soulbinding/monster_token.json +++ b/src/generated/resources/data/enderio/recipes/soulbinding/monster_token.json @@ -1,10 +1,10 @@ { "type": "enderio:soul_binding", "energy": 25000, - "entity_type": "minecraft:ghast", "exp": 1, "input": { "item": "enderio:soularium_grinding_ball" }, + "mob_category": "monster", "output": "enderio:monster_token" } \ No newline at end of file diff --git a/src/machines/java/com/enderio/machines/data/recipes/SoulBindingRecipeProvider.java b/src/machines/java/com/enderio/machines/data/recipes/SoulBindingRecipeProvider.java index a0bcc17e2b..2307fde6c8 100644 --- a/src/machines/java/com/enderio/machines/data/recipes/SoulBindingRecipeProvider.java +++ b/src/machines/java/com/enderio/machines/data/recipes/SoulBindingRecipeProvider.java @@ -39,7 +39,7 @@ protected void buildRecipes(Consumer pFinishedRecipeConsumer) { build(EIOItems.SENTIENT_ENDER, Ingredient.of(EIOItems.ENDER_RESONATOR), 100000, 4, EntityType.WITCH, pFinishedRecipeConsumer); build(EIOItems.BROKEN_SPAWNER, Ingredient.of(EIOItems.BROKEN_SPAWNER), 2500000, 8, pFinishedRecipeConsumer); build(EIOItems.PLAYER_TOKEN, Ingredient.of(EIOItems.DARK_STEEL_BALL), 25000, 1, EntityType.VILLAGER, pFinishedRecipeConsumer); - build(EIOItems.MONSTER_TOKEN, Ingredient.of(EIOItems.SOULARIUM_BALL), 25000, 1, EntityType.GHAST, pFinishedRecipeConsumer); + build(EIOItems.MONSTER_TOKEN, Ingredient.of(EIOItems.SOULARIUM_BALL), 25000, 1, MobCategory.MONSTER, pFinishedRecipeConsumer); build(EIOItems.ANIMAL_TOKEN, Ingredient.of(EIOItems.SOULARIUM_BALL), 25000, 1, MobCategory.CREATURE, pFinishedRecipeConsumer); }