File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
src/main/kotlin/com/lambda/interaction/construction/simulation/result Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ import com.lambda.interaction.managers.hotbar.HotbarManager
2525import com.lambda.interaction.managers.rotating.RotationManager
2626import com.lambda.threading.runSafe
2727import com.lambda.util.BlockUtils
28+ import net.minecraft.block.Blocks
2829
2930/* *
3031 * Represents a result holding a [BuildContext].
@@ -43,6 +44,8 @@ interface Contextual : ComparableResult<Rank> {
4344 }.thenByDescending {
4445 if (it is InteractContext ) it.cachedState.fluidState.level
4546 else Int .MIN_VALUE
47+ }.thenByDescending {
48+ it.cachedState.block != Blocks .OBSERVER
4649 }.thenByDescending {
4750 context.sorter == ActionConfig .SortMode .Tool && it.hotbarIndex == HotbarManager .serverSlot
4851 }.thenBy {
You can’t perform that action at this time.
0 commit comments