
Create: Deployer API
Библиотека для разработчиков аддонов к Create. Deployer упрощает логистику, создание датчиков и работу с жидкостями, сохраняя стабильность. Скачайте Deployer API для Майнкрафт и расширяйте возможности Create.
Оцените первым
274.4K
13
Список изменений
Features
- Deployer and Extra Gauges now work together with Create: Factory Logistics 1.6.1 or newer (#24). Repackaged is still incompatible with it, see fl.md
- New client option
capesto turn capes (and the requests they need) off
Fixes
- Capes are fetched once per player and per game session, only when their cape is drawn, instead of at every player creation; downloads use a shared thread pool with timeouts and textures are registered on the render thread
- Pending fluid and energy promises were lost when a world or chunk was saved and loaded again, so gauges ordered the same resources twice
- Stock Keeper tabs of custom resources (fluids, energy) showed only the last 100 entries of a network with more than 100 different entries
- Packagers of custom resources no longer take hold of an item package when another mod only simulates inserting it, which could duplicate the package
- Two packagers of the same custom resource on the same inventory (for example two fluid packagers on one tank) counted it twice in the Stock Keeper and split orders between them, so part of the order was never sent. Like Create does for items, the network now counts each inventory once and asks one of its packagers
- Gauges ordering items together with fluids or energy sent the fluid and energy part even when an item packager was too busy, so that part was sent again on the next attempt
DeployerLanguageProvider.addShiftSummarywrote the summary line under a wrong key, so the summary never showed (conditions and behaviours were fine)- Restocking gauges of custom resources ordered at most 9 units of the selected scale per request (9 mB with a fluid gauge in mB); they now order the whole missing amount
For developers
- First stable release: the public API (everything outside
mixinpackages and@ApiStatus.Internalclasses) stays compatible until 2.0 - Breaking changes, done before 1.0.0 so the API stays stable until 2.0:
AbstractPanelBehaviour.read,writeandwriteSafeare nowfinal: overrideeasyRead,easyWriteandeasyWriteSafe- Removed the deprecated
PanelConnectionBuilder.put(useregisterBoth),ColoredFactoryPanelSupportBehaviour,FPBEExtension,ACPExtensionandDeployerClient.getCape - The
mixinpackages and themixinExtensionsinterfaces are marked@ApiStatus.Internal, exceptLLBExtension, which is the extension point for logistically linked behaviours of other mods AbstractPanelBehaviour.notifyOutputsis nowfinal; react to inputs innotifiedFromInput. The order and timing of target updates within a tick are not part of the contract- Stock Keeper tabs no longer depend on the Stock Ticker menu:
KeeperTabScreen/StockTabScreenconstructors andClientRegisterHelpers.registerStockKeeperTabtake only aKeeperSourceContext, which now provides the player (getPlayer). Other screens can host the same tabs with their own context (ClientRegisterHelpers.getKeeperTabsis public) - Removed
VersionedTrackerBehaviour, which nothing used (packagers use Create's tracker together withVersionedWrapper) StockInventoryType.IStorageHandler.isBulkynow means what its name says (a package with a bulky entry holds nothing else, like Create's items that cannot fit inside containers); it was read inverted before. Types that returnedfalseto get one entry per package must returntrueAbstractPackagerBlockEntity.isValidPackageno longer has side effects;unwrapBoxpasses invalid boxes through only when not simulatingAbstractInventorySummary.getStacksByCountlists the largest count first, like Create'sInventorySummary- The panel and stock inventory registries no longer have a default key:
getKeyof an unregistered entry returnsnull
- New
PanelConnection.notifySource(level, pos): blocks read through extra connections can call it after a change. It is optional today (panels still re-read extra sources periodically) and will make panels update right away once event-driven propagation lands, without API changes - New
StockPanelBehaviour.getMaxRestockAmount, to split restocks into smaller orders - New public helpers replacing internal accessors:
CreateHelpers.getIconX,getIconY,iconVertex,getGenericRepackageHelperandClientRegisterHelpers.getSelectedRequesterTab Constantsnow extendsnet.liukrast.constants.Constantsfrom Constants Manager (bundled with jarJar, loader independent): ids, logger, registry helpers andtranslatable/literal/translationKeylive there, whilecreateDeferred,wrapWithShiftSummaryand the CatnipLangBuilderhelpers stay in Deployer. Code that uses Deployer'sConstantscompiles and runs unchanged- Built against NeoForge 21.1.268, Create 6.0.11-346, Ponder 1.0.92, JEI 19.76.1.482 and MixinExtras 0.5.5; the minimum NeoForge (21.1.265) and Create (6.0.10) versions are unchanged
- The published POM no longer lists dev-only mods (Sable, Kotlin for Forge, Architectury, Observable, JEI runtime)
- Built against compat_manager 1.0.9: compatibility mixins (JEI, Create More: Package Couriers) are now skipped when that mod is not installed
- Mixins that Create Factory Logistics makes impossible to apply now live in
mixin.withoutfland are skipped when it is installed (newDeployerMixinPlugin, extends the compat_manager plugin) PackageItemMixin,RequestPromiseQueueMixinand the packagerunwrapBoxhook use priority 1100, so they apply on top of Factory Logistics overwrites- Internal
StockKeeperRequestScreenAccessor.CategoryEntryAccessormethods are prefixed withdeployer$(they clashed with a Factory Logistics accessor)
Файлы
deployer-1.0.0.jar(1.98 MiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.0.0
Загрузчики
NeoForge
Версии игры
1.21.1
Загрузок
671
Дата публикации
28.11.2026
