Continue mapping migration
This commit is contained in:
parent
99ade39404
commit
f03fd03bd0
499 changed files with 12567 additions and 12723 deletions
|
@ -1,10 +1,10 @@
|
|||
package ru.betterend.blocks;
|
||||
|
||||
import net.minecraft.resources.ResourceLocation;
|
||||
import net.minecraft.world.level.block.Block;
|
||||
import net.minecraft.world.level.block.state.BlockState;
|
||||
import net.minecraft.world.level.block.state.StateDefinition;
|
||||
import net.minecraft.world.level.block.state.properties.IntegerProperty;
|
||||
import net.minecraft.resources.ResourceLocation;
|
||||
import ru.betterend.blocks.basis.EndAnvilBlock;
|
||||
import ru.betterend.item.material.EndToolMaterial;
|
||||
import ru.betterend.patterns.Patterns;
|
||||
|
@ -12,11 +12,11 @@ import ru.betterend.registry.EndBlocks;
|
|||
|
||||
public class AeterniumAnvil extends EndAnvilBlock {
|
||||
private static final IntegerProperty DESTRUCTION = BlockProperties.DESTRUCTION_LONG;
|
||||
|
||||
|
||||
public AeterniumAnvil() {
|
||||
super(EndBlocks.AETERNIUM_BLOCK.defaultMaterialColor(), EndToolMaterial.AETERNIUM.getLevel());
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
protected void createBlockStateDefinition(StateDefinition.Builder<Block, BlockState> builder) {
|
||||
builder.add(DESTRUCTION);
|
||||
|
@ -24,7 +24,7 @@ public class AeterniumAnvil extends EndAnvilBlock {
|
|||
}
|
||||
|
||||
@Override
|
||||
public IntegerProperty getDESTRUCTION() {
|
||||
public IntegerProperty getDestructionProperty() {
|
||||
return DESTRUCTION;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue