File tree Expand file tree Collapse file tree
src/main/java/rbasamoyai/createbigcannons Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ Changed:
1010
1111Fixed:
1212- Fixed NO_DAMAGE munition damage setting not applying to shrapnel (including flak and grapeshot)
13+ - Fixed Create Pulleys and Gantries pushing more blocks than in vanilla Create
1314
1415## [ 5.11.2] - 2026-02-27
1516
Original file line number Diff line number Diff line change 66
77import javax .annotation .Nullable ;
88
9- import com .simibubi .create .AllContraptionTypes ;
10-
119import org .apache .commons .lang3 .tuple .Pair ;
1210import org .spongepowered .asm .mixin .Mixin ;
1311import org .spongepowered .asm .mixin .Shadow ;
2220import com .llamalad7 .mixinextras .sugar .Share ;
2321import com .llamalad7 .mixinextras .sugar .ref .LocalBooleanRef ;
2422import com .llamalad7 .mixinextras .sugar .ref .LocalRef ;
25- import com .simibubi .create .api . contraption . ContraptionType ;
23+ import com .simibubi .create .AllContraptionTypes ;
2624import com .simibubi .create .content .contraptions .AssemblyException ;
2725import com .simibubi .create .content .contraptions .Contraption ;
2826import com .simibubi .create .content .contraptions .StructureTransform ;
Original file line number Diff line number Diff line change 1414import org .spongepowered .asm .mixin .injection .callback .CallbackInfoReturnable ;
1515
1616import com .simibubi .create .AllBlocks ;
17- import com .simibubi .create .content .contraptions .AssemblyException ;
1817import com .simibubi .create .api .contraption .BlockMovementChecks ;
18+ import com .simibubi .create .content .contraptions .AssemblyException ;
1919import com .simibubi .create .content .contraptions .Contraption ;
2020import com .simibubi .create .content .contraptions .chassis .ChassisBlockEntity ;
2121import com .simibubi .create .content .contraptions .gantry .GantryContraption ;
@@ -370,9 +370,10 @@ public static <T extends Contraption & CanLoadBigCannon> boolean getStickFlag(T
370370 && level .getBlockEntity (offsetPos ) instanceof IBigCannonBlockEntity cbe ) {
371371 pushState = cbe .cannonBehavior ().block ().state ();
372372 }
373- boolean push = offset == forcedDirection && !BlockMovementChecks .isNotSupportive (state , forcedDirection );
373+ boolean pushingMunition = IBigCannonBlockEntity .isValidMunitionState (forcedAxis , pushState );
374+ boolean push = offset == forcedDirection && !BlockMovementChecks .isNotSupportive (state , forcedDirection ) && pushingMunition ;
374375 if ((contraption instanceof GantryContraption || contraption instanceof PulleyContraption && !push )
375- && !IBigCannonBlockEntity . isValidMunitionState ( forcedAxis , pushState ) ) {
376+ && !pushingMunition ) {
376377 return false ;
377378 }
378379 if (push
You can’t perform that action at this time.
0 commit comments