Deployer [1.1.0]
Curse Maven Snippet
What's new
Changes
- Fixed a client crash (
NoClassDefFoundError: dev/ryanhcode/sable/sublevel/SubLevel) when gauge connections render without Sable installed (#29) - Bundles Compat Manager 1.0.10, which fixes a startup crash with mods built against Compat Manager 1.0.4 or older
- Our libraries are now required within their major version (Compat Manager 1.x, Constants Manager 1.x), so a future 2.0 bundled by another mod gives a clear error instead of a crash
- Gauges update their targets through a queue instead of a recursive call: a gauge notified several times before it updates updates once, and long chains no longer risk a stack overflow. Targets are still updated within the same tick
- Loops of gauges run as a steady 20 Hz clock: a gauge reached again by its own update updates on the next tick. Before, a loop updated up to
factoryPanelMaxCyclesPerTicktimes in a tick and then stopped until the next lazy tick (about half a second). Gauges fed by a loop follow it in the same tick - Gauges reading blocks through extra connections (levers, buttons, signs and other blocks registered by addons) update as soon as the block changes, instead of up to half a second later
- Using a wrench on a gauge also cycles the bending of the arrows coming from blocks read through extra connections, like Create already does for redstone links. This works on Create's Factory Gauge too
- Lines of extra connections (for example from a sign to a String Gauge) and of links show the dots of their connection type
- Buttons (every block extending the vanilla button) can be connected to gauges like levers, as redstone or number sources. Now that gauges update right away, they no longer miss short presses
- Right-clicking a connection from a lever or another block read through extra connections with a wrench switches its connection type, like for gauges and links, instead of removing it
For developers
PanelConnection.notifySource(level, pos)now updates the panels reading the block atposright away. Deployer already calls it when a block changes its state and updates its neighbours, or emits a game event; call it after changes that do neither, like a block entity changing its contentsDeployerDataComponentsis nowDeployerDataComponentTypes, named after the registry it fills. The old class is deprecated for removal in 2.0 and points to the same holders- Requires Constants Manager 1.1.0 (bundled).
DeployerLanguageProvidernow extends itsLanguageHelper, which holds the language helpers (addPrefixed,addReplaced,autoName,createPonder,addShiftSummary,addRepetitive) without depending on Deployer, Create or a mod loader. Existing providers need no change MinecraftHelpers.CreativeTabs.createMainTabis deprecated for removal in 2.0: useConstants.createMainTabfrom Constants ManagerPanelConnection.readsFrom(source, converter)lets a connection read its values from panels and links that only outputsource, for example a reset connection that reads from every redstone output, Create's redstone links included. These derived connections come after the connections two panels share directly, so existing default connections don't change; players switch to them with a wrench. Derived connections also read levers and the other blocks of extra connections through the listener of their source (findListener). Also new:canReadFrom,canReadFromAny,readFrom,convertAbstractPanelBehaviour.isBulbLit()decides when the bulb glows. By default it glows like on Create's Factory Gauge, so existing gauges look the same- Everything from 1.0 keeps working
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include

