aicompanion-1.1.jar
Curse Maven Snippet
What's new
π Change Log: Version 1.1.0 (since initial CurseForge release)
π 1. New Feature: Train Conductor Role (conductor / train)
- Locomotive Compatibility (
miningtoolsIntegration):- Soft-reflection control of
BasicLocomotiveEntitywithout hard compile-time dependencies. - Automatic fuel management, active ignition handling (
handleHotkeyAction(0)/active = true), and initial velocity impulses to overcome rail friction.
- Soft-reflection control of
- Precision Rail Movement:
- Distance commands:
"move ahead 4 tiles","forward 10 blocks","reverse 5 blocks"β trains measure distance traveled and halt precisely with a horn blast. - Rail pathfinding ("Come to Me"): Saying
"come here"or"drive to me"analyzes track orientation, rolls the locomotive down the rails directly to the player, stops within 4 blocks, and sounds the horn. If the player is far off the tracks (>100 blocks), the conductor safely dismounts and walks over on foot. - Station transport routes: Navigates to saved stations/waypoints, loads freight items from station chests into attached freight cars, runs round trips, and delivers cargo safely into destination chests.
- Instant emergency brakes: Saying
"stop","cancel that","halt", or"brake"immediately clears active rail targets and shuts off the locomotive engine. - Chat parser fix: Excluded direction keywords (
ahead,forward,back,reverse) from ever being mistakenly registered as station waypoints.
- Distance commands:
π 2. New Feature: Tractor Operator (janemoose Integration)
- Rideable Agricultural Tractor Automation:
- Soft-reflection support for
janemoosetractors and attachments. - Companions can mount, steer, and drive tractors across tilled fields.
- Operates tractor attachments: Soil Tiller / Plow, Seed Planter, and Mature Crop Harvester.
- Soft-reflection support for
πΎ 3. Persistence Hardening & Server Reboot Protection
- Server Startup Save Wipe Fixed:
- Resolved an issue where Minecraft's early
LevelEvent.Saveon dimension initialization triggered beforeServerStartedEvent/loadAll(), which previously overwroteaicompanion_memory.jsonwith an empty bot list on reboot. - Added
hasLoadedFromDiskgate inBotPersistenceβ saving is strictly disabled until world bot memory has finished loading into memory. - Added
hasExplicitlyClearedAllBotssafeguard βsaveAllwill never overwrite the save file with 0 bots unless a player explicitly ran/bot removeor/bot removeall. - Implemented atomic file writes via
.tmpstaging and automatic.bakbackups with fallback recovery.
- Resolved an issue where Minecraft's early
- Forced Chunk Loading & Instant Client Synchronization:
- Companions now register persistent chunk tickets (
setChunkForced(chunkX, chunkZ, true)), preventing their chunks from unloading when human players leave the area or disconnect. - Enhanced
onPlayerLoggedInto immediately synchronize entity spawn packets (ClientboundAddEntityPacket), head rotation, and equipment data to joining players so companions are instantly rendered without chunk border lag.
- Companions now register persistent chunk tickets (
- Chest Deposit Loop Fixed:
- Fixed an issue where farmers deposited starter items into chests and became stuck repeatedly reporting 0 items moved.
This mod has no additional files

