You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
privateval range by setting("Range", 5, 1..7, 1, description ="The range around the player to check for blocks to print")
40
51
privateval air by setting("Air", false, description ="Consider breaking blocks in the world that are air in the schematic.\nNote: Breaking can also be disabled in the Automation Config.")
52
+
privateval flattenMode by setting("Flatten Mode", FlattenMode.Standard, description ="Configures what blocks to break relative to the player's Y level")
53
+
privateval flattenModeApply by setting("Flatten Apply Mode", FlattenModeApply.BreakOnly, description ="Configures whether the flatten mode applies to breaking, placing, or both") { flattenMode !=FlattenMode.None }
54
+
privateval baritoneSelection by setting("Baritone Selection", false, "Restricts block breaking and placing to your baritone selection")
55
+
privateval inverseSelection by setting("Inverse Selection", false, "Break and place blocks outside of the baritone selection and ignores blocks inside") { baritoneSelection }
56
+
privateval sneakLowersFlatten by setting("Sneak Lowers Flatten", false, "When enabled, sneaking will lower the flattening level by 1, allowing you to mine the block below you")
41
57
42
58
privatevar buildTask:Task<*>?=null
43
59
@@ -50,29 +66,46 @@ object Printer : Module(
50
66
disable()
51
67
return@onEnable
52
68
}
53
-
buildTask =TickingBlueprint {
54
-
val schematicWorld =SchematicWorldHandler.getSchematicWorld() ?:return@TickingBlueprint emptyMap()
69
+
buildTask =tickingBlueprint {
70
+
val schematicWorld =SchematicWorldHandler.getSchematicWorld() ?:return@tickingBlueprint emptyMap()
0 commit comments