@@ -56,7 +56,7 @@ public class CircleExecutionState {
5656 public @ Nullable UUID caster ;
5757 public @ Nullable FrozenPigment casterPigment ;
5858 // This controls the speed of the current slate
59- public Long reachedSlate ;
59+ public long reachedSlate ;
6060
6161 // Tracks the highest pos, and lowest pos of the AABB
6262 public BlockPos positivePos ;
@@ -116,7 +116,6 @@ protected CircleExecutionState(BlockPos impetusPos, Direction impetusDir,
116116 BlockPos firstBlock = null ;
117117 HashMap <ChunkPos , ChunkAccess > chunkMap = new HashMap <>();
118118 while (!todo .isEmpty ()) {
119-
120119 var pair = todo .pop ();
121120 var enterDir = pair .getFirst ();
122121 var herePos = pair .getSecond ();
@@ -294,7 +293,7 @@ public boolean tick(BlockEntityAbstractImpetus impetus) {
294293
295294 executorBlockState = executor .startEnergized (this .currentPos , executorBlockState , world );
296295 this .reachedPositions .add (this .currentPos );
297- this .reachedSlate = this . reachedSlate + 1 ;
296+ this .reachedSlate += 1 ;
298297
299298 // Do the execution!
300299 boolean halt = false ;
@@ -321,7 +320,7 @@ public boolean tick(BlockEntityAbstractImpetus impetus) {
321320 Component .literal (this .currentPos .toShortString ()).withStyle (ChatFormatting .RED )),
322321 new ItemStack (Items .COMPASS ));
323322 ICircleComponent .sfx (this .currentPos , executorBlockState , world ,
324- Objects .requireNonNull (env .getImpetus ()), false );
323+ Objects .requireNonNull (env .getImpetus ()), false );
325324 halt = true ;
326325 break ;
327326 } else {
@@ -353,7 +352,7 @@ public boolean tick(BlockEntityAbstractImpetus impetus) {
353352 * How many ticks should pass between activations, given the number of blocks encountered so far.
354353 */
355354 protected int getTickSpeed () {
356- return Math . toIntExact ( Math .max (2 , 10 - (this .reachedSlate - 1 ) / 3 ) );
355+ return ( int ) Math .max (2 , 10 - (this .reachedSlate - 1 ) / 3 );
357356 }
358357
359358 public void endExecution (BlockEntityAbstractImpetus impetus ) {
0 commit comments