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:
parent
55eb70742f
commit
b7a42f0a01
2 changed files with 16 additions and 5 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue