Improve concrete with bars and parquet

This commit is contained in:
Andrew-71 2024-01-20 14:37:43 +03:00
parent cb857a028b
commit f2373e0971
65 changed files with 803 additions and 328 deletions

View file

@ -1,13 +1,14 @@
package su.a71.new_soviet.blocks;
import net.minecraft.block.*;
import net.minecraft.block.enums.WallMountLocation;
import net.minecraft.entity.Entity;
import net.minecraft.fluid.FluidState;
import net.minecraft.fluid.Fluids;
import net.minecraft.item.ItemPlacementContext;
import net.minecraft.state.StateManager;
import net.minecraft.state.property.BooleanProperty;
import net.minecraft.state.property.DirectionProperty;
import net.minecraft.state.property.EnumProperty;
import net.minecraft.state.property.Properties;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.Direction;
@ -15,38 +16,53 @@ import net.minecraft.util.shape.VoxelShape;
import net.minecraft.world.BlockView;
import net.minecraft.world.World;
import net.minecraft.world.WorldAccess;
import org.jetbrains.annotations.Nullable;
import su.a71.new_soviet.util.Shapes;
public class ConcreteWithBarsBlock extends HorizontalFacingBlock implements Waterloggable {
public static final DirectionProperty VERTICAL_DIRECTION;
import java.util.List;
public class ConcreteWithBarsBlock extends WallMountedBlock implements Waterloggable {
public static final BooleanProperty WATERLOGGED;
public static final VoxelShape SHAPE_UP;
public static final VoxelShape SHAPE_DOWN;
public static final Shapes.HorizontalShape SHAPE_WALL;
public static final Shapes.HorizontalShape SHAPE_FLOOR;
public static final Shapes.HorizontalShape SHAPE_CEILING;
public static final EnumProperty<WallMountLocation> FACE;
public ConcreteWithBarsBlock(Settings settings) {
super(settings);
setDefaultState(getDefaultState()
.with(Properties.HORIZONTAL_FACING, Direction.NORTH)
.with(VERTICAL_DIRECTION, Direction.UP)
.with(FACE, WallMountLocation.FLOOR)
.with(WATERLOGGED, false));
}
@Override
protected void appendProperties(StateManager.Builder<Block, BlockState> builder) {
builder.add(Properties.HORIZONTAL_FACING, VERTICAL_DIRECTION, WATERLOGGED);
builder.add(Properties.HORIZONTAL_FACING, FACE, WATERLOGGED);
}
@Override
@Nullable
public BlockState getPlacementState(ItemPlacementContext ctx) {
FluidState fluidState = ctx.getWorld().getFluidState(ctx.getBlockPos());
return super.getPlacementState(ctx)
.with(Properties.HORIZONTAL_FACING, ctx.getHorizontalPlayerFacing().getOpposite())
.with(VERTICAL_DIRECTION, ctx.getVerticalPlayerLookDirection().getOpposite())
.with(WATERLOGGED, fluidState.getFluid() == Fluids.WATER);
for (Direction direction : ctx.getPlacementDirections()) {
BlockState blockState;
if (direction.getAxis() == Direction.Axis.Y) {
blockState = this.getDefaultState().with(FACE, direction == Direction.UP ? WallMountLocation.CEILING : WallMountLocation.FLOOR).with(FACING, ctx.getHorizontalPlayerFacing());
} else {
blockState = this.getDefaultState().with(FACE, WallMountLocation.WALL).with(FACING, direction.getOpposite());
}
if (blockState.canPlaceAt(ctx.getWorld(), ctx.getBlockPos())) {
return blockState.with(WATERLOGGED, fluidState.getFluid() == Fluids.WATER);
}
}
return null;
}
public void onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) {
if (state.get(VERTICAL_DIRECTION) == Direction.UP) {
if (state.get(FACE) == WallMountLocation.CEILING) {
entity.handleFallDamage(fallDistance + 2.0F, 2.0F, world.getDamageSources().stalagmite());
} else {
super.onLandedUpon(world, state, pos, entity, fallDistance);
@ -54,10 +70,16 @@ public class ConcreteWithBarsBlock extends HorizontalFacingBlock implements Wate
}
public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) {
if (state.get(VERTICAL_DIRECTION) == Direction.DOWN) {
return SHAPE_UP;
}
return SHAPE_DOWN;
return switch (state.get(FACE)) {
case FLOOR -> SHAPE_FLOOR.north();
case WALL -> switch (state.get(FACING)) {
case NORTH -> SHAPE_WALL.north();
case SOUTH -> SHAPE_WALL.south();
case WEST -> SHAPE_WALL.west();
default -> SHAPE_WALL.east();
};
default -> SHAPE_CEILING.north();
};
}
@Override
@ -73,9 +95,10 @@ public class ConcreteWithBarsBlock extends HorizontalFacingBlock implements Wate
}
static {
VERTICAL_DIRECTION = Properties.VERTICAL_DIRECTION;
FACE = Properties.WALL_MOUNT_LOCATION;
WATERLOGGED = Properties.WATERLOGGED;
SHAPE_DOWN = Block.createCuboidShape(0, 0, 0, 16, 8, 16);
SHAPE_UP = Block.createCuboidShape(0, 8, 0, 16, 16, 16);
SHAPE_FLOOR = new Shapes.HorizontalShape(List.of(List.of(0.01, 0.0, 0.01, 15.99, 8.0, 15.99)));
SHAPE_CEILING = new Shapes.HorizontalShape(List.of(List.of(0.01, 8.0, 0.01, 15.99, 15.99, 15.99)));
SHAPE_WALL = new Shapes.HorizontalShape(List.of(List.of(0.01, 0.01, 8.0, 15.99, 15.99, 15.99)));
}
}

