Factory API

Factory API

Mod

An API that supports different mod loaders and is the basis of mods like Factocrafty

Client and server LibraryStorageTechnologyTransportationUtility

68.8k downloads
19 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter loader...
Filter versions...
Filter channels...

Release 1.20.1-2.1.4

Updated at 2024-03-09 03:49.
Changelog
Release 1.20-2.1.4

-Fixed crash when trying filter item storages in Forge
Release 1.20-2.1.3

-Fixed ConcurrentModificationException crash when using FactoryAPIPlatform.filteredOf and FactoryAPIPlatform.getPlatformFactoryStorage methods
Release 1.20-2.1.2

-Fixed ItemContainerUtilImpl.drainItem not working correctly in Fabric
Release 1.20-2.1.1

-Fixed FabricItemStoragePlatform insertItem method
Click here for complete changelog

Release 1.20.1-2.1.4

Updated at 2024-03-09 03:48.
Changelog
Release 1.20-2.1.4

-Fixed crash when trying filter item storages in Forge
Release 1.20-2.1.3

-Fixed ConcurrentModificationException crash when using FactoryAPIPlatform.filteredOf and FactoryAPIPlatform.getPlatformFactoryStorage methods
Release 1.20-2.1.2

-Fixed ItemContainerUtilImpl.drainItem not working correctly in Fabric
Release 1.20-2.1.1

-Fixed FabricItemStoragePlatform insertItem method
Click here for complete changelog

Release 1.20.4-2.1.3

Updated at 2024-03-09 03:47.
Changelog
Release 1.20.4-2.1.3

-Fixed crash when trying filter item storages in Forge
Release 1.20.4-2.1.2

-Fixed ConcurrentModificationException crash when using FactoryAPIPlatform.filteredOf and FactoryAPIPlatform.getPlatformFactoryStorage method
Release 1.20.4-2.1.1

-Fixed ItemContainerUtilImpl.drainItem not working correctly in Fabric
Release 1.20.4-2.1.1

-Fixed FabricItemStoragePlatform insertItem method
Click here for complete changelog

Release 1.20.1-2.1.3

Updated at 2024-02-22 19:38.
Changelog
Release 1.20-2.1.3

-Fixed ConcurrentModificationException crash when using FactoryAPIPlatform.filteredOf and FactoryAPIPlatform.getPlatformFactoryStorage methods
Release 1.20-2.1.2

-Fixed ItemContainerUtilImpl.drainItem not working correctly in Fabric
Release 1.20-2.1.1

-Fixed FabricItemStoragePlatform insertItem method
Release 1.20-2.1

-Reworked all storage API functions, now with better RAM management, by the use of caches
-Renamed IPlatformHandlerApi to IPlatformHandler
-Moved the getStorage method from the IPlatformHandlerApi class into the new IPlatformHandler class
-Now, instances of IPlatformFluidHandler, IPlatformEnergyStorage and IPlatformItemHandler are supported as storages in IFactoryStorage, the deprecated API static methods present in FactoryAPIPlatform will be removed, as default implementation classes such as FactoryItemHandler, FactoryFluidHandler and FactoryEnergyStorage were added in common module
-Added getStorage method to IFactoryItem, for multiple and better item storages support, like in IFactoryStorage interface, but you can still use IFluidHandlerItem, ICraftyStorageItem or IEnergyStorageItem for easier implementation
-Removed some unnecessary interfaces and methods, and moved to the main implementation, such as the methods from the removed interface ISideType now are present in TransportSide
Click here for complete changelog

Release 1.20.1-2.1.3

Updated at 2024-02-22 19:37.
Changelog
Release 1.20-2.1.3

-Fixed ConcurrentModificationException crash when using FactoryAPIPlatform.filteredOf and FactoryAPIPlatform.getPlatformFactoryStorage methods
Release 1.20-2.1.2

-Fixed ItemContainerUtilImpl.drainItem not working correctly in Fabric
Release 1.20-2.1.1

-Fixed FabricItemStoragePlatform insertItem method
Release 1.20-2.1

-Reworked all storage API functions, now with better RAM management, by the use of caches
-Renamed IPlatformHandlerApi to IPlatformHandler
-Moved the getStorage method from the IPlatformHandlerApi class into the new IPlatformHandler class
-Now, instances of IPlatformFluidHandler, IPlatformEnergyStorage and IPlatformItemHandler are supported as storages in IFactoryStorage, the deprecated API static methods present in FactoryAPIPlatform will be removed, as default implementation classes such as FactoryItemHandler, FactoryFluidHandler and FactoryEnergyStorage were added in common module
-Added getStorage method to IFactoryItem, for multiple and better item storages support, like in IFactoryStorage interface, but you can still use IFluidHandlerItem, ICraftyStorageItem or IEnergyStorageItem for easier implementation
-Removed some unnecessary interfaces and methods, and moved to the main implementation, such as the methods from the removed interface ISideType now are present in TransportSide
Click here for complete changelog

