Moved Featrues and Included Sculk in TagLists
This commit is contained in:
parent
261099babd
commit
223d35febe
15 changed files with 22 additions and 20 deletions
|
@ -23,6 +23,7 @@ import net.minecraft.world.level.levelgen.placement.PlacementModifier;
|
|||
|
||||
import org.betterx.bclib.BCLib;
|
||||
import org.betterx.bclib.api.v2.levelgen.features.config.*;
|
||||
import org.betterx.bclib.api.v2.levelgen.features.features.*;
|
||||
|
||||
import java.util.Map.Entry;
|
||||
import java.util.Optional;
|
||||
|
|
|
@ -16,6 +16,7 @@ import net.minecraft.world.level.levelgen.feature.stateproviders.RandomizedIntSt
|
|||
|
||||
import org.betterx.bclib.api.v2.levelgen.features.config.PlaceFacingBlockConfig;
|
||||
import org.betterx.bclib.api.v2.levelgen.features.config.ScatterFeatureConfig;
|
||||
import org.betterx.bclib.api.v2.levelgen.features.features.ScatterFeature;
|
||||
|
||||
public class FastFeatures {
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.betterx.bclib.api.v2.levelgen.features;
|
||||
package org.betterx.bclib.api.v2.levelgen.features.features;
|
||||
|
||||
import net.minecraft.core.BlockPos;
|
||||
import net.minecraft.core.Holder;
|
|
@ -1,4 +1,4 @@
|
|||
package org.betterx.bclib.api.v2.levelgen.features;
|
||||
package org.betterx.bclib.api.v2.levelgen.features.features;
|
||||
|
||||
import net.minecraft.core.BlockPos;
|
||||
import net.minecraft.world.level.WorldGenLevel;
|
||||
|
@ -10,6 +10,7 @@ import net.minecraft.world.level.levelgen.feature.configurations.NoneFeatureConf
|
|||
|
||||
import org.betterx.bclib.util.BlocksHelper;
|
||||
|
||||
@Deprecated(forRemoval = true)
|
||||
public abstract class DefaultFeature extends Feature<NoneFeatureConfiguration> {
|
||||
protected static final BlockState AIR = Blocks.AIR.defaultBlockState();
|
||||
protected static final BlockState WATER = Blocks.WATER.defaultBlockState();
|
|
@ -1,4 +1,4 @@
|
|||
package org.betterx.bclib.api.v2.levelgen.features;
|
||||
package org.betterx.bclib.api.v2.levelgen.features.features;
|
||||
|
||||
import net.minecraft.core.BlockPos;
|
||||
import net.minecraft.world.level.levelgen.feature.Feature;
|
|
@ -1,4 +1,4 @@
|
|||
package org.betterx.bclib.api.v2.levelgen.features;
|
||||
package org.betterx.bclib.api.v2.levelgen.features.features;
|
||||
|
||||
import net.minecraft.world.level.levelgen.feature.Feature;
|
||||
import net.minecraft.world.level.levelgen.feature.FeaturePlaceContext;
|
|
@ -1,4 +1,4 @@
|
|||
package org.betterx.bclib.api.v2.levelgen.features;
|
||||
package org.betterx.bclib.api.v2.levelgen.features.features;
|
||||
|
||||
import net.minecraft.core.BlockPos;
|
||||
import net.minecraft.core.Direction;
|
||||
|
@ -11,6 +11,7 @@ import net.minecraft.world.level.levelgen.feature.Feature;
|
|||
import net.minecraft.world.level.levelgen.feature.FeaturePlaceContext;
|
||||
|
||||
import com.mojang.serialization.Codec;
|
||||
import org.betterx.bclib.api.v2.levelgen.features.UserGrowableFeature;
|
||||
import org.betterx.bclib.api.v2.levelgen.features.config.ScatterFeatureConfig;
|
||||
import org.betterx.bclib.util.BlocksHelper;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package org.betterx.bclib.api.v2.levelgen.features;
|
||||
package org.betterx.bclib.api.v2.levelgen.features.features;
|
||||
|
||||
import net.minecraft.world.level.levelgen.feature.Feature;
|
||||
import net.minecraft.world.level.levelgen.feature.FeaturePlaceContext;
|
|
@ -1,4 +1,4 @@
|
|||
package org.betterx.bclib.api.v2.levelgen.features;
|
||||
package org.betterx.bclib.api.v2.levelgen.features.features;
|
||||
|
||||
import net.minecraft.core.BlockPos;
|
||||
import net.minecraft.world.level.block.state.BlockState;
|
|
@ -1,4 +1,4 @@
|
|||
package org.betterx.bclib.api.v2.levelgen.features;
|
||||
package org.betterx.bclib.api.v2.levelgen.features.features;
|
||||
|
||||
import net.minecraft.resources.ResourceLocation;
|
||||
import net.minecraft.util.RandomSource;
|
||||
|
@ -7,6 +7,8 @@ import net.minecraft.world.level.levelgen.feature.Feature;
|
|||
import net.minecraft.world.level.levelgen.feature.FeaturePlaceContext;
|
||||
|
||||
import com.mojang.serialization.Codec;
|
||||
import org.betterx.bclib.api.v2.levelgen.features.BCLFeature;
|
||||
import org.betterx.bclib.api.v2.levelgen.features.BCLFeatureBuilder;
|
||||
import org.betterx.bclib.api.v2.levelgen.features.config.TemplateFeatureConfig;
|
||||
import org.betterx.bclib.api.v2.levelgen.structures.StructureNBT;
|
||||
import org.betterx.bclib.api.v2.levelgen.structures.StructureWorldNBT;
|
|
@ -1,4 +1,4 @@
|
|||
package org.betterx.bclib.api.v2.levelgen.features;
|
||||
package org.betterx.bclib.api.v2.levelgen.features.features;
|
||||
|
||||
import net.minecraft.core.BlockPos;
|
||||
import net.minecraft.util.RandomSource;
|
|
@ -54,7 +54,8 @@ public class CommonBlockTags {
|
|||
Blocks.SAND,
|
||||
Blocks.RED_SAND,
|
||||
Blocks.GLOWSTONE,
|
||||
Blocks.BONE_BLOCK
|
||||
Blocks.BONE_BLOCK,
|
||||
Blocks.SCULK
|
||||
);
|
||||
|
||||
TagAPI.BLOCKS.addOtherTags(TERRAIN,
|
||||
|
|
|
@ -39,7 +39,7 @@ public class NamedBlockTags {
|
|||
public static final TagKey<Block> STONE_BRICKS = BlockTags.STONE_BRICKS;
|
||||
|
||||
static {
|
||||
TagAPI.BLOCKS.add(BlockTags.NETHER_CARVER_REPLACEABLES, Blocks.RED_SAND, Blocks.MAGMA_BLOCK);
|
||||
TagAPI.BLOCKS.add(BlockTags.NETHER_CARVER_REPLACEABLES, Blocks.RED_SAND, Blocks.MAGMA_BLOCK, Blocks.SCULK);
|
||||
TagAPI.BLOCKS.addOtherTags(BlockTags.NETHER_CARVER_REPLACEABLES,
|
||||
CommonBlockTags.NETHER_STONES,
|
||||
CommonBlockTags.NETHERRACK);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue