Added XP for ores, fixes #2759

The ore XP drop is not done by JSON but by hard-coding as a second parameter to OreBlock.
This commit is contained in:
Ayutac 2022-01-20 02:34:33 +01:00
parent 55eb70742f
commit b7a42f0a01
2 changed files with 16 additions and 5 deletions

View file

@ -432,7 +432,8 @@ public class TRContent {
block = new OreBlock(FabricBlockSettings.of(Material.STONE)
.requiresTool()
.sounds(name.startsWith("deepslate") ? BlockSoundGroup.DEEPSLATE : BlockSoundGroup.STONE)
.strength(2f, 2f)
.strength(2f, 2f),
distribution.experienceDropped
);
InitUtils.setup(block, name + "_ore");