Release 1.20.4-2.1.2

Updated at 2024-02-22 19:32.
Changelog
Release 1.20.4-2.1.2

-Fixed ConcurrentModificationException crash when using FactoryAPIPlatform.filteredOf and FactoryAPIPlatform.getPlatformFactoryStorage method
Release 1.20.4-2.1.1

-Fixed ItemContainerUtilImpl.drainItem not working correctly in Fabric
Release 1.20.4-2.1.1

-Fixed FabricItemStoragePlatform insertItem method
Release 1.20.4-2.1

-Ported from version 1.20.2-2.1
-Fixed FabricItemStoragePlatform insertItem method
Click here for complete changelog

Release 1.20.4-2.1.2

Updated at 2024-02-22 19:31.
Changelog
Release 1.20.4-2.1.2

-Fixed ConcurrentModificationException crash when using FactoryAPIPlatform.filteredOf and FactoryAPIPlatform.getPlatformFactoryStorage method
Release 1.20.4-2.1.1

-Fixed ItemContainerUtilImpl.drainItem not working correctly in Fabric
Release 1.20.4-2.1.1

-Fixed FabricItemStoragePlatform insertItem method
Release 1.20.4-2.1

-Ported from version 1.20.2-2.1
-Fixed FabricItemStoragePlatform insertItem method
Click here for complete changelog

Release 1.20.4-2.1.1

Updated at 2024-02-22 18:38.
Changelog
Release 1.20.4-2.1.1

-Fixed ItemContainerUtilImpl.drainItem not working correctly in Fabric
Release 1.20.4-2.1.1

-Fixed FabricItemStoragePlatform insertItem method
Release 1.20.4-2.1

-Ported from version 1.20.2-2.1
-Fixed FabricItemStoragePlatform insertItem method
Release 1.20.2-2.1

-Reworked all storage API functions, now with better RAM manage, by the use of caches
-Renamed IPlatformHandlerApi to IPlatformHandler
-Moved the getStorage method from the IPlatformHandlerApi class into the new IPlatformHandler class
-Now, instances of IPlatformFluidHandler, IPlatformEnergyStorage and IPlatformItemHandler are supported as storages in IFactoryStorage, the deprecated API static methods present in FactoryAPIPlatform will be removed, as default implementation classes such as FactoryItemHandler, FactoryFluidHandler and FactoryEnergyStorage were added in common module
-Added getStorage method to IFactoryItem, for multiple and better item storages support, like in IFactoryStorage interface, but you can still use IFluidHandlerItem, ICraftyStorageItem or IEnergyStorageItem for easier implementation
-Removed some unnecessary interfaces and methods, and moved to the main implementation, such as the methods from the removed interface ISideType now are present in TransportSide
Click here for complete changelog

Release 1.20.1-2.1.2

Updated at 2024-02-22 18:34.
Changelog
Release 1.20-2.1.2

-Fixed ItemContainerUtilImpl.drainItem not working correctly in Fabric
Release 1.20-2.1.1

-Fixed FabricItemStoragePlatform insertItem method
Release 1.20-2.1

-Reworked all storage API functions, now with better RAM management, by the use of caches
-Renamed IPlatformHandlerApi to IPlatformHandler
-Moved the getStorage method from the IPlatformHandlerApi class into the new IPlatformHandler class
-Now, instances of IPlatformFluidHandler, IPlatformEnergyStorage and IPlatformItemHandler are supported as storages in IFactoryStorage, the deprecated API static methods present in FactoryAPIPlatform will be removed, as default implementation classes such as FactoryItemHandler, FactoryFluidHandler and FactoryEnergyStorage were added in common module
-Added getStorage method to IFactoryItem, for multiple and better item storages support, like in IFactoryStorage interface, but you can still use IFluidHandlerItem, ICraftyStorageItem or IEnergyStorageItem for easier implementation
-Removed some unnecessary interfaces and methods, and moved to the main implementation, such as the methods from the removed interface ISideType now are present in TransportSide
Release 1.20-2.0.2

-Removed ItemSide and FluidSide classes and unified in TransportSide
-Unified methods itemSides, fluidSides and energySides from IFactoryStorage in getStorageSides method
Click here for complete changelog

Release 1.20.1-2.1.2

Updated at 2024-02-22 18:33.
Changelog
Release 1.20-2.1.2

-Fixed ItemContainerUtilImpl.drainItem not working correctly in Fabric
Release 1.20-2.1.1

-Fixed FabricItemStoragePlatform insertItem method
Release 1.20-2.1

-Reworked all storage API functions, now with better RAM management, by the use of caches
-Renamed IPlatformHandlerApi to IPlatformHandler
-Moved the getStorage method from the IPlatformHandlerApi class into the new IPlatformHandler class
-Now, instances of IPlatformFluidHandler, IPlatformEnergyStorage and IPlatformItemHandler are supported as storages in IFactoryStorage, the deprecated API static methods present in FactoryAPIPlatform will be removed, as default implementation classes such as FactoryItemHandler, FactoryFluidHandler and FactoryEnergyStorage were added in common module
-Added getStorage method to IFactoryItem, for multiple and better item storages support, like in IFactoryStorage interface, but you can still use IFluidHandlerItem, ICraftyStorageItem or IEnergyStorageItem for easier implementation
-Removed some unnecessary interfaces and methods, and moved to the main implementation, such as the methods from the removed interface ISideType now are present in TransportSide
Release 1.20-2.0.2

-Removed ItemSide and FluidSide classes and unified in TransportSide
-Unified methods itemSides, fluidSides and energySides from IFactoryStorage in getStorageSides method
Click here for complete changelog

Release 1.20.4-2.1.1

Updated at 2024-02-22 18:24.
Changelog
Release 1.20.4-2.1.1

-Fixed ItemContainerUtilImpl.drainItem not working correctly in Fabric
Release 1.20.4-2.1.1

-Fixed FabricItemStoragePlatform insertItem method
Release 1.20.4-2.1

-Ported from version 1.20.2-2.1
-Fixed FabricItemStoragePlatform insertItem method
Release 1.20.2-2.1

-Reworked all storage API functions, now with better RAM manage, by the use of caches
-Renamed IPlatformHandlerApi to IPlatformHandler
-Moved the getStorage method from the IPlatformHandlerApi class into the new IPlatformHandler class
-Now, instances of IPlatformFluidHandler, IPlatformEnergyStorage and IPlatformItemHandler are supported as storages in IFactoryStorage, the deprecated API static methods present in FactoryAPIPlatform will be removed, as default implementation classes such as FactoryItemHandler, FactoryFluidHandler and FactoryEnergyStorage were added in common module
-Added getStorage method to IFactoryItem, for multiple and better item storages support, like in IFactoryStorage interface, but you can still use IFluidHandlerItem, ICraftyStorageItem or IEnergyStorageItem for easier implementation
-Removed some unnecessary interfaces and methods, and moved to the main implementation, such as the methods from the removed interface ISideType now are present in TransportSide
Click here for complete changelog

Release 1.20.1-2.1.1

Updated at 2024-02-09 04:44.
Changelog
Release 1.20-2.1.1

-Fixed FabricItemStoragePlatform insertItem method
Release 1.20-2.1

-Reworked all storage API functions, now with better RAM management, by the use of caches
-Renamed IPlatformHandlerApi to IPlatformHandler
-Moved the getStorage method from the IPlatformHandlerApi class into the new IPlatformHandler class
-Now, instances of IPlatformFluidHandler, IPlatformEnergyStorage and IPlatformItemHandler are supported as storages in IFactoryStorage, the deprecated API static methods present in FactoryAPIPlatform will be removed, as default implementation classes such as FactoryItemHandler, FactoryFluidHandler and FactoryEnergyStorage were added in common module
-Added getStorage method to IFactoryItem, for multiple and better item storages support, like in IFactoryStorage interface, but you can still use IFluidHandlerItem, ICraftyStorageItem or IEnergyStorageItem for easier implementation
-Removed some unnecessary interfaces and methods, and moved to the main implementation, such as the methods from the removed interface ISideType now are present in TransportSide
Release 1.20-2.0.2

-Removed ItemSide and FluidSide classes and unified in TransportSide
-Unified methods itemSides, fluidSides and energySides from IFactoryStorage in getStorageSides method
Release 1.20.2-2.0

-Ported from 1.20.1-1.20.1
Click here for complete changelog

Release 1.20.1-2.1.1

Updated at 2024-02-09 04:43.
Changelog
Release 1.20-2.1.1

-Fixed FabricItemStoragePlatform insertItem method
Release 1.20-2.1

