TeamAmeriFrance / Guide-API

An Open-Source API to make your own ingame guides.
MIT License
26 stars 20 forks source link

Spawn eggs with nbt data not working #100

Closed Trhod17 closed 7 years ago

Trhod17 commented 7 years ago

second times the charm. i am making a mod and i am trying to make a guide book but the spawn eggs dont work they are just white

new ItemStack(Items.SPAWN_EGG,16,120

that is what i have for my spawn eggs

TehNut commented 7 years ago

That constructor specifies size and meta. Not NBT. You are not creating that stack properly.

Trhod17 commented 7 years ago

16 is the size of the stack and 120 is the meta

TehNut commented 7 years ago

Neither of which are NBT