Shinoow / AbyssalCraft-Integration

Integration module for AbyssalCraft
6 stars 6 forks source link

[1.12.2] Cannot specify the booktype in creating custom AC rituals #43

Open RisingInIris2017 opened 3 years ago

RisingInIris2017 commented 3 years ago

Description:

I wrote a ZenScript like this:

mods.abyssalcraft.CreationRitual.addRitual(
    "infinite_heart",
    4, 53, 50000, true,
    <contenttweaker:infinite_heart_laevatain>,
    [
        <abyssalcraft:abyssalnomicon>,
        <contenttweaker:third_proudsoul_bottle>,
        <contenttweaker:third_proudsoul_bottle>,
        <abyssalcraft:staff>,
        <contenttweaker:abyssal_ingot>,
        <contenttweaker:abyssal_ingot>,
        <abyssalcraft:ingotblock:3>,
        <abyssalcraft:ingotblock:3>, 
        <contenttweaker:fourth_killcount_token>
    ],
    false
);

Then I started the game, and found that JEI displayed this recipe as: image You may have noticed the left-down corner, the book is lost. I went to the Dark Realm dimension, then tried to perform this ritual. I placed all items on the pedestals. I tried killed a mob before sneak-and-right-clicking the central pedestal, and sneak-and-right-click the central pedestal before killing a mob, neither succeeded.

All of my custom ritual recipes have this problem, regardless of what kind of book I specified. I have changed the booktype parameter to 3 but it was of no use.

Affected versions ("latest" is NOT a version):