mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-10 12:33:57 +01:00
Subcontraptions for some people #6119
This commit is contained in:
parent
57a7b66553
commit
fc21d3abf6
@ -4,6 +4,8 @@ import java.util.Collections;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import com.simibubi.create.infrastructure.config.AllConfigs;
|
||||
|
||||
import net.minecraft.core.BlockPos;
|
||||
import net.minecraft.core.Direction;
|
||||
import net.minecraft.world.level.Level;
|
||||
@ -51,7 +53,7 @@ public abstract class TranslatingContraption extends Contraption {
|
||||
|
||||
@Override
|
||||
public boolean canBeStabilized(Direction facing, BlockPos localPos) {
|
||||
return false;
|
||||
return AllConfigs.server().kinetics.stabiliseStableContraptions.get();
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -48,6 +48,7 @@ public class CKinetics extends ConfigBase {
|
||||
public final ConfigBool harvesterReplants = b(true, "harvesterReplants", Comments.harvesterReplants);
|
||||
public final ConfigBool minecartContraptionInContainers =
|
||||
b(false, "minecartContraptionInContainers", Comments.minecartContraptionInContainers);
|
||||
public final ConfigBool stabiliseStableContraptions = b(false, "stabiliseStableContraptions", Comments.stabiliseStableContraptions, "[Technical]");
|
||||
|
||||
public final ConfigGroup stats = group(1, "stats", Comments.stats);
|
||||
public final ConfigFloat mediumSpeed = f(30, 0, 4096, "mediumSpeed", Comments.rpm, Comments.mediumSpeed);
|
||||
@ -116,6 +117,7 @@ public class CKinetics extends ConfigBase {
|
||||
static String amethystMovement = "Configure how Budding Amethyst can be moved by contraptions.";
|
||||
static String obsidianMovement = "Configure how Obsidian blocks can be moved by contraptions.";
|
||||
static String minecartContraptionInContainers = "Whether minecart contraptions can be placed into container items.";
|
||||
static String stabiliseStableContraptions = "Whether stabilised bearings create a separated entity even on non-rotating contraptions.";
|
||||
}
|
||||
|
||||
public enum DeployerAggroSetting {
|
||||
|
Loading…
Reference in New Issue
Block a user