View file

@ -153,7 +153,7 @@ public class BlockLootTables extends FabricBlockLootTableProvider {
addDrop(NSE_Blocks.CROSS_MANGROVE_PLANKS);
addDrop(NSE_Blocks.HERRINGBONE_SPRUCE_PLANKS);
addDrop(NSE_Blocks.CROSS_SPRUCE_PLANKS);
addDrop(NSE_Blocks.HERRINGBONE_PARQUET);
addDrop(NSE_Blocks.HERRINGBONE_DARK_OAK_PARQUET);
addDrop(NSE_Blocks.STRAIGHT_PARQUET);
addDrop(NSE_Blocks.SEPARATED_PARQUET);
addDrop(NSE_Blocks.GREEN_LINOLEUM);
@ -455,8 +455,8 @@ public class BlockLootTables extends FabricBlockLootTableProvider {
addDrop(NSE_Blocks.HERRINGBONE_SPRUCE_PLANKS_STAIRS);
addDrop(NSE_Blocks.CROSS_SPRUCE_PLANKS_SLAB);
addDrop(NSE_Blocks.CROSS_SPRUCE_PLANKS_STAIRS);
addDrop(NSE_Blocks.HERRINGBONE_PARQUET_SLAB);
addDrop(NSE_Blocks.HERRINGBONE_PARQUET_STAIRS);
addDrop(NSE_Blocks.HERRINGBONE_DARK_OAK_PARQUET_SLAB);
addDrop(NSE_Blocks.HERRINGBONE_DARK_OAK_PARQUET_STAIRS);
addDrop(NSE_Blocks.STRAIGHT_PARQUET_SLAB);
addDrop(NSE_Blocks.STRAIGHT_PARQUET_STAIRS);
addDrop(NSE_Blocks.SEPARATED_PARQUET_SLAB);

View file

@ -363,7 +363,7 @@ public class BlockTagGenerator extends FabricTagProvider.BlockTagProvider {
.add(NSE_Blocks.CROSS_MANGROVE_PLANKS)
.add(NSE_Blocks.HERRINGBONE_SPRUCE_PLANKS)
.add(NSE_Blocks.CROSS_SPRUCE_PLANKS)
.add(NSE_Blocks.HERRINGBONE_PARQUET)
.add(NSE_Blocks.HERRINGBONE_DARK_OAK_PARQUET)
.add(NSE_Blocks.STRAIGHT_PARQUET)
.add(NSE_Blocks.SEPARATED_PARQUET)
.add(NSE_Blocks.GREEN_LINOLEUM)
@ -418,8 +418,8 @@ public class BlockTagGenerator extends FabricTagProvider.BlockTagProvider {
.add(NSE_Blocks.HERRINGBONE_SPRUCE_PLANKS_SLAB)
.add(NSE_Blocks.CROSS_SPRUCE_PLANKS_STAIRS)
.add(NSE_Blocks.CROSS_SPRUCE_PLANKS_SLAB)
.add(NSE_Blocks.HERRINGBONE_PARQUET_STAIRS)
.add(NSE_Blocks.HERRINGBONE_PARQUET_SLAB)
.add(NSE_Blocks.HERRINGBONE_DARK_OAK_PARQUET_STAIRS)
.add(NSE_Blocks.HERRINGBONE_DARK_OAK_PARQUET_SLAB)
.add(NSE_Blocks.STRAIGHT_PARQUET_STAIRS)
.add(NSE_Blocks.STRAIGHT_PARQUET_SLAB)
.add(NSE_Blocks.SEPARATED_PARQUET_STAIRS)
@ -602,7 +602,7 @@ public class BlockTagGenerator extends FabricTagProvider.BlockTagProvider {
.add(NSE_Blocks.CROSS_MANGROVE_PLANKS_STAIRS)
.add(NSE_Blocks.HERRINGBONE_SPRUCE_PLANKS_STAIRS)
.add(NSE_Blocks.CROSS_SPRUCE_PLANKS_STAIRS)
.add(NSE_Blocks.HERRINGBONE_PARQUET_STAIRS)
.add(NSE_Blocks.HERRINGBONE_DARK_OAK_PARQUET_STAIRS)
.add(NSE_Blocks.STRAIGHT_PARQUET_STAIRS)
.add(NSE_Blocks.SEPARATED_PARQUET_STAIRS)
.add(NSE_Blocks.GREEN_LINOLEUM_STAIRS)
@ -715,7 +715,7 @@ public class BlockTagGenerator extends FabricTagProvider.BlockTagProvider {
.add(NSE_Blocks.CROSS_MANGROVE_PLANKS_SLAB)
.add(NSE_Blocks.HERRINGBONE_SPRUCE_PLANKS_SLAB)
.add(NSE_Blocks.CROSS_SPRUCE_PLANKS_SLAB)
.add(NSE_Blocks.HERRINGBONE_PARQUET_SLAB)
.add(NSE_Blocks.HERRINGBONE_DARK_OAK_PARQUET_SLAB)
.add(NSE_Blocks.STRAIGHT_PARQUET_SLAB)
.add(NSE_Blocks.SEPARATED_PARQUET_SLAB)
.add(NSE_Blocks.GREEN_LINOLEUM_SLAB)

View file

@ -213,7 +213,7 @@ public class ModelGenerator extends FabricModelProvider {
registerCubeWithSlabStairs(blockStateModelGenerator, NSE_Blocks.CROSS_CHERRY_PLANKS, NSE_Blocks.CROSS_CHERRY_PLANKS_STAIRS, NSE_Blocks.CROSS_CHERRY_PLANKS_SLAB, "floor/planks");
registerCubeWithSlabStairs(blockStateModelGenerator, NSE_Blocks.HERRINGBONE_BAMBOO_PLANKS, NSE_Blocks.HERRINGBONE_BAMBOO_PLANKS_STAIRS, NSE_Blocks.HERRINGBONE_BAMBOO_PLANKS_SLAB, "floor/planks");
registerCubeWithSlabStairs(blockStateModelGenerator, NSE_Blocks.HERRINGBONE_PARQUET, NSE_Blocks.HERRINGBONE_PARQUET_STAIRS, NSE_Blocks.HERRINGBONE_PARQUET_SLAB, "floor/planks");
registerCubeWithSlabStairs(blockStateModelGenerator, NSE_Blocks.HERRINGBONE_DARK_OAK_PARQUET, NSE_Blocks.HERRINGBONE_DARK_OAK_PARQUET_STAIRS, NSE_Blocks.HERRINGBONE_DARK_OAK_PARQUET_SLAB, "floor/planks");
registerCubeWithSlabStairs(blockStateModelGenerator, NSE_Blocks.STRAIGHT_PARQUET, NSE_Blocks.STRAIGHT_PARQUET_STAIRS, NSE_Blocks.STRAIGHT_PARQUET_SLAB, "floor/planks");
registerCubeWithSlabStairs(blockStateModelGenerator, NSE_Blocks.SEPARATED_PARQUET, NSE_Blocks.SEPARATED_PARQUET_STAIRS, NSE_Blocks.SEPARATED_PARQUET_SLAB, "floor/planks");
registerCubeWithSlabStairs(blockStateModelGenerator, NSE_Blocks.GREEN_LINOLEUM, NSE_Blocks.GREEN_LINOLEUM_STAIRS, NSE_Blocks.GREEN_LINOLEUM_SLAB, "floor/linoleum");

View file

@ -427,6 +427,7 @@ public class RecipeGenerator extends FabricRecipeProvider {
stoneCuttingCategory(exporter, Blocks.DARK_OAK_PLANKS, Util.make(Lists.newArrayList(), list -> {
list.add(NSE_Blocks.CROSS_DARK_OAK_PLANKS);
list.add(NSE_Blocks.HERRINGBONE_DARK_OAK_PLANKS);
list.add(NSE_Blocks.HERRINGBONE_DARK_OAK_PARQUET);
}), RecipeCategory.BUILDING_BLOCKS);
stoneCuttingCategory(exporter, Blocks.JUNGLE_PLANKS, Util.make(Lists.newArrayList(), list -> {
list.add(NSE_Blocks.CROSS_JUNGLE_PLANKS);
@ -439,7 +440,6 @@ public class RecipeGenerator extends FabricRecipeProvider {
stoneCuttingCategory(exporter, Blocks.SPRUCE_PLANKS, Util.make(Lists.newArrayList(), list -> {
list.add(NSE_Blocks.CROSS_SPRUCE_PLANKS);
list.add(NSE_Blocks.HERRINGBONE_SPRUCE_PLANKS);
list.add(NSE_Blocks.HERRINGBONE_PARQUET);
}), RecipeCategory.BUILDING_BLOCKS);
stoneCuttingCategory(exporter, Blocks.CHERRY_PLANKS, Util.make(Lists.newArrayList(), list -> {
list.add(NSE_Blocks.CROSS_CHERRY_PLANKS);
@ -781,7 +781,7 @@ public class RecipeGenerator extends FabricRecipeProvider {
offerStairsAndSlab(exporter, NSE_Blocks.CROSS_MANGROVE_PLANKS_STAIRS, NSE_Blocks.CROSS_MANGROVE_PLANKS_SLAB, NSE_Blocks.CROSS_MANGROVE_PLANKS);
offerStairsAndSlab(exporter, NSE_Blocks.HERRINGBONE_SPRUCE_PLANKS_STAIRS, NSE_Blocks.HERRINGBONE_SPRUCE_PLANKS_SLAB, NSE_Blocks.HERRINGBONE_SPRUCE_PLANKS);
offerStairsAndSlab(exporter, NSE_Blocks.CROSS_SPRUCE_PLANKS_STAIRS, NSE_Blocks.CROSS_SPRUCE_PLANKS_SLAB, NSE_Blocks.CROSS_SPRUCE_PLANKS);
offerStairsAndSlab(exporter, NSE_Blocks.HERRINGBONE_PARQUET_STAIRS, NSE_Blocks.HERRINGBONE_PARQUET_SLAB, NSE_Blocks.HERRINGBONE_PARQUET);
offerStairsAndSlab(exporter, NSE_Blocks.HERRINGBONE_DARK_OAK_PARQUET_STAIRS, NSE_Blocks.HERRINGBONE_DARK_OAK_PARQUET_SLAB, NSE_Blocks.HERRINGBONE_DARK_OAK_PARQUET);
offerStairsAndSlab(exporter, NSE_Blocks.STRAIGHT_PARQUET_STAIRS, NSE_Blocks.STRAIGHT_PARQUET_SLAB, NSE_Blocks.STRAIGHT_PARQUET);
offerStairsAndSlab(exporter, NSE_Blocks.SEPARATED_PARQUET_STAIRS, NSE_Blocks.SEPARATED_PARQUET_SLAB, NSE_Blocks.SEPARATED_PARQUET);
offerStairsAndSlab(exporter, NSE_Blocks.GREEN_LINOLEUM_STAIRS, NSE_Blocks.GREEN_LINOLEUM_SLAB, NSE_Blocks.GREEN_LINOLEUM);

View file

@ -264,6 +264,15 @@ public class NSE_Blocks extends NSE_BaseRegistration {
public static final Block SMALL_YELLOW_TILES = new Block(FabricBlockSettings.create().sounds(BlockSoundGroup.STONE).strength(1.5f, 6f).requiresTool().mapColor(MapColor.YELLOW));
public static final Block SMALL_CRACKED_YELLOW_TILES = new Block(FabricBlockSettings.copy(SMALL_YELLOW_TILES));
public static final Block YELLOW_BRICKS = new Block(FabricBlockSettings.create().sounds(BlockSoundGroup.STONE).strength(1.5f, 6f).requiresTool().mapColor(MapColor.YELLOW));
public static final StairsBlock YELLOW_BRICKS_STAIRS = new StairsBlock(YELLOW_BRICKS.getDefaultState(), FabricBlockSettings.copy(YELLOW_BRICKS));
public static final SlabBlock YELLOW_BRICKS_SLAB = new SlabBlock(FabricBlockSettings.copy(YELLOW_BRICKS));
public static final Block CRACKED_YELLOW_BRICKS = new Block(FabricBlockSettings.copy(NSE_Blocks.YELLOW_BRICKS));
public static final StairsBlock CRACKED_YELLOW_BRICKS_STAIRS = new StairsBlock(CRACKED_YELLOW_BRICKS.getDefaultState(), FabricBlockSettings.copy(CRACKED_YELLOW_BRICKS));
public static final SlabBlock CRACKED_YELLOW_BRICKS_SLAB = new SlabBlock(FabricBlockSettings.copy(CRACKED_YELLOW_BRICKS));
public static final Block MOSSY_YELLOW_BRICKS = new Block(FabricBlockSettings.copy(NSE_Blocks.YELLOW_BRICKS));
public static final StairsBlock MOSSY_YELLOW_BRICKS_STAIRS = new StairsBlock(MOSSY_YELLOW_BRICKS.getDefaultState(), FabricBlockSettings.copy(MOSSY_YELLOW_BRICKS));
public static final SlabBlock MOSSY_YELLOW_BRICKS_SLAB = new SlabBlock(FabricBlockSettings.copy(MOSSY_YELLOW_BRICKS));
public static final Block WHITEWASH = new Block(FabricBlockSettings.create().sounds(BlockSoundGroup.STONE).strength(1.5f, 6f).requiresTool().mapColor(MapColor.OFF_WHITE));
public static final Block CRACKED_WHITEWASH = new Block(FabricBlockSettings.copy(WHITEWASH));
@ -401,13 +410,13 @@ public class NSE_Blocks extends NSE_BaseRegistration {
public static final StairsBlock HERRINGBONE_BAMBOO_PLANKS_STAIRS = new StairsBlock(HERRINGBONE_BAMBOO_PLANKS.getDefaultState(), FabricBlockSettings.copy(HERRINGBONE_BAMBOO_PLANKS));
public static final SlabBlock HERRINGBONE_BAMBOO_PLANKS_SLAB = new SlabBlock(FabricBlockSettings.copy(HERRINGBONE_BAMBOO_PLANKS));
public static final Block HERRINGBONE_PARQUET = new Block(FabricBlockSettings.create().sounds(NSE_Sounds.PARQUET_SOUNDS).strength(2f, 3f).mapColor(MapColor.OAK_TAN));
public static final StairsBlock HERRINGBONE_PARQUET_STAIRS = new StairsBlock(HERRINGBONE_PARQUET.getDefaultState(), FabricBlockSettings.copy(HERRINGBONE_PARQUET));
public static final SlabBlock HERRINGBONE_PARQUET_SLAB = new SlabBlock(FabricBlockSettings.copy(HERRINGBONE_PARQUET));
public static final Block STRAIGHT_PARQUET = new Block(FabricBlockSettings.copy(HERRINGBONE_PARQUET));
public static final Block HERRINGBONE_DARK_OAK_PARQUET = new Block(FabricBlockSettings.create().sounds(NSE_Sounds.PARQUET_SOUNDS).strength(2f, 3f).mapColor(MapColor.OAK_TAN));
public static final StairsBlock HERRINGBONE_DARK_OAK_PARQUET_STAIRS = new StairsBlock(HERRINGBONE_DARK_OAK_PARQUET.getDefaultState(), FabricBlockSettings.copy(HERRINGBONE_DARK_OAK_PARQUET));
public static final SlabBlock HERRINGBONE_DARK_OAK_PARQUET_SLAB = new SlabBlock(FabricBlockSettings.copy(HERRINGBONE_DARK_OAK_PARQUET));
public static final Block STRAIGHT_PARQUET = new Block(FabricBlockSettings.copy(HERRINGBONE_DARK_OAK_PARQUET));
public static final StairsBlock STRAIGHT_PARQUET_STAIRS = new StairsBlock(STRAIGHT_PARQUET.getDefaultState(), FabricBlockSettings.copy(STRAIGHT_PARQUET));
public static final SlabBlock STRAIGHT_PARQUET_SLAB = new SlabBlock(FabricBlockSettings.copy(STRAIGHT_PARQUET));
public static final Block SEPARATED_PARQUET = new Block(FabricBlockSettings.copy(HERRINGBONE_PARQUET));
public static final Block SEPARATED_PARQUET = new Block(FabricBlockSettings.copy(HERRINGBONE_DARK_OAK_PARQUET));
public static final StairsBlock SEPARATED_PARQUET_STAIRS = new StairsBlock(SEPARATED_PARQUET.getDefaultState(), FabricBlockSettings.copy(SEPARATED_PARQUET));
public static final SlabBlock SEPARATED_PARQUET_SLAB = new SlabBlock(FabricBlockSettings.copy(SEPARATED_PARQUET));
@ -752,6 +761,15 @@ public class NSE_Blocks extends NSE_BaseRegistration {
registerBlock("small_yellow_tiles", () -> SMALL_YELLOW_TILES, NSE_BUILDING_TAB);
registerBlock("small_cracked_yellow_tiles", () -> SMALL_CRACKED_YELLOW_TILES, NSE_BUILDING_TAB);
registerBlock("yellow_bricks", () -> YELLOW_BRICKS, NSE_BUILDING_TAB);
registerBlock("yellow_bricks_stairs", () -> YELLOW_BRICKS_STAIRS, NSE_BUILDING_TAB);
registerBlock("yellow_bricks_slab", () -> YELLOW_BRICKS_SLAB, NSE_BUILDING_TAB);
registerBlock("cracked_yellow_bricks", () -> CRACKED_YELLOW_BRICKS, NSE_BUILDING_TAB);
registerBlock("cracked_yellow_bricks_stairs", () -> CRACKED_YELLOW_BRICKS_STAIRS, NSE_BUILDING_TAB);
registerBlock("cracked_yellow_bricks_slab", () -> CRACKED_YELLOW_BRICKS_SLAB, NSE_BUILDING_TAB);
registerBlock("mossy_yellow_bricks", () -> MOSSY_YELLOW_BRICKS, NSE_BUILDING_TAB);
registerBlock("mossy_yellow_bricks_stairs", () -> MOSSY_YELLOW_BRICKS_STAIRS, NSE_BUILDING_TAB);
registerBlock("mossy_yellow_bricks_slab", () -> MOSSY_YELLOW_BRICKS_SLAB, NSE_BUILDING_TAB);
registerBlock("whitewash", () -> WHITEWASH, NSE_BUILDING_TAB);
registerBlock("cracked_whitewash", () -> CRACKED_WHITEWASH, NSE_BUILDING_TAB);
@ -891,9 +909,9 @@ public class NSE_Blocks extends NSE_BaseRegistration {
registerBlock("herringbone_bamboo_planks_stairs", () -> HERRINGBONE_BAMBOO_PLANKS_STAIRS, NSE_BUILDING_TAB);
registerBlock("herringbone_bamboo_planks_slab", () -> HERRINGBONE_BAMBOO_PLANKS_SLAB, NSE_BUILDING_TAB);
registerBlock("herringbone_parquet", () -> HERRINGBONE_PARQUET, NSE_BUILDING_TAB);
registerBlock("herringbone_parquet_stairs", () -> HERRINGBONE_PARQUET_STAIRS, NSE_BUILDING_TAB);
registerBlock("herringbone_parquet_slab", () -> HERRINGBONE_PARQUET_SLAB, NSE_BUILDING_TAB);
registerBlock("herringbone_dark_oak_parquet", () -> HERRINGBONE_DARK_OAK_PARQUET, NSE_BUILDING_TAB);
registerBlock("herringbone_dark_oak_parquet_stairs", () -> HERRINGBONE_DARK_OAK_PARQUET_STAIRS, NSE_BUILDING_TAB);
registerBlock("herringbone_dark_oak_parquet_slab", () -> HERRINGBONE_DARK_OAK_PARQUET_SLAB, NSE_BUILDING_TAB);
registerBlock("straight_parquet", () -> STRAIGHT_PARQUET, NSE_BUILDING_TAB);
registerBlock("straight_parquet_stairs", () -> STRAIGHT_PARQUET_STAIRS, NSE_BUILDING_TAB);
registerBlock("straight_parquet_slab", () -> STRAIGHT_PARQUET_SLAB, NSE_BUILDING_TAB);
@ -1008,7 +1026,7 @@ public class NSE_Blocks extends NSE_BaseRegistration {
flammableBlockRegistry.add(CROSS_CHERRY_PLANKS, 20, 5);
flammableBlockRegistry.add(HERRINGBONE_BAMBOO_PLANKS, 20, 5);
flammableBlockRegistry.add(HERRINGBONE_PARQUET, 20, 5);
flammableBlockRegistry.add(HERRINGBONE_DARK_OAK_PARQUET, 20, 5);
flammableBlockRegistry.add(STRAIGHT_PARQUET, 20, 5);
flammableBlockRegistry.add(SEPARATED_PARQUET, 20, 5);
@ -1057,8 +1075,8 @@ public class NSE_Blocks extends NSE_BaseRegistration {
flammableBlockRegistry.add(HERRINGBONE_BAMBOO_PLANKS, 20, 5);
flammableBlockRegistry.add(HERRINGBONE_BAMBOO_PLANKS, 20, 5);
flammableBlockRegistry.add(HERRINGBONE_PARQUET_STAIRS, 20, 5);
flammableBlockRegistry.add(HERRINGBONE_PARQUET_SLAB, 20, 5);
flammableBlockRegistry.add(HERRINGBONE_DARK_OAK_PARQUET_STAIRS, 20, 5);
flammableBlockRegistry.add(HERRINGBONE_DARK_OAK_PARQUET_SLAB, 20, 5);
flammableBlockRegistry.add(STRAIGHT_PARQUET_STAIRS, 20, 5);
flammableBlockRegistry.add(STRAIGHT_PARQUET_SLAB, 20, 5);
flammableBlockRegistry.add(SEPARATED_PARQUET_STAIRS, 20, 5);