Commit graph

131 commits

Author SHA1 Message Date
PepperCode1
b77388a8e4 Refactor map station marker mixins
- Map update packet now sends station indices instead of guessing that
certain decorations are stations
- Do not use MapDecoration.Type.MANSION for stations to allow map
extending
- Create CustomRenderedMapDecoration
- Change how custom MapDecorations are rendered
- Fix some code in MapItemSavedDataMixin
2022-11-09 15:01:10 -08:00
simibubi
1f06034b47 Order of Interact
- Fixed entity-specific interactions causing schedule interaction to be ignored
- Fixed viewport jittering when pressing movement keys while seated
- Fixed players dismounting trains/minecart contraptions causing them to be placed at incorrect locations
2022-09-23 23:04:49 +02:00
simibubi
4d4a959cfa Mixing up a Storm
- Reduced tps impact of basin recipe lookups noticeable in larger modpacks
- Fixed Brass tunnels distributing back into the side items get inserted from
- Fixed Brass tunnels distributing into sides blocked by an inserting funnel
- Cargo Conditions in schedules now match any cargo if no filter is specified
2022-09-23 18:40:15 +02:00
simibubi
c571493ce4 Early Departures
- Fixed "Station Powered" wait condition not working correctly in non-overworld dimensions
2022-09-22 19:24:24 +02:00
simibubi
ac6369a276 Flat fence
- Added ai deterrents for crossing track blocks
2022-09-21 10:16:48 +02:00
simibubi
bf06e59938 The Eternal Offset
- Fixed Drills not leaving water sources when breaking ice blocks
- Fixed Ploughs not able to break track blocks
- Fixed Harvester replanting crops in invalid locations
- Fixed Train Relocation not always triggering when targeting long bends
- Display boards no longer predict trains behind wait conditions other than "timed delay"
- Fixed scoreboard and deathcount display sources cropping entries before sorting
- /create dumpRailways -> /create trains
- Pipe flows are no longer stopped if the blocking state is considered #fan_transparent (-> fixes 1.19 mangrove root)
- Fixed contraption interaction not firing when it happens far away from the contraptions origin
- Fixed inaccurate contact point motion for collisions with oriented contraptions
2022-09-17 20:52:15 +02:00
simibubi
3e89d9a878 Lag science
- Trains now try to wait for chunks to load in when player passengers are present
- Trains now sync clientside speed with the servers' tps to avoid overcorrection
- Hoppers can now be picked up by the wrench
2022-09-06 15:41:17 +02:00
simibubi
c33fc73f3a Discomportulated
- Potential fix for spout ponder crash with other mods installed
- Fixed train navigation not behaving correctly near portals
2022-08-12 20:50:48 +02:00
PepperCode1
9c8df2ff27 Registries and components
- Abstract all custom registries behind improved CreateRegistry class
- Remove usage of ForgeRegistryEntry.delegate and IRegistryDelegate
where possible
- Replace usage of IForgeRegistryEntry#getRegistryName with
RegisteredObjects#getKeyOrThrow where key is expected to be not null
- Move all component creation to the Components class
- Backport some other miscellaneous changes from 1.19
2022-08-03 10:08:00 -07:00
PepperCode1
c421f98c18 Schematic printing and rendering fixes
- Fix printed funnels not having filters; remove funnel survival NBT
processor
- Fix printed tunnels not having filters
- Fix printed deployers not keeping mode
- Remove boolean argument from IPartialSafeNBT.writeSafe as it was
always false
- Fix filters not rendering in schematic renders
- Fix incorrect lighting on funnels in schematic renders
- Improve rendering of crumbling overlay in ponders
- Further improve CameraMixin
- Use computeIfAbsent in TorquePropagator
- Organize imports
2022-08-02 00:18:11 -07:00
simibubi
1ec63c1511 Patch it while its hot
- Fixed Dedicated server crash when riding a train
- Fixed broken localisation component in super glue editor
- Fixed display links not showing correct icons for dyed nixie tubes
2022-07-12 17:51:25 +02:00
simibubi
9e8b278398 PR datagen 2022-07-11 22:55:09 +02:00
simibubi
e1a4c9ec43 Cull me away
- Move carriage visibility guards out of shouldRender to avoid being denied entity ticks when entityculling is installed
2022-07-11 21:40:53 +02:00
simibubi
3153ad2100 bug you a pardon?
- Arm Interaction point safety checks
- Trains no longer briefly derail when moving through portals
- Players are now less likely to get stuck in the original dimension when traversing train portals
- Trains no longer track coupling stress between carriages that are currently in different dimensions
- Fixed quark closing double doors when opened (+temporary workaround for 1.18)
- Boilers made of creative fluid tanks now provide a max level water supply
- Crafter ponder scene no longer uses an outdated recipe
- Reduced steam release effect of bogeys that haven't travelled far since the last stop
2022-07-11 19:28:25 +02:00
simibubi
c20129ecc2 I bug to differ
- Renamed Throttle schedule instruction to avoid confusion
- Fixed girders not paving straight tracks with the correct orientation
- Fixed steam engines not updating power output when their boiler is removed
- Fixed crash when assembling funnels onto a train
- Fixed crash caused by missing sounds when assembling a train
- Fixed train consuming fuel from every slot simultaneously
- Fixed spouts culling visible faces
- Fixed crash when listing empty inventory contents on something other than a display board
- Tracks can no longer bend when connecting two sloped tracks
- Fixed Schematicannon no longer supporting half of Create's blocks
- Fixed Station UI showing tooltip text of non-visible buttons
- Fixed track placement hint not updating when changing angle but targeting the same position
- Blaze burner contraption safety check
- Fixed Portable fluid interface not able to fill multiple tanks with identical liquids
- Players are no longer considered valid drivers to schedules
2022-07-10 18:22:47 +02:00
PepperCode1
c194f320ba Behavior registration cleanup
- Add global providers to movement and interaction behavior registries
- All blocks tagged #wooden_doors or #wooden_trapdoors will now have the
correct interaction behavior
- Use IRegistryDelegate instead of ResourceLocation
2022-07-08 16:15:19 -07:00
simibubi
a92855254c Close calls
- Display links are no longer unbreakable
- Various Ponder fixups
- Buffed potato cannon projectile speed
- Fixed Station Marker showing as Mansions on clientside maps
- Fixed Train Tracks no longer spawning fake track blocks for mapping
2022-07-08 15:35:25 +02:00
PepperCode1
917c6041ba Fix OBJ materials
- Fix OBJ model materials to use correct Ka and Kd
- Remove unnecessary material properties
- Rename disableDiffuseMult to disableDiffuse
- Fix curved track outlines rendering in spectator mode
2022-07-07 17:57:09 -07:00
PepperCode1
c491dd8f13 Boiler heater API
- Add API for boiler heaters
- Simplify some component creation
2022-07-07 14:15:53 -07:00
simibubi
c36c4e756e Double Trouble
- Fixed an item duplication issue with belts
- Spectators can no longer interact with contraptions
2022-07-07 13:18:03 +02:00
simibubi
7443c95553 Language barrier
- Added LangBuilder to streamline things that make use of chat components
- Started migrating a bunch of text to use lang builders
- Glowing display board text now has a higher alpha
2022-07-05 16:49:55 +02:00
simibubi
58263f9c06 Curse of the D'Arcy Junction
- Fixed trains not acting correctly on specific junction setups in specific chunk locations, causing bogeys to travel down separate paths
- Both tunnel types can now provide both display link features
- Changed the inner fluid tank texture to reduce contrast near the window
- Kinetic Tile Instance safety check
- Added the /c passenger command
2022-07-03 13:56:02 +02:00
simibubi
863e86f8e9 Return of the tadpole blaze
- Fixed ponder progress bar no longer showing up
- Fixed track girders not lighting properly in ponder
- Tweaked blaze burner life cycle
- Display board lines can now be made emissive using glow ink sacs
- Schedules can now modify a trains throttle
- Fixed driver right-click resuming already completed non-cyclic schedules
- Train assembly ponder scene now mentions that trains can be given fuel
2022-07-02 13:55:04 +02:00
simibubi
972e4ff521 Ponder better
- Fixed lang key overlap causing scenes to display with wrong text
- Fixed large ponder bases cutting into the UI foreground layer
- Added train ponder tag to ponder index
2022-07-01 11:25:58 +02:00
simibubi
494a48c538 Pose a Problem
- Fixed Track curves not rendering when optifine is present
- Fixed /c killTrain not removing stale contraption entities from the server
2022-06-30 13:07:22 +02:00
simibubi
1d1cf8e289 Train Admin
- Clean up /dumpRailways
- Trains can now be removed via a command
2022-06-29 21:02:50 +02:00
simibubi
724d3af40e Ponder Ponder Ponder
- Fixed all scenes with broken mechanical arms
- Display Board Scene
- Bogeys now animate
- Controls now show handles, Conductors show hats
- Train Schedule Scene
- Updated ponder tags
- Fixed Scene end timings to work with "Up Next"
- Fixed Glue in Chassis Scene
2022-06-28 00:07:10 +02:00
simibubi
1a4efbaa71 Ponder
- Tracks & Chunk loading
- Train Observer, Filtering
- Train Station, Assembly, Auto-Scheduling
- Placard tooltip
- Added a "Next up:" prompt to make sure people are aware of other scenes
2022-06-26 00:44:00 +02:00
simibubi
d11fd6dc48 Down the Checklist, Part III
- Contraptions no-damage ticks after relocation now get sent to other players
- Fixed signal overlay rendering twice when ctrl is held
- The track system now sends checksums and id lists to prevent de-syncs after incremental changes
- Fixed pig spawner in blaze burner scene
- Fixed trains not processing graph migrations when graph was not present yet
- Fixed previous train name in a station not being serialised
- Fixed z-fighting between bogeys and adjacent blocks
- Added ponder scenes for the Train Track
- Fixed flywheel item model
- Added flywheel tooltip
- Display Board touchups
2022-06-23 03:26:16 +02:00
simibubi
cdadd12b41 Down the Checklist, Part II
- Fake Tracks no longer replace lava or flowing water
- Fixed passengers dismounting from contraptions teleporting into the ceiling for a tick
-  Fixed serverside collision mask not updating when doors open on a contraption
- Signals can now be seen from further away
- Fixed some model loading logspam
- Fixed curved tracks dropping items when destroyed in creative mode
- Fixed curved tracks sometimes reappearing after being broken once
- Fixed Fluid pipes not rendering a rim when facing a pump from its side
- Fixed Super glue not always taking effect when intersecting with another box
- Fixed Super glue blocking entities travelling on a belt
- Fixed Super glue disintegrating when pushed by a vanilla piston
- Fixed Tracks placed up against a solid wall placing as ascending slopes
- Fixed movement actors switching dimensions stalling indefinitely
- Fixed kinetic components showing speed requirement popups when moving very slowly
- Fixed display boards not always connecting properly when placed with placement assist
- Fixed display boards getting caught in kinetic ghost power loops
- Fixed display boards loading in with jumbled text
- Fixed players unable to hand schedules to conductors while seated
2022-06-21 19:43:53 +02:00
simibubi
56ec2f127c Mind the gap
- Fixed trapdoors and doors causing a contraption to flicker when activated
- Hastily added a few ticks of extra time before a contraption is discarded on the client to close the time gap between entity and chunk render
2022-06-20 00:50:05 +02:00
simibubi
bdaa918b12 Localisation Fixups
- Removed remaining hardcoded text components throughout 0.5
- Bogeys can now be placed closer together
- Station will now refuse to assemble when bogeys are too close to each other
2022-06-19 16:52:55 +02:00
simibubi
c7dafbc9f3 The forgotten guide
- Reworked the advancement tree
2022-06-18 19:54:35 +02:00
Jozufozu
fa51b68709 Unbotch the batch
- Contraptions now render properly with batching
 - Belts can be placed sideways again
