You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix issue where rotating the ship sometimes causes blocks to rotate in odd ways (#315)
* add kotlin for forge to build.gradle so forge can build
* use ship rotation instead of buggy `aligningTo`
* update shipAssembler to take a rotation
and make snapRotation public
* move logic into ShipAssembler
* remove buggy aligningTo, demote alignTarget to a local
* fix float comparisons
* Removed unnecessary imports (millennIumAMbiguity)
---------
Co-authored-by: millennIumAMbiguity <37588844+millennIumAMbiguity@users.noreply.github.com>
player.displayClientMessage(Component.translatable("Ship is too big! Max size is ${EurekaConfig.SERVER.maxShipBlocks} blocks (changable in the config)"), true)
128
+
player.displayClientMessage(Component.translatable("Ship is too big! Max size is ${EurekaConfig.SERVER.maxShipBlocks} blocks (changeable in the config)"), true)
130
129
logger.warn("Failed to assemble ship for ${player.name.string}")
131
130
}
132
131
}
@@ -148,7 +147,6 @@ class ShipHelmBlockEntity(pos: BlockPos, state: BlockState) :
0 commit comments