Added AnvilReceipts from BE

This commit is contained in:
Frank 2021-10-18 12:26:35 +02:00
parent 57e2099650
commit 2674940c91
12 changed files with 746 additions and 23 deletions

View file

@ -0,0 +1,16 @@
package ru.bclib.blocks;
import net.minecraft.world.level.material.MaterialColor;
public class LeveledAnvilBlock extends BaseAnvilBlock{
protected final int level;
public LeveledAnvilBlock(MaterialColor color, int level) {
super(color);
this.level = level;
}
public int getCraftingLevel() {
return level;
}
}