getJson method

  1. @override
Map<String, dynamic> getJson()
override

Implementation

@override
Map<String, dynamic> getJson() => {
      'condition': 'minecraft:table_bonus',
      'enchantment': enchantment,
      'chances': chances,
    };