Commit graph

2763 commits

Author SHA1 Message Date
simibubi
3848221712 Getting signals across
- Fixed signaling edge groups not being cleared when a signal migrates graphs
- Graphs without any signals now create a fallback group
- Fixed removed signals not clearing signal groups of previously affected edges
- Signaling sections now use a fixed set of colours
- Colours of signaling sections now try to be distinct from neighbouring sections
- Colours of signal sections now get synched to the client
- Edges now keep track of any intersections with bezier turns that cannot be part of the underlying graph structure
- Signaling sections now consider all other intersecting sections when checking whether they are occupied
- Holding a signal block now highlights nearby tracks with their respective section colour
- Graphs now keep track of a boundary box
- Track edges now carry back-references to their nodes
- Graph debugger moved from keypress to f3
2022-04-25 17:53:45 +02:00
simibubi
423bb407f7 Big Bend
- Holding ctrl while placing track curves causes it to choose the biggest possible radius
2022-04-16 20:30:11 +02:00
simibubi
5c9f2c66ab Area of correct
- Track placement now highlights valid and invalid positions near the cursor while connecting
2022-04-15 13:53:11 +02:00
simibubi
502f2068cb Signal distancing
- Signals and Stations can no longer share a location on a track
- Multiple stations can no longer share a location on a track
- Signals and Stations now render their overlay during the track selection process
2022-04-15 00:12:40 +02:00
simibubi
3e744db3dd Under Construction
- Train Navigation can no longer approach or pass through stations currently in assembly mode
- Station screen now displays whether trains can be (dis-)assembled
2022-04-14 16:02:56 +02:00
simibubi
b970c0029f Turn to target
- Bezier turn segments between tracks can now be hovered as if they were blocks
- Bezier turns can now be destroyed by breaking any of their segments
- Signals and Stations can now be pointed to anywhere on a track, not only to physical blocks
- Added a basic collision shape for straight tracks
2022-04-14 02:23:55 +02:00
simibubi
99a6836a1d In good Shape
- Improved selection boundaries of Track blocks
2022-04-13 03:06:35 +02:00
simibubi
517fad7a62 Destination display hotfix 2022-04-12 04:02:10 +02:00
simibubi
0c6a23db83 Train route Titles
- Schedules now display stops in their tooltip
- Schedules can now be given a name through one of their instructions
- Fixed Display boards rendering cogs on the wrong axis
2022-04-11 16:25:38 +02:00
simibubi
f2850183f5 Bogeyfied
- Updated assets of train-related components
2022-04-09 19:49:00 +02:00
Jozufozu
46ec1dd697 Looking things over
- Minor code cleanup
 - Bump flywheel build
2022-04-08 17:34:17 -07:00
simibubi
b66a722826 Stutter as one
- Carriage entities of a train now ensure their packets are sent during the same tick
- Fixed misaligned pitch of instanced bogeys on slopes
2022-04-08 22:48:15 +02:00
simibubi
4638148560 Gathererenderer
- Data gatherers now briefly light up when sending information
- Stations now render a Schedule item when an Auto-Schedule is present
2022-04-08 17:16:27 +02:00
simibubi
a883551473 Updates from the dev branch 2022-04-08 02:22:14 +02:00
simibubi
723e989ac5 Merge branch 'mc1.18/dev' into mc1.18/global-railways 2022-04-08 02:10:53 +02:00
simibubi
bb0f15269f Merge branch 'mc1.18/global-railways' of https://github.com/Creators-of-Create/Create-Concealed into mc1.18/global-railways 2022-04-08 01:41:23 +02:00
simibubi
0f994ecad2 Super cool entities and fun, Part II
- Cats and Wolves will now sit down properly on seats
- Adjusted some vertical offsets for seated passengers
- Driver entities will now wear a hat when their train is given a schedule
2022-04-08 01:41:20 +02:00
Jozufozu
d7b63fd6f2 Spinning up the wheel
- Bump flywheel build - 0.6.2.65
2022-04-07 14:28:13 -07:00
Jozufozu
9c8439fe08 Better bogey brightness
- Deduplicate bogey translation code
2022-04-07 13:24:55 -07:00
Jozufozu
9ca26d674c Contraptions were too lit
- Fix bug causing potentially moving contraptions to re-upload their light every tick
 - Reduces tick stutter with large amounts of contraptions
2022-04-07 13:24:55 -07:00
Jozufozu
eb74505ce8 Instanced bogeys 2022-04-07 13:24:55 -07:00
simibubi
dc44c7aa68 Auto-Schedules
- Updated bogey assets
- Schedules are now consumed and returned when added/removed from Trains
- Added a schedule retrieval option to the Stations' UI
- Schedule items now keep track of their 'progress', which can be modified to skip stations
- Fixed crash when displaying station summary on a tiny display
- Fixed display boards breaking each other when blocks are added after providing rotational force
- Added placement assist for Display Boards
- Stations can now be given a Schedule via funnels/hoppers, which will apply a copy to its train
2022-04-07 18:11:48 +02:00
simibubi
e8ca22fee8 Post-PR Datagen 2022-04-06 18:38:24 +02:00
vyhi
637f734279
Updates to pt_br.json by vyhi (#2907) 2022-04-06 18:35:55 +02:00
andreutu
0198277f76
Added ro_ro.json by andreutu (#2847) 2022-04-06 18:33:08 +02:00
simibubi
4571b347e4 Noisy bugs
- Fixed contraption step sounds acting up again
- Fixed ploughs playing sounds when breaking air blocks
2022-04-06 16:46:04 +02:00
simibubi
39b51821aa Big Data
- Added the Display Board
- Added the Data Gatherer
- Nixie Tubes no longer animate text from "dynamic" vanilla text components
- Trains now keep travel time statistics for prediction purposes
- Created "Data-target" behaviour for Signs, Display Boards, Lecterns and Nixie Tubes
- Created "Data-source" behaviour for Train Stations, Clocks, Nixie Tubes, Content Observers, Stockpile Switches, Respawn Anchors, Depots, Belts, Belt Tunnels and Command Blocks
2022-04-05 19:04:04 +02:00
PepperCode1
3c87044dc5 Super empty fluid
- Fix NPE with hose pulley
- Update Forge and Registrate
2022-03-30 17:44:16 -07:00
PepperCode1
c1ba7683a7 Miscellaneous fixes and improvements
- Fix ColorAttribute not showing color name
- Refactor some code related to SpeedLevel
- Improve goggles predicate API
- Make ToolboxInventory use Item#canFitInsideContainerItems
- Prevent toolbox items from being placed inside of shulker boxes
- Fix shadow steel always converting below y=0 instead of the min build
height
2022-03-29 21:49:23 -07:00
simibubi
9d8803d280 Super cool entities and fun
- Conductor entities now rotate to face their carts' motion
- Fixed Contraption passengers not visible to clients whenever the seat position offsets them out of ticking chunks just after loading in
2022-03-25 22:40:31 +01:00
PepperCode1
bf1b6382ee Fiery containers
- Fix #2812
2022-03-23 18:15:59 -07:00
simibubi
273a276fda Version bump 2022-03-23 20:02:36 +01:00
simibubi
92e48c3307 Merge 1.18.2 2022-03-23 19:46:49 +01:00
simibubi
9db9c3f710 Merge branch 'mc1.18/dev' into mc1.18/global-railways 2022-03-23 19:45:40 +01:00
simibubi
a31d713958 Sibling in hiding
- Removed copper backtanks' helper item from creative tab, fixed its model loading issues
2022-03-23 18:02:03 +01:00
PepperCode1
b32c83e74d Tagging along
- Fix glowing shader for 1.18.2
- Optimize and compress tag code
- Convert MovementBehaviour to interface
- Remove manual refmap remapping as it is no longer necessary
- Update Gradle
2022-03-23 01:48:53 -07:00
simibubi
1525cbb14b Too Intrusive
- Fixed unregistered holders in the item registry
2022-03-22 19:11:08 +01:00
simibubi
2fa65727d5 Holder Holdups
- Finished work on compilation errors
2022-03-22 00:29:46 +01:00
simibubi
727b0a463e Damage Control
- Updated dependencies to 1.18.2
- Started work on compilation errors
2022-03-21 02:38:03 +01:00
simibubi
a8c368f426 Patch F
- Fixed Create's JEI plugin not reloading recipes properly
- Reverted an AT that seems to cause issues with compiling in IDEs
- Fixed Contraption disassembly causing inventory contents to be rolled back
- Fixed Crushing Wheels not working correctly
- Items idling on top of Crushing Wheels are no longer prevented from being picked up by players
- Fixed automated compatibility picking up custom recipes from the mod "occultism"
2022-03-21 00:29:45 +01:00
simibubi
15f4e5ba8d Ding ding
- Haunted and Peculiar bells now accept redstone power
- Train Stations now emit a comparator signal whenever a Train is present
2022-03-18 01:41:16 +01:00
simibubi
6dd3231b6d Traffic Frights
- Fixed Trains ignoring their signal when nearby graph nodes are changed
- Fixed Trains not being notified of new signal blocks if they share an edge with the added/removed signal
- Fixed Navigation reserving chained signal blocks before verifying that it can be fully traversed
- Fixed Track placement requiring much shallower slopes for diagonal tracks
- Fixed long range navigation choosing detours near the beginning
- Temporarily patched and highlighted a problem with track traversal and long distances
2022-03-17 23:14:53 +01:00
simibubi
a9a37b313c Train crash, game crash
- Added a new signal mode for easier junction & platform management
- Fixed crash during trains' tick after a collision
- Fixed Trains trying to avoid their own carriages in navigation
- Fixed Trains trying to avoid their own station in navigation
- Fixed Trains triggering signals behind their targeted station
- Fixed Trains reversing mid-travel when path cost behind them is lower
- Wait time at signals now affects the tick order of Trains
- Trains no longer change destination when they are close to arriving at their initial choice
- Fixed crashed trains no longer keeping signal blocks occupied
- Fixed crash when a trains' path update is unable to find the original destination
- Improved precision of trains arriving at signals/stations
2022-03-17 15:41:09 +01:00
simibubi
939b276c56 Patch the Patch
- Bugfixes to recently added/changed functionality
2022-03-12 22:27:33 +01:00
simibubi
0b17aab01e Patch E Prep 2022-03-12 20:31:12 +01:00
PepperCode1
2211632f5c Just enough brewing
- Optimize CreateJEI recipe list construction
- Optimize PotionMixingRecipes
- Add basic modded brewing recipe compatibility
- Fix dyed sails not being placed when printing schematics
- Fix sideways belts not being placed correctly when printing schematics
- Fix MechanicalCraftingCategory not applying the model matrix
- Add Upgrade Aquatic compatible fertilizer recipes; Resolve #658
- Replace almost all reflection with access transformers or accessor
mixins
- Remove duplicate sails tag
- Improve metal compatibility
- Switch to a linked set in StringSerializableTrigger to prevent
inconsistent generation of aesthetics.json
- Other minor changes
2022-03-12 00:04:05 -08:00
simibubi
71e18eb505 Politeness Intensifies
- Train navigation now tries to pick destinations and directions avoiding other trains and stations on the way
- Trains now slow to a secondary top speed when approaching a turn
- Attempts to fix trains not always showing up when entering a clients tracking distance
- Substantial increase to carriage contraption's client tracking range
- Fixed Carriage Contraptions starting to render before fully aligned to their position/angle
- Fixed trains remaining stuck to far away signals after being controlled manually for a bit
- Fixed crash when placing tracks into a replaceable block
- Fixed a handful of dist issues for dedicated servers
- Fixed controls allowing control even when a train is not fully assembled yet
- Controls now disengage on relog/esc
2022-03-11 23:37:41 +01:00
simibubi
7ba4af1bea Bulk Wrenching
- Tracks can now be removed in bulk using the wrench
- Track placement now automatically picks larger radii when connecting at non-equal y levels
2022-03-10 02:04:44 +01:00
simibubi
9e0f35e4d7 Reincartnated
- Trains now get saved to disk
- Trains now sync raw position data to clients while in the derailed state
- Trains can no longer be relocated into another train
- Train relocation now shows indicators
- Fixed single-bogey carriages not sending enough position context when derailed
2022-03-09 21:33:28 +01:00
simibubi
ed6712fd0b TCP Handbrake
- Manual Train Controls now use network packets
- Carriages now properly re-introduce their passengers when entering ticking chunks
- Fixed approach station prompt no longer appearing
- Fixed players shunted to 0,0 when seated while train assembles
- Fixed relocator not using client-side graph when testing validity
- Fixed entity data not synched properly from dedicated servers
- Fixed controls storing state in behaviour class
- Fixed carriages not serialising conductor seat data correctly
2022-03-09 02:21:20 +01:00