public ItemBlock(ItemID id, String name, Texture tex, byte b) : base(id, name, tex, Item.ItemType.BLOCK) { Block = b; ItemStorage.RegisterBlockItem(b, this); }
public ItemPlant(ItemID id, String name, Texture tex, PlantType plantType, byte blockFrom, Item itemTo) : base(id, name, tex, ItemType.PROCESSED) { PType = plantType; ItemStorage.RegisterBlockItem(blockFrom, itemTo ?? this); }