Removed use of FabricBlockSettings
This commit is contained in:
parent
f6c47344de
commit
94f7ac8ae7
1 changed files with 2 additions and 1 deletions
|
@ -9,6 +9,7 @@ import org.betterx.worlds.together.tag.v3.TagManager;
|
|||
import net.minecraft.resources.ResourceLocation;
|
||||
import net.minecraft.world.level.block.Block;
|
||||
import net.minecraft.world.level.block.Blocks;
|
||||
import net.minecraft.world.level.block.state.BlockBehaviour;
|
||||
import net.minecraft.world.level.material.MapColor;
|
||||
|
||||
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
|
||||
|
@ -83,7 +84,7 @@ public class WoodenComplexMaterial extends ComplexMaterialSet<WoodenComplexMater
|
|||
}
|
||||
|
||||
@Override
|
||||
protected FabricBlockSettings getBlockSettings() {
|
||||
protected BlockBehaviour.Properties getBlockSettings() {
|
||||
return FabricBlockSettings.copyOf(Blocks.OAK_PLANKS)
|
||||
.mapColor(planksColor);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue