Added AnvilReceipts from BE
This commit is contained in:
parent
57e2099650
commit
2674940c91
12 changed files with 746 additions and 23 deletions
16
src/main/java/ru/bclib/blocks/LeveledAnvilBlock.java
Normal file
16
src/main/java/ru/bclib/blocks/LeveledAnvilBlock.java
Normal 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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue