keys and tickets #TrainsInMotion #Traincraft (1.7.10 rewrite)

- Moved the bounding box functionality, positioning, and owner set to the transport's main class to save space and better organize things.
- Key item now saves its data to NBT.
- Transport keys are now generated and saved to NBT.
- Transports now create and maintain an instance of the key.
- Cleaned up some debugging code.
- Added tickets, mostly.

The key and ticket still aren't taken into consideration by the hitbox. And the ticket still isn't fully implemented into the inventory, but the important and difficult stuff is done.
The client sync of keys might also pose some issues.
Come to think of it I still need to add a slot generation for passengers in the inventory...

I'll try and have all this, and at least some of the freight car stuff handled tomorrow.

I should also probably look into some sort of ticket printer tile entity, although that will probably get a bit difficult because there will have to be a string entry box. If I'm lucky maybe I can just steal some stuff from my android launcher's code for that...

Comments