20w28a. Rewritten scarpet structure and plop API. Removed portalSuffocationFix, as its fixed.
This commit is contained in:
1 parent
bba9f4e88d
commit
a0e0dc0f88
16 files changed
+207
-303
No files matched your search
@@ -4,28 +4,29 @@ import carpet.CarpetSettings;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
import com.mojang.serialization.Codec;
|
||||
import net.minecraft.class_5434;
|
||||
import net.minecraft.entity.EntityType;
|
||||
import net.minecraft.world.biome.Biome;
|
||||
import net.minecraft.world.gen.feature.BastionRemnantFeature;
|
||||
import net.minecraft.world.gen.feature.BastionRemnantFeatureConfig;
|
||||
import net.minecraft.world.gen.feature.StructureFeature;
|
||||
|
||||
import net.minecraft.world.gen.feature.StructurePoolFeatureConfig;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
@Mixin(BastionRemnantFeature.class)
|
||||
public abstract class BastionRemnantFeatureMixin extends StructureFeature<BastionRemnantFeatureConfig> {
|
||||
|
||||
public abstract class BastionRemnantFeatureMixin extends class_5434
|
||||
{
|
||||
private static final List<Biome.SpawnEntry> spawnList = Lists.newArrayList(
|
||||
new Biome.SpawnEntry(EntityType.PIGLIN_BRUTE, 5, 1, 2),
|
||||
new Biome.SpawnEntry(EntityType.PIGLIN, 10, 2, 4),
|
||||
new Biome.SpawnEntry(EntityType.HOGLIN, 2, 1, 2)
|
||||
);
|
||||
|
||||
public BastionRemnantFeatureMixin(Codec<BastionRemnantFeatureConfig> codec) {
|
||||
super(codec);
|
||||
public BastionRemnantFeatureMixin(Codec<StructurePoolFeatureConfig> codec, int i, boolean bl, boolean bl2)
|
||||
{
|
||||
super(codec, i, bl, bl2);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user