Work more on migrations to 1.21
This commit is contained in:
parent
922f89d14c
commit
ddc7fa9952
16 changed files with 480 additions and 212 deletions
|
@ -2,14 +2,13 @@ package com.zontreck.block;
|
|||
|
||||
|
||||
import net.minecraft.world.level.block.Block;
|
||||
import net.minecraft.world.level.block.Blocks;
|
||||
import net.minecraft.world.level.block.state.BlockBehaviour;
|
||||
|
||||
@Deprecated
|
||||
public class DeprecatedBlock extends Block
|
||||
{
|
||||
public DeprecatedBlock(){
|
||||
super(BlockBehaviour.Properties.copy(Blocks.STONE).instabreak());
|
||||
super(BlockBehaviour.Properties.of().instabreak());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue