mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-02-06 18:34:59 +01:00
Add CopperBlockSet slabs and stairs to correct tags (#7053)
This commit is contained in:
parent
bdc0e8779d
commit
8355dda53b
4 changed files with 411 additions and 371 deletions
File diff suppressed because it is too large
Load diff
|
@ -1,5 +1,21 @@
|
|||
{
|
||||
"values": [
|
||||
"create:copper_shingle_slab",
|
||||
"create:exposed_copper_shingle_slab",
|
||||
"create:weathered_copper_shingle_slab",
|
||||
"create:oxidized_copper_shingle_slab",
|
||||
"create:waxed_copper_shingle_slab",
|
||||
"create:waxed_exposed_copper_shingle_slab",
|
||||
"create:waxed_weathered_copper_shingle_slab",
|
||||
"create:waxed_oxidized_copper_shingle_slab",
|
||||
"create:copper_tile_slab",
|
||||
"create:exposed_copper_tile_slab",
|
||||
"create:weathered_copper_tile_slab",
|
||||
"create:oxidized_copper_tile_slab",
|
||||
"create:waxed_copper_tile_slab",
|
||||
"create:waxed_exposed_copper_tile_slab",
|
||||
"create:waxed_weathered_copper_tile_slab",
|
||||
"create:waxed_oxidized_copper_tile_slab",
|
||||
"create:cut_granite_slab",
|
||||
"create:polished_cut_granite_slab",
|
||||
"create:cut_granite_brick_slab",
|
||||
|
|
|
@ -1,5 +1,21 @@
|
|||
{
|
||||
"values": [
|
||||
"create:copper_shingle_stairs",
|
||||
"create:exposed_copper_shingle_stairs",
|
||||
"create:weathered_copper_shingle_stairs",
|
||||
"create:oxidized_copper_shingle_stairs",
|
||||
"create:waxed_copper_shingle_stairs",
|
||||
"create:waxed_exposed_copper_shingle_stairs",
|
||||
"create:waxed_weathered_copper_shingle_stairs",
|
||||
"create:waxed_oxidized_copper_shingle_stairs",
|
||||
"create:copper_tile_stairs",
|
||||
"create:exposed_copper_tile_stairs",
|
||||
"create:weathered_copper_tile_stairs",
|
||||
"create:oxidized_copper_tile_stairs",
|
||||
"create:waxed_copper_tile_stairs",
|
||||
"create:waxed_exposed_copper_tile_stairs",
|
||||
"create:waxed_weathered_copper_tile_stairs",
|
||||
"create:waxed_oxidized_copper_tile_stairs",
|
||||
"create:cut_granite_stairs",
|
||||
"create:polished_cut_granite_stairs",
|
||||
"create:cut_granite_brick_stairs",
|
||||
|
|
|
@ -7,6 +7,8 @@ import java.util.Map;
|
|||
import java.util.Objects;
|
||||
import java.util.function.Supplier;
|
||||
|
||||
import net.minecraft.tags.ItemTags;
|
||||
|
||||
import org.apache.commons.lang3.ArrayUtils;
|
||||
|
||||
import com.simibubi.create.foundation.data.TagGen;
|
||||
|
@ -132,7 +134,13 @@ public class CopperBlockSet {
|
|||
.simpleItem();
|
||||
|
||||
if (variant == BlockVariant.INSTANCE && state == WeatherState.UNAFFECTED)
|
||||
builder.recipe((c, p) -> mainBlockRecipe.accept(c, p));
|
||||
builder.recipe(mainBlockRecipe::accept);
|
||||
|
||||
if (variant == StairVariant.INSTANCE)
|
||||
builder.tag(BlockTags.STAIRS);
|
||||
|
||||
if (variant == SlabVariant.INSTANCE)
|
||||
builder.tag(BlockTags.SLABS);
|
||||
|
||||
if (waxed) {
|
||||
builder.recipe((ctx, prov) -> {
|
||||
|
|
Loading…
Reference in a new issue