-Reworked all storage API functions, now with better RAM management, by the use of caches
-Renamed IPlatformHandlerApi to IPlatformHandler
-Moved the getStorage method from the IPlatformHandlerApi class into the new IPlatformHandler class
-Now, instances of IPlatformFluidHandler, IPlatformEnergyStorage and IPlatformItemHandler are supported as storages in IFactoryStorage, the deprecated API static methods present in FactoryAPIPlatform will be removed, as default implementation classes such as FactoryItemHandler, FactoryFluidHandler and FactoryEnergyStorage were added in common module
-Added getStorage method to IFactoryItem, for multiple and better item storages support, like in IFactoryStorage interface, but you can still use IFluidHandlerItem, ICraftyStorageItem or IEnergyStorageItem for easier implementation
-Removed some unnecessary interfaces and methods, and moved to the main implementation, such as the methods from the removed interface ISideType now are present in TransportSide
Release 1.20-2.0.2

-Removed ItemSide and FluidSide classes and unified in TransportSide
-Unified methods itemSides, fluidSides and energySides from IFactoryStorage in getStorageSides method
Release 1.20.2-2.0

-Ported from 1.20.1-1.20.1
Click here for complete changelog

Release 1.20.2-2.1.1

Updated at 2024-02-09 04:38.
Changelog
Release 1.20.4-2.1.1

-Fixed FabricItemStoragePlatform insertItem method
Release 1.20.4-2.1

-Ported from version 1.20.2-2.1
-Fixed FabricItemStoragePlatform insertItem method
Release 1.20.2-2.1

-Reworked all storage API functions, now with better RAM manage, by the use of caches
-Renamed IPlatformHandlerApi to IPlatformHandler
-Moved the getStorage method from the IPlatformHandlerApi class into the new IPlatformHandler class
-Now, instances of IPlatformFluidHandler, IPlatformEnergyStorage and IPlatformItemHandler are supported as storages in IFactoryStorage, the deprecated API static methods present in FactoryAPIPlatform will be removed, as default implementation classes such as FactoryItemHandler, FactoryFluidHandler and FactoryEnergyStorage were added in common module
-Added getStorage method to IFactoryItem, for multiple and better item storages support, like in IFactoryStorage interface, but you can still use IFluidHandlerItem, ICraftyStorageItem or IEnergyStorageItem for easier implementation
-Removed some unnecessary interfaces and methods, and moved to the main implementation, such as the methods from the removed interface ISideType now are present in TransportSide
Release 1.20.2-2.0.1

-Removed ItemSide and FluidSide classes and unified in TransportSide
-Unified methods itemSides, fluidSides and energySides from IFactoryStorage in getStorageSides method
Click here for complete changelog

Release 1.20.4-2.1

Updated at 2024-02-09 04:24.
Changelog
Release 1.20.4-2.1

-Ported from version 1.20.2-2.1
-Fixed FabricItemStoragePlatform insertItem method
Release 1.20.2-2.1

-Reworked all storage API functions, now with better RAM manage, by the use of caches
-Renamed IPlatformHandlerApi to IPlatformHandler
-Moved the getStorage method from the IPlatformHandlerApi class into the new IPlatformHandler class
-Now, instances of IPlatformFluidHandler, IPlatformEnergyStorage and IPlatformItemHandler are supported as storages in IFactoryStorage, the deprecated API static methods present in FactoryAPIPlatform will be removed, as default implementation classes such as FactoryItemHandler, FactoryFluidHandler and FactoryEnergyStorage were added in common module
-Added getStorage method to IFactoryItem, for multiple and better item storages support, like in IFactoryStorage interface, but you can still use IFluidHandlerItem, ICraftyStorageItem or IEnergyStorageItem for easier implementation
-Removed some unnecessary interfaces and methods, and moved to the main implementation, such as the methods from the removed interface ISideType now are present in TransportSide
Release 1.20.2-2.0.1

-Removed ItemSide and FluidSide classes and unified in TransportSide
-Unified methods itemSides, fluidSides and energySides from IFactoryStorage in getStorageSides method
Release 1.20.2-2.0

-Ported from 1.20.1-1.20.1
Click here for complete changelog

Release 1.20.4-2.1

Updated at 2024-02-09 04:22.
Changelog
Release 1.20.4-2.1

-Ported from version 1.20.2-2.1
-Fixed FabricItemStoragePlatform insertItem method
Release 1.20.2-2.1

