2e3c906ce0
- Fixed couplings, schematics and in-world overlays not rendering correctly at coordinates far from the origin
17 lines
380 B
Java
17 lines
380 B
Java
package com.simibubi.create.content.schematics.client.tools;
|
|
|
|
import net.minecraft.util.Mth;
|
|
|
|
public class MoveVerticalTool extends PlacementToolBase {
|
|
|
|
@Override
|
|
public boolean handleMouseWheel(double delta) {
|
|
if (schematicHandler.isDeployed()) {
|
|
schematicHandler.getTransformation().move(0, Mth.sign(delta), 0);
|
|
schematicHandler.markDirty();
|
|
}
|
|
return true;
|
|
}
|
|
|
|
}
|