Repository navigation
Feature/full mmdlib port - #4
Merged
Merged
Conversation
Require MMDLib 2.0.3, whose composable processors, entity factories and legacy save migration let the remaining Java machines become XML machines. - Add ElectricMachineEntity, the block entity of every EA3 XML machine. New machines read redstone on every face, so a signal stops them as in 3.0, and 3.0 saves load their "Energy" key and that redstone behaviour. - The Electric Arc Furnace and Electric Rock Crusher are XML machines with one recipe processor per lane. ElectricSmeltingRecipes (the oven's generator, now with a products option) and ElectricCrushingRecipes copy smelting and MMDLib crushing recipes at a fixed time and FE per tick. - MMDLib 2.0.3 lists XML machines in the mod's tab itself, so EA3 no longer adds them by hand. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PumpProcessor, a stored custom processor, keeps the pump's work: extending the pipe, pumping a bucket per interval and treating large tagged bodies as infinite. Its tank is a comparator source and its status and depth show as a screen label from processor state. A Fluid Output Pump moves the tank's contents, as for the still. The pipe now retracts itself once the block above is neither the pump nor more pipe, since an XML machine block has no removal hook. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- GeneratorProcessor adds each tick's output to the buffer, keeping fractions of an FE, and pushes the buffer into neighbours. SolarProcessor, HydroProcessor and SteamProcessor supply the output; each generator's output or fill is a comparator source. - BatteryArrayProcessor supplies the array's energy store, backed by the batteries' own charge, admits only items with an energy capability and discharges to loads at the end of the level tick, as before. - The electric network recognises a battery array by position, since the XML machine's energy capability is MMDLib's view rather than a marker type. - HydroGeneratorEntity keeps the turbine's client-side spin for its renderer. - Simple processor variables are client-synced; the pump's per-tick cooldown is now server-only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
LaserTurretProcessor targets, charges and fires as before; its Evil subclass is the hidden variant, whose XML extends the normal turret. Placement records the owner and team through MMDLib's placement hook, and 3.0 and 3.1 saves carry their top-level Owner and Team into the processor's state. LaserTurretEntity keeps the head's client-side aim for the renderer and drops the target while redstone holds the turret. The turret's lock and charge are its comparator source. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The drill faces all six ways through MMDLib's facing and placement hook, facing into the block it was placed against. DrillProcessor targets, mines, exports one item behind and burns what is in its beam; DrillEntity drops the target while redstone holds the drill and makes the moves along scaffold after the tick. The beam length is synced processor state for the renderer, and the model is a casing with on/off end faces as parts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ated base MMDLib generates block/electric_drill_base for a machine with model parts; the authored model of that name hid it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GrowthChamberProcessor grows the three lanes, admits only seeds and soils some growing recipe uses, and pushes harvests into neighbours other than chambers. GreenhouseControllerProcessor makes greenhouse power, shares it across the touching cluster and is the comparator source; it admits only fertilizers. The entities keep the lane state, held harvests and pools under 3.0's keys, so older chambers keep their growth, and the Control Unit takes in fertilizer each tick even under redstone, as before. ItemPush moves items from a machine's group into a neighbour. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Docs describe every machine as an MMDLib XML machine (the fabricator stays Java on BaseMachine), what each keeps from 3.0 and 3.1 saves, the shared upgrades, and the MMDLib limits met on the way. - Test that new machines and 3.0 saves stop on redstone and that a saved redstone setting is kept. - The pump's powered front uses its "on" texture, as before. - Add the turret comparator's language keys; drop the ones only the old screens used. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.