Removed Property Dependencies
This commit is contained in:
parent
9753373429
commit
9e3ba00db8
40 changed files with 93 additions and 121 deletions
|
@ -38,7 +38,6 @@ import net.minecraft.world.phys.BlockHitResult;
|
|||
|
||||
import net.fabricmc.api.EnvType;
|
||||
import net.fabricmc.api.Environment;
|
||||
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
|
||||
|
||||
import com.google.common.collect.Maps;
|
||||
|
||||
|
@ -54,9 +53,9 @@ public class BaseTerrainBlock extends BaseBlock {
|
|||
private Block pathBlock;
|
||||
|
||||
public BaseTerrainBlock(Block baseBlock, MaterialColor color) {
|
||||
super(FabricBlockSettings
|
||||
.copyOf(baseBlock)
|
||||
.materialColor(color)
|
||||
super(Properties
|
||||
.copy(baseBlock)
|
||||
.color(color)
|
||||
.sound(BlockSounds.TERRAIN_SOUND)
|
||||
.randomTicks()
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue