From df169d0f860adc17480f2218cb7ea66d8f0c8d56 Mon Sep 17 00:00:00 2001 From: MysticKoko <132279944+MysticKoko@users.noreply.github.com> Date: Sun, 17 Nov 2024 13:31:00 +0200 Subject: [PATCH] Added cuttlebone to the cuttlefish loot table --- .../loot_tables/entities/cuttlefish.json | 10 ++++++++++ .../data/server/loot/EntityTypeLootTableProvider.kt | 6 ++++++ 2 files changed, 16 insertions(+) diff --git a/src/generated/resources/data/hybrid-aquatic/loot_tables/entities/cuttlefish.json b/src/generated/resources/data/hybrid-aquatic/loot_tables/entities/cuttlefish.json index 555888edd..5b553b7e6 100644 --- a/src/generated/resources/data/hybrid-aquatic/loot_tables/entities/cuttlefish.json +++ b/src/generated/resources/data/hybrid-aquatic/loot_tables/entities/cuttlefish.json @@ -11,6 +11,16 @@ ], "rolls": 1.0 }, + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "name": "hybrid-aquatic:cuttlebone" + } + ], + "rolls": 1.0 + }, { "bonus_rolls": 0.0, "entries": [ diff --git a/src/main/kotlin/dev/hybridlabs/aquatic/data/server/loot/EntityTypeLootTableProvider.kt b/src/main/kotlin/dev/hybridlabs/aquatic/data/server/loot/EntityTypeLootTableProvider.kt index 39f39fe3d..4fcc711a6 100644 --- a/src/main/kotlin/dev/hybridlabs/aquatic/data/server/loot/EntityTypeLootTableProvider.kt +++ b/src/main/kotlin/dev/hybridlabs/aquatic/data/server/loot/EntityTypeLootTableProvider.kt @@ -227,6 +227,12 @@ class EntityTypeLootTableProvider(output: FabricDataOutput) : SimpleFabricLootTa ItemEntry.builder(Items.INK_SAC) ) ) + pool( + LootPool.builder() + .with( + ItemEntry.builder(HybridAquaticItems.CUTTLEBONE) + ) + ) pool( LootPool.builder() .with(