MrCrayfish's Furniture Mod (Legacy)

MrCrayfish's Furniture Mod (Legacy)

96M Downloads

minebay spawn egg

Phixaen opened this issue ยท 3 comments

commented

The current default egg that is sold on minebay is labeled "spawn" and doesn't spawn anything.
Able to add items on minebay successfully from minecraft and several other addons successfully except for spawn eggs.

Tried things like

    type=minebay,input-item=minecraft:spawn_egg,input-metadata=52,input-amount=1,payment-item=minecraft:emerald,payment-price=1

tried without input amount, tried with the names of the items, with the metadata included after spawn_egg:?? and a few other variations located after searching online to no avail.
Am I doing something wrong or is this just an issue with minebay currently ?

commented

Spawn egg contents are apparently provided by NBT data. I'm not sure how to specify NBT data in CFM. In CraftTweaker, I was doing it as follows, but the WithTag() part is a CraftTweaker function.

<minecraft:spawn_egg>.withTag({EntityTag: {id: "minecraft:zombie"}}

commented

Tried several variations of the above with entitytags, also tried using the same commands that work for a /give with _ for the spaces but of course that would be too easy. Any other ideas?

commented

I might have to remove NBT type items temporarily. I implemented my API poorly as I was inexperienced back when I added it. I will most likely be changing it to full JSON and then it will support NBT. I will be closing this for now.