NeroAgriculture 0.4.0-beta.1 - NeoForge 26.2
Curse Maven Snippet
What's new
Item tags for tag-keyed pricing, and a crop-tower output threshold event. Neroland Core only: no new dependency (NeroEconomy is not needed for any of this).
Added
- Item tags for data packs and economy mods to key on, so a tag-keyed commodity follows every new
item with no code:
#neroagriculture:fragments(the five tier fragments; the component-keyedresource_fragmentstays out because its identity is in item components),#neroagriculture:fertilisers(fertiliser, speed and yield fertiliser) and#neroagriculture:biofuels(biofuel canister and bucket). The fragments and biofuels already sit inc:fragmentsandc:biofuels. - Threshold event
neroagriculture:tower_outputon Neroland Core'sThresholdEventsbus. Scope = the dimension id (never a player); value = items harvested by every crop tower in that dimension in the last in-game hour (1,000 game ticks of server game time, a rolling window in ten 100-tick steps); threshold = new configcrop_tower.output_event_threshold(default 512, 0 = off);risingistrueonce when the total reaches the threshold andfalseonce when it drops back below. In-memory only, so a restart announces nothing. Usable by NeroQuests'custom_eventand NeroEvents.
Deprecated
AgricultureApi.PremiumGoodsProvider,AgricultureApi.PremiumGood,AgricultureApi.PREMIUM_GOODSandCompatContracts.registerPremiumGoodsProvider. They were never implemented or read, priced in energy rather than credits, and keyed on a player. Price NeroAgriculture goods through the item tags above instead. Kept so existing callers still compile.
This mod has no additional files

