mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-10-20 00:17:38 +00:00
Fix block drop data being generated in the incorrect place
Fixes half of #421
This commit is contained in:
@@ -45,8 +45,9 @@ public class LootTables extends LootTableProvider
|
||||
|
||||
private static void basicDrop( BiConsumer<ResourceLocation, LootTable> add, Block block )
|
||||
{
|
||||
add.accept( block.getRegistryName(), LootTable
|
||||
add.accept( block.getLootTable(), LootTable
|
||||
.builder()
|
||||
.setParameterSet( LootParameterSets.BLOCK )
|
||||
.addLootPool( LootPool.builder()
|
||||
.name( "main" )
|
||||
.rolls( ConstantRange.of( 1 ) )
|
||||
@@ -57,8 +58,9 @@ public class LootTables extends LootTableProvider
|
||||
|
||||
private static void computerDrop( BiConsumer<ResourceLocation, LootTable> add, Block block )
|
||||
{
|
||||
add.accept( block.getRegistryName(), LootTable
|
||||
add.accept( block.getLootTable(), LootTable
|
||||
.builder()
|
||||
.setParameterSet( LootParameterSets.BLOCK )
|
||||
.addLootPool( LootPool.builder()
|
||||
.name( "main" )
|
||||
.rolls( ConstantRange.of( 1 ) )
|
||||
|
Reference in New Issue
Block a user