TeamDman / Zen-Summoning

A mod that allows for pack creators to set up custom summoning situations using ZenScript
2 stars 1 forks source link

Illusioner does not work with zen summoning #25

Closed Goldenlion5648 closed 3 years ago

Goldenlion5648 commented 3 years ago

When using this script:

import crafttweaker.api.item.IItemStack;
import crafttweaker.api.item.IIngredient;
import mods.zensummoning.SummoningDirector;
import mods.zensummoning.SummoningAttempt;
import mods.zensummoning.SummoningInfo;
import mods.zensummoning.MobInfo;

SummoningDirector.addSummonInfo(
    SummoningInfo.create()
        .setCatalyst(<item:minecraft:bone>)
        .setReagents([<item:minecraft:leather>*2,<item:minecraft:beef>])
        .addMob(MobInfo.create()
            .setMob(<entitytype:minecraft:illusioner>)
            .setOffset(1,2,1)
            .setSpread(1,1,1)
        )
);

it does not get loaded in, but replacing "illusioner" with "zombie" does work

TeamDman commented 3 years ago

haven't tested myself yet, but you aren't on peaceful right?

Goldenlion5648 commented 3 years ago

I meant the JEI recipe doesn't even show up

Goldenlion5648 commented 3 years ago

What the heck? It works, just does not show in JEI when its the illusioner.

TeamDman commented 3 years ago

I think the way I upgraded the spawn egg code for the recipe might prevent stuff from working if the entity doesn't have an egg. In previous versions, you could hack the egg to be anything, but it's a little different now. Will try and make sure there's a fallback

TeamDman commented 3 years ago

New build will be available here once approved