mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-27 15:33:08 +00:00
Bump mappings
This commit is contained in:
1 parent
b8b2ed5ff3
commit
db8b866e23
5 files changed
+12
-12
No files matched your search
@@ -139,16 +139,16 @@ public class BlockLootProvider implements IDataProvider {
|
||||
|
||||
private static LootTable.Builder genRoot() {
|
||||
LootEntry.Builder<?> entry = ItemLootEntry.builder(ModItems.livingroot)
|
||||
.acceptFunction(SetCount.func_215932_a(RandomValueRange.of(2, 4)))
|
||||
.acceptFunction(ExplosionDecay.func_215863_b());
|
||||
.acceptFunction(SetCount.builder(RandomValueRange.of(2, 4)))
|
||||
.acceptFunction(ExplosionDecay.builder());
|
||||
return LootTable.builder().addLootPool(LootPool.builder().name("main").rolls(ConstantRange.of(1)).addEntry(entry));
|
||||
}
|
||||
|
||||
private static LootTable.Builder genSlab(Block b) {
|
||||
LootEntry.Builder<?> entry = ItemLootEntry.builder(b)
|
||||
.acceptFunction(SetCount.func_215932_a(ConstantRange.of(2))
|
||||
.acceptFunction(SetCount.builder(ConstantRange.of(2))
|
||||
.acceptCondition(BlockStateProperty.builder(b).with(SlabBlock.TYPE, SlabType.DOUBLE)))
|
||||
.acceptFunction(ExplosionDecay.func_215863_b());
|
||||
.acceptFunction(ExplosionDecay.builder());
|
||||
return LootTable.builder().addLootPool(LootPool.builder().name("main").rolls(ConstantRange.of(1)).addEntry(entry));
|
||||
}
|
||||
|
||||
@@ -167,7 +167,7 @@ public class BlockLootProvider implements IDataProvider {
|
||||
.acceptCondition(MatchTool.builder(silkPred));
|
||||
LootEntry.Builder<?> dirt = ItemLootEntry.builder(Blocks.DIRT)
|
||||
.acceptCondition(SurvivesExplosion.builder());
|
||||
LootEntry.Builder<?> entry = AlternativesLootEntry.func_216149_a(silk, dirt);
|
||||
LootEntry.Builder<?> entry = AlternativesLootEntry.builder(silk, dirt);
|
||||
LootPool.Builder pool = LootPool.builder().name("main").rolls(ConstantRange.of(1)).addEntry(entry);
|
||||
return LootTable.builder().addLootPool(pool);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user