1.16.2
This commit is contained in:
1 parent
deea3b7ec4
commit
1c5340232b
4 files changed
+16
-15
No files matched your search
@@ -3,13 +3,13 @@ package carpet.mixins;
|
||||
import carpet.CarpetSettings;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
import com.mojang.serialization.Codec;
|
||||
import net.minecraft.class_5434;
|
||||
import com.mojang.serialization.Codec;;
|
||||
import net.minecraft.entity.EntityType;
|
||||
import net.minecraft.world.biome.Biome;
|
||||
import net.minecraft.world.biome.SpawnSettings;
|
||||
import net.minecraft.world.gen.feature.BastionRemnantFeature;
|
||||
|
||||
import net.minecraft.world.gen.feature.JigsawFeature;
|
||||
import net.minecraft.world.gen.feature.StructurePoolFeatureConfig;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
|
||||
@@ -17,7 +17,7 @@ import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
@Mixin(BastionRemnantFeature.class)
|
||||
public abstract class BastionRemnantFeatureMixin extends class_5434
|
||||
public abstract class BastionRemnantFeatureMixin extends JigsawFeature
|
||||
{
|
||||
private static final List<SpawnSettings.SpawnEntry> spawnList = Lists.newArrayList(
|
||||
new SpawnSettings.SpawnEntry(EntityType.PIGLIN_BRUTE, 5, 1, 2),
|
||||
|
||||
@@ -125,9 +125,9 @@ public abstract class World_movableTEMixin implements WorldInterface, WorldAcces
|
||||
if ((int_1 & 16) == 0)
|
||||
{
|
||||
int int_2 = int_1 & -34;
|
||||
blockState_2.method_30102(this, blockPos_1, int_2); // prepare
|
||||
blockState_1.method_30101(this, blockPos_1, int_2); // updateNeighbours
|
||||
blockState_1.method_30102(this, blockPos_1, int_2); // prepare
|
||||
blockState_2.prepare(this, blockPos_1, int_2); // prepare
|
||||
blockState_1.updateNeighbors(this, blockPos_1, int_2); // updateNeighbours
|
||||
blockState_1.prepare(this, blockPos_1, int_2); // prepare
|
||||
}
|
||||
this.onBlockChanged(blockPos_1, blockState_2, blockState_3);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user