2022-06-13 12:31:41 -07:00
simibubi
3517f04a70 Getting seated
- Fixed non-player passengers endlessly kicking each other from seats
- Added the "Seated Players" schedule condition
2022-06-11 23:37:13 +02:00
simibubi
6192da2809 Choo Choo, Part V
- Player can press ctrl to honk when a whistle is present
- Stations now remember the name of briefly disassembled trains
2022-06-11 22:02:12 +02:00
simibubi
141a4069dd Approachable
- Station approach/arrival prompt is now more visible
2022-06-11 18:54:10 +02:00
simibubi
513e7906cc Schedule-tracking displays
- Added the "Train Schedule Status" display source to Stations
2022-06-10 21:48:43 +02:00
simibubi
28e9f31cd8 Timetables
- Modified the "time of day" schedule condition to allow for multiple trips per day
- Fixed girder wrenching not working on dedicated servers
- Fixed startup crash from the train hud on dedicated servers
2022-06-10 19:03:08 +02:00
simibubi
091812b42d Speed limit
- Added a means to control the throttle/max speed of a controlled train
- Train Controls now show an xp bar overlay
2022-06-09 15:00:04 +02:00
zelophed
017c547d0d socially distanced camera
- zoom out the third person view when mounting a train
- added a command to manually zoom out as well :)
- removed op permission requirement from highlight command
2022-06-08 02:16:07 +02:00
simibubi
4e9e37ffd2 The edge case files, Part II
- Right-clicking a conductor now resumes a previously paused schedule
- Players now wear a conductor head when sitting in driver seats
- Players no longer wear a conductor head while wearing another helmet
- Manual train controls no longer allow approaching an occupied station
- Limited train status message dump to 3 latest entries
- Trains now communicate when no station on a graph actually matches the targeted filter
- Fixed Destination instruction not escaping regex characters
- Schedule autocomplete now defaults to listing all destinations when graph filtering leaves an otherwise empty set
2022-06-07 23:48:04 +02:00
simibubi
8c444f1476 Signal the Signal
- Changed redstone output type of signals to comparator
- Redstone powered signals are now forced to red
- Redstone powered signals now add a substantial path cost
- Increased render distance of signal nixie details
2022-06-07 19:20:09 +02:00
simibubi
2eec01ad1c Sundays' one-liners
- Fixed ploughs destroying track marker blocks
- Fixed track markers spawning block particle effects
- Safety check for PSI updates
- Fixed sliding doors not having correct rendering boundaries
- Fixed PSI overstretching their model
- Fixed bogeys being ignored by schematicannons
- Fixed downward facing deployers not aiming correctly on trains
- Fixed incorrect relative motion provided to mounted actors by trains
- Basins now attempt to dump existing output content into newly created auto-outputs
- Builders Tea can now be scooped out of basins manually
- Basins now prioritise output tanks when filling held items
- Fixed pulley contraptions not receiving light updates below y=0
2022-06-05 19:01:15 +02:00
simibubi
e203801aad Trains detected
- Added the Train Observer
2022-06-05 17:02:33 +02:00
simibubi
648f43e870 Fridays' one-liners
- Fixed NPE with train sounds
- Belts launched by a schematicannon can no longer replace bedrock
- Placards now unpower one game tick sooner
- Fixed station display link not assigning default values correctly
- Fixed Train doors able to be destroyed in a single punch
2022-06-04 00:22:13 +02:00
simibubi
be78233823 Choo choo proper
- Changed whistle sound when used with trains
- Trains now have sound effects
- Bogeys now emit particle effects
- Steam engines now have sound effects
- Trains deal twice their damage to hostile mobs
2022-06-03 20:17:54 +02:00
simibubi
b4e047c5e4 Sliding into motion
- Contraptions now send block changes to other clients when doors are opened
- Train doors now have special behaviour on contraptions
- Train doors no longer require solid ground
2022-06-01 20:32:16 +02:00
simibubi
8ab66b8da6 Marking Beziers
- Adjusted station icon positioning on turns
2022-06-01 03:52:16 +02:00
simibubi
83fbd954cb Merge branch 'mc1.18/global-railways' of https://github.com/Creators-of-Create/Create-Concealed into mc1.18/global-railways 2022-06-01 03:35:45 +02:00