Yarn: StringItem -> PlaceableItem

Created on 14 Mar 2019  ·  3Comments  ·  Source: FabricMC/yarn

StringItem is now a generic class for any item that has a separate Block as a placeable form. This includes string as well as all seeds, carrots, potatoes, sweet berries, cocoa beans, nether wart, and redstone dust. Given this, I think the class should be renamed to reflect its new usage.

Most helpful comment

How about AliasedBlockItem?

All 3 comments

It's not a placeable item, it's an ItemBlock with a different translation key from the block.

perhaps DistinctBlockItem

How about AliasedBlockItem?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

asiekierka picture asiekierka  ·  3Comments

haykam821 picture haykam821  ·  4Comments

altrisi picture altrisi  ·  4Comments

Awakened-Redstone picture Awakened-Redstone  ·  4Comments

ChloeDawn picture ChloeDawn  ·  6Comments