File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/main/java/com/simibubi/create/content/kinetics/crank Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 16
16
import com .simibubi .create .foundation .blockEntity .behaviour .scrollValue .ScrollValueBehaviour ;
17
17
import com .simibubi .create .foundation .utility .CreateLang ;
18
18
19
+ import net .createmod .catnip .math .AngleHelper ;
19
20
import net .createmod .catnip .math .VecHelper ;
20
21
import net .createmod .catnip .render .CachedBuffers ;
21
22
import net .createmod .catnip .render .SuperByteBuffer ;
@@ -91,8 +92,8 @@ public void tick() {
91
92
@ Override
92
93
public float getIndependentAngle (float partialTicks ) {
93
94
if (inUse == 0 && source != null && getSpeed () != 0 )
94
- return KineticBlockEntityRenderer .getAngleForBe (this , worldPosition ,
95
- KineticBlockEntityRenderer .getRotationAxisOf (this ));
95
+ return AngleHelper . deg ( KineticBlockEntityRenderer .getAngleForBe (this , worldPosition ,
96
+ KineticBlockEntityRenderer .getRotationAxisOf (this ))) ;
96
97
97
98
int step = getBlockState ().getOptionalValue (ValveHandleBlock .FACING )
98
99
.orElse (Direction .SOUTH )
You can’t perform that action at this time.
0 commit comments