Skip to content

Commit

Permalink
adapted flint and steel
Browse files Browse the repository at this point in the history
  • Loading branch information
Dweblenod committed Aug 15, 2024
1 parent 111b2b8 commit 0b8bf51
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ public void generate(BiConsumer<ResourceLocation, LootTable.Builder> lootProcess

lootProcessor.accept(locationForTerrain(LandTypes.FROST, SUPPLY_ITEM_TABLE), LootTable.lootTable()
.withPool(LootPool.lootPool().name(ITEM_POOL)
.add(LootItem.lootTableItem(Items.FLINT_AND_STEEL).setWeight(10).setQuality(0).apply(SetItemDamageFunction.setDamage(UniformGenerator.between(0.0F, 0.25F))))
.add(LootItem.lootTableItem(Items.FLINT_AND_STEEL).setWeight(10).setQuality(0).apply(damageRange(0.0F, 0.25F)))
.add(LootItem.lootTableItem(Items.COAL).setWeight(8).setQuality(0).apply(countRange(1, 5)))
.add(LootItem.lootTableItem(Items.DIAMOND).setWeight(1).setQuality(2).apply(countRange(1, 2)))
));
Expand Down

0 comments on commit 0b8bf51

Please sign in to comment.