track and trains-1.1.46.jar
Curse Maven Snippet
What's new
[1.1.46] - 2026-11-12
Changed
- Mod update
[1.1.46] - 2026-11-12
Changed
- Expanded Railroader's Field Manual Interface Dimensions (
MiningToolsGuideScreen):- Expanded the guide book window dimensions from 346×226 to 420×246 pixels to provide ample breathing room for content, long technical subtitles, and category navigation.
- Widened the left CATEGORIES sidebar from 98px to 124px, preventing category titles such as
Stations & LogisticsandTracks & Switchesfrom overflowing the category buttons and border divider. - Sized the Table of Contents card container to fit exactly 7 full entry cards cleanly without bottom bezel clipping.
Fixed
- Table of Contents Text Overflow & Scissoring (
MiningToolsGuideScreen):- Fixed subtitle text overflow across topic cards (e.g.
Overhead Tank Car Filler • 10,000 mB BufferandOverhead Tank Car Drainer • Pipeline Depot) that previously overflowed into the navigation chevrons and scrollbars. - Added width-aware ellipsis protection using
font.plainSubstrByWidthfor both title and subtitle strings across all entry cards and overview headers, guaranteeing text never clips UI icons or chevrons. - Enabled active hardware-accelerated GUI scissoring (
enableScissor/disableScissor) across the Table of Contents, Overview description, Bill of Materials, and Crafting Recipe scroll views. - Fixed list items rendering outside the bottom border and brass corner brackets when scrolling or when list heights exceeded visible panel bounds.
- Added bounds checking in
mouseClickedto restrict card click detection strictly to within the visible scrolling view area.
- Fixed subtitle text overflow across topic cards (e.g.
[1.1.44] - 2026-11-11
Added
- Track Signal Switch Route Lock Delay (
TrackSwitchBlockEntity&TrackSwitchScreen):- Added a configurable Route Lock Delay (seconds) option when adding or updating automated routing rules in the Track Signal Switch GUI (
TrackSwitchScreen). - Switch Point Locking: When a train activates a route, the track switch now locks in that active position (
OPENorCLOSED) for the specified duration (0 to 300 seconds), preventing trailing consist cars, opposing trains, or conflicting routing rules from throwing switch points while the train transits the junction. - Live Lock Status & Countdown:
- The in-GUI manual switch button dynamically displays the active lock countdown (e.g.
Track: OPEN (5s)in amber yellow) and provides a tooltip with remaining seconds. - Manual operator toggles via right-click in world or the GUI button immediately clear any active automated route lock.
- The in-GUI manual switch button dynamically displays the active lock countdown (e.g.
- Enhanced Routing Dashboard & Editor:
- Added a dedicated numeric Lock (s) input box beside the Train Name field with mouse wheel scrolling and keyboard arrow controls (up/down by 1s, or 5s with Shift).
- Added distinct cyan route lock duration badges (
[5s],[10s]) on routing list rows. - Added single-click rule editing: clicking any existing route in the list instantly populates its name, lock delay, travel heading, cargo filter, and fuel criteria into the top editor controls.
- Rule row hover tooltips detail complete routing specifications and lock duration.
- NBT Persistence & Network Synchronization:
- Persisted
RuleDelay_iper route and active countdownLockTicksto tile entity NBT, maintaining route locks across world reloads, server restarts, and chunk unloading. - Synchronized active lock countdowns to clients via
TrackSwitchSyncPayload.
- Persisted
- Added a configurable Route Lock Delay (seconds) option when adding or updating automated routing rules in the Track Signal Switch GUI (
[1.1.42] - 2026-11-11
Fixed
- JourneyMap Option Registration Startup Crash Fix (
JourneyMapTrainPlugin):- Fixed a
NullPointerException(Cannot invoke "journeymap.api.v2.common.option.Config.get()" because "this.config" is null) during mod loading caused by callingoptShowChunkOverlays.get()inside theOPTIONS_REGISTRY_EVENTcallback before JourneyMap finishes bindingConfiginstances to registeredBooleanOptionobjects. - Added null-safe
getOptionSafe(...)accessors and exception guards around all JourneyMap option reads and event callbacks.
- Fixed a
[1.1.41] - 2026-11-11
Added
- JourneyMap Force-Loaded Chunk Anchor Overlays (
ChunkMapSyncPayload&JourneyMapTrainPlugin):- Added live color-coded chunk polygon overlays on JourneyMap for both stationary Industrial Chunk Anchors (
miningtools:chunk_loader) and mobile Rail Chunk Anchors (CabooseMinecartEntity/ active train consists). - Color-Coded Overlays:
- Stationary Industrial Chunk Anchors: Rendered with Industrial Cyan/Teal borders (
#06B6D4) and translucent teal fill (#22D3EE), complete with a center block icon marker, chunk count badge (⚓ Anchor (9c)), and hover tooltip detailing the anchor's area (1×1,3×3, or5×5), total forced chunks, and block coordinates. - Mobile Rail Chunk Anchors (Anchor Caboose & Active Consists): Rendered with Railway Gold/Amber borders (
#F59E0B) and warm gold fill (#FBBF24), dynamically tracking the moving train's forced chunk perimeter with a chunk count badge (⚓ Rail (Nc)) and hover tooltip displaying the custom Caboose or Train name and forced chunk count.
- Stationary Industrial Chunk Anchors: Rendered with Industrial Cyan/Teal borders (
- Fullscreen Toolbar Toggle & JourneyMap Options:
- Added a dedicated "Chunk Anchors: ON / OFF" toggle button on the JourneyMap Fullscreen Map addon toolbar to quickly show or hide chunk anchor overlays at any time.
- Registered JourneyMap addon options (
Show Force-Loaded Chunk AnchorsandShow Chunk Anchors on Minimap) under the Track and Train Pack category in JourneyMap's options menu.
- Added live color-coded chunk polygon overlays on JourneyMap for both stationary Industrial Chunk Anchors (
[1.1.40] - 2026-11-09
Changed
- CN Diesel Locomotive Fuel Consumption Calibration (3× Travel Distance):
- Tripled the fuel efficiency of the CN Diesel Locomotive (
DieselLocomotiveEntity), extending its travel distance to 3× further per 1,000 mB of diesel fuel. - Replaced the fixed 1 mB/tick consumption logic with configurable
ticksPerMb(Config.DIESEL_LOCOMOTIVE_TICKS_PER_MB, defaulting to3ticks per mB). - With the new 3-tick interval per mB, 1,000 mB (1 bucket) powers the locomotive for 3,000 ticks (150 seconds, up from 50 seconds), covering ~2,100 blocks at top speed (~33,600 blocks on a full 16,000 mB tank).
- Added internal
fuelTickCountertracking with NBT persistence (FuelTickCounter) to guarantee consistent consumption rates across game pauses, world saves, and chunk unloads.
- Tripled the fuel efficiency of the CN Diesel Locomotive (
[1.1.39] - 2026-11-09
Fixed
- JourneyMap Duplicate Stopped Trains & Ghost Marker Fix:
- Switched JourneyMap marker tracking and
TrainMapSyncPayloadkeys from transient runtimeint entityId(cart.getId()) to persistent entityUUID(cart.getUUID()). Previously, whenever a chunk unloaded and later reloaded, Minecraft assigned a new runtimeentityIdto the reloaded train while leaving the oldentityIdmarker frozen at its prior location on JourneyMap. - Added authoritative server snapshot reconciliation (
fullSnapshot = trueevery 10 ticks) and immediate entity removal packets (EntityLeaveLevelEventwhenRemovalReason.shouldDestroy()) so picked-up, broken, or despawned carts are immediately removed from JourneyMap without leaving ghost markers behind. - Updated
JourneyMapTrainPluginto invokejmAPI.show(marker)alongsidemarker.flagForRerender()when position, heading, dimension, or label state changes, and subscribed toMappingEvent(MAPPING_STARTED/MAPPING_STOPPED) to cleanly reset and re-register markers across world switches. - Added server-side unloaded-chunk caching (
parkedUnloadedTrains) so stationary parked trains in unloaded chunks remain visible at a single unifiedUUIDmarker and automatically transition to live tracking when loaded. - Added missing JourneyMap icon and consist resolution support for
TrackLayerCartEntity(track_layer) andDieselLocomotiveEntityconsists.
- Switched JourneyMap marker tracking and
- Unattended Far-Distance Train Movement & Reference-Counted Chunk Loading:
- Overhauled
CabooseMinecartEntitychunk forcing to supportDieselLocomotiveEntity(previously omitted), traverse the entire coupled consist bidirectionally (TrainChainingUtil.computeConsistForcedChunks), pre-force a 3×3 chunk grid 1 chunk ahead in the travel direction, and update immediately upon crossing chunk boundaries instead of waiting for a 20-tick timer. - Added automatic dynamic chunk forcing (
TrainChainingUtil.tickActiveTrainChunkLoading) for actively running locomotives (BasicLocomotiveEntity,DieselLocomotiveEntity,ElectricLocomotiveEntity), self-propelled rail machines (TunnelBoreEntity,TrackPaverEntity,TunnelPaverEntity,TrackLayerCartEntity), and trains held at braking/control/station delay rails so active trains continue moving and updating on JourneyMap even when no player is in range. - Implemented per-dimension reference-counted chunk ownership (
TrainChainingUtil) shared across Cabooses, active locomotives, andChunkLoaderBlockEntityblocks so overlapping trains or trackside chunk loaders never prematurely unforce each other's chunks.
- Overhauled
[1.1.38] - 2026-11-08
Added
- Configurable Auto-Push on Trackside Cargo Unloaders (
cargo_unloader):- Added an in-GUI Auto-Push Toggle button (
Push: ON/Push: OFF) toCargoTransferScreenand synchronized state viaCargoTransferBlockEntity/CargoTransferMenu. - When enabled (
Push: ON, default for backwards compatibility), the unloader actively ejects buffer items into the container or pipe directly below every 4 ticks. - When disabled (
Push: OFF), active downward ejection is halted, allowing passive extraction pipes (such as BuildCraft / Refinery wooden transport pipes, which require an engine or gate pulse to extract items) to control item flow without being flooded by forced unloader ejection. - Saved and persisted the
AutoPushstate to NBT across world saves and block reloads.
- Added an in-GUI Auto-Push Toggle button (
This mod has no additional files