-Reworked all storage API functions, now with better RAM manage, by the use of caches
-Renamed IPlatformHandlerApi to IPlatformHandler
-Moved the getStorage method from the IPlatformHandlerApi class into the new IPlatformHandler class
-Now, instances of IPlatformFluidHandler, IPlatformEnergyStorage and IPlatformItemHandler are supported as storages in IFactoryStorage, the deprecated API static methods present in FactoryAPIPlatform will be removed, as default implementation classes such as FactoryItemHandler, FactoryFluidHandler and FactoryEnergyStorage were added in common module
-Added getStorage method to IFactoryItem, for multiple and better item storages support, like in IFactoryStorage interface, but you can still use IFluidHandlerItem, ICraftyStorageItem or IEnergyStorageItem for easier implementation
-Removed some unnecessary interfaces and methods, and moved to the main implementation, such as the methods from the removed interface ISideType now are present in TransportSide
Release 1.20.2-2.0.1

-Removed ItemSide and FluidSide classes and unified in TransportSide
-Unified methods itemSides, fluidSides and energySides from IFactoryStorage in getStorageSides method
Release 1.20.2-2.0

-Ported from 1.20.1-1.20.1
Click here for complete changelog

Release 1.20.1-2.1

Updated at 2024-02-09 01:34.
Changelog
Release 1.20-2.1

-Reworked all storage API functions, now with better RAM management, by the use of caches
-Renamed IPlatformHandlerApi to IPlatformHandler
-Moved the getStorage method from the IPlatformHandlerApi class into the new IPlatformHandler class
-Now, instances of IPlatformFluidHandler, IPlatformEnergyStorage and IPlatformItemHandler are supported as storages in IFactoryStorage, the deprecated API static methods present in FactoryAPIPlatform will be removed, as default implementation classes such as FactoryItemHandler, FactoryFluidHandler and FactoryEnergyStorage were added in common module
-Added getStorage method to IFactoryItem, for multiple and better item storages support, like in IFactoryStorage interface, but you can still use IFluidHandlerItem, ICraftyStorageItem or IEnergyStorageItem for easier implementation
-Removed some unnecessary interfaces and methods, and moved to the main implementation, such as the methods from the removed interface ISideType now are present in TransportSide
Release 1.20-2.0.2

-Removed ItemSide and FluidSide classes and unified in TransportSide
-Unified methods itemSides, fluidSides and energySides from IFactoryStorage in getStorageSides method
Release 1.20.2-2.0

-Ported from 1.20.1-1.20.1
Release 1.20-2.0.1

-Reworked BlockSide class, now it supports multiple block side orientations based on block state, mainly north and up
-Removed SlotsIdentifier.differential integer field
-Added SlotsIdentifier.component field for custom components and formatted names
-Added BlockSide.getComponent for easier block side localization
-Fixed pt-br and pt-pr languages grammatical error
-Fixed IFactoryDrawableType.getMouseLimit allowing mouse selection intersection
Click here for complete changelog

Release 1.20.1-2.1

Updated at 2024-02-09 01:33.
Changelog
Release 1.20-2.1

-Reworked all storage API functions, now with better RAM management, by the use of caches
-Renamed IPlatformHandlerApi to IPlatformHandler
-Moved the getStorage method from the IPlatformHandlerApi class into the new IPlatformHandler class
-Now, instances of IPlatformFluidHandler, IPlatformEnergyStorage and IPlatformItemHandler are supported as storages in IFactoryStorage, the deprecated API static methods present in FactoryAPIPlatform will be removed, as default implementation classes such as FactoryItemHandler, FactoryFluidHandler and FactoryEnergyStorage were added in common module
-Added getStorage method to IFactoryItem, for multiple and better item storages support, like in IFactoryStorage interface, but you can still use IFluidHandlerItem, ICraftyStorageItem or IEnergyStorageItem for easier implementation
-Removed some unnecessary interfaces and methods, and moved to the main implementation, such as the methods from the removed interface ISideType now are present in TransportSide
Release 1.20-2.0.2

-Removed ItemSide and FluidSide classes and unified in TransportSide
-Unified methods itemSides, fluidSides and energySides from IFactoryStorage in getStorageSides method
Release 1.20.2-2.0

-Ported from 1.20.1-1.20.1
Release 1.20-2.0.1

-Reworked BlockSide class, now it supports multiple block side orientations based on block state, mainly north and up
-Removed SlotsIdentifier.differential integer field
-Added SlotsIdentifier.component field for custom components and formatted names
-Added BlockSide.getComponent for easier block side localization
-Fixed pt-br and pt-pr languages grammatical error
-Fixed IFactoryDrawableType.getMouseLimit allowing mouse selection intersection
Click here for complete changelog


Project members

Wilyicaro

Owner

Details

Licensed MIT
Published 2 years ago
Updated 6 months ago