getItem method

Item getItem()

Implementation

Item getItem() => item.copyWith(
      nbt: {
        'EntityTag': {
          'id': Entities.area_effect_cloud.toString(),
          'Tags': ['summon_$id'],
          'Duration': 0,
          'WaitTime': 0,
          'Radius': 0,
        }
      },
      count: item.count ?? 1,
      name: name != null ? TextComponent(name!, italic: false) : null,
    );