Comments (4)
Not sure if this applies to you but Ill state it anyways
When you save a train make sure the train is moving forwards so the orientation is correct. You can specify --lockorientation to preserve that orientation in all future saves, regardless of what direction the train is moving.
That said, individual carts should not flip, so that sounds like a bug. Would be helpful if you could write the exact steps of reproducing it so I can see in my end. Maybe this is something specifically caused by /cart flip
Your last example with /cart flip followed by /train flip Ill try out, and does make it seem like the /cart flip command corrupts orientation state somehow.
from traincarts.
Sure, hopefully this removes any ambiguity:
- create a straight bit of normal minecart track (i had it in a north/south direction)
- place two minecarts, next to one another (while stood on track, so they're the same orientation). They appear to become a train.
- use the attachment editor to change the cart entity to something asymmetrical, i changed one cart to a mule, and the other to a mushroom (since they're nearby on the list of entities).
- the animals should be pointing the same direction (if not, i suppose try again from a different angle so that they are). point at the animal behind the other, and
/train edit
the cart, then/cart flip
to turn it so they both face outwards, away from one another /train chest
, and right click on the train (it disappears)- right click on the track, it reappears, looking the same
- right click on the train, it disappears
- right click on the track, it reappears with the animals facing the same direction as one another
The second example was similar, follow steps 1-4, then:
5) /train flip
, the whole train flips around, animals still facing away from one another
6) /train chest
, and right click on the train (it disappears)
7) right click on the track, it reappears, but with both animals facing the opposite direction, towards one another, either the carts have swapped place or both have flipped.
8) if you right click again on train, it disappears, and right clicking a second time the animals reappear facing the same direction as one another
I first noticed this when testing /train chest
with my saved trains which make use of carts which are flipped (I think originally by just joining carts together which are spawned the right ways (i.e. not explicitly with /cart flip
), but where the overall direction doesn't matter since the overall train is symmetrical
from traincarts.
I think I found the main cause behind this, which was that the initial direction face wasnt set right when a train was spawned. This would normally correct itself once the train was set in motion, but if you spawn it and right away save it, it caused carts to be flipped like you described. After the fix that particular bug didnt happen again.
https://ci.mg-dev.eu/job/TrainCarts/1454/
from traincarts.
Perfect. Thanks!
from traincarts.
Related Issues (20)
- When typing `/train speedlimit` without any additional arguments, get the current speed of the train back. HOT 6
- [Request] Option to exempt Weighted Pressure Plates (or pressure plates in general) from pressure plate logic HOT 6
- Signs not working in 1.19.4 HOT 2
- All players will be kicked by server when trying editing a SignLink sign HOT 9
- Add stopwatch placeholder
- Spinning wheel animations go wild at speed HOT 8
- Locked, Finite Train Chests Should Be Removed from the Player’s Inventory HOT 3
- Combined trains break apart after server restarting HOT 42
- Interesting deadmessage HOT 4
- After waiting at waiter sign, trains aren't launched to full speed again HOT 28
- Announce next destination HOT 1
- Folia Support HOT 3
- Failed to perform physics HOT 16
- multiple trains in/waiting at spmutex enter region after server restart HOT 38
- Switcher sign fault not switching rail to the left HOT 1
- Update the demo
- Cannot place MineCarts outside vanilla worldheight HOT 21
- Configuration Option for Permanent Chunk Loading to Reduce I/O Pressure in Train Carts HOT 4
- Powered Rail Bug HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from traincarts.