Changelog
Release 1.20.1-2.0.2
Updated at 2023-12-02 02:25.
Changelog
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
Release 1.20-2.0
-Moved all drawable related classes to a new directory
-Moved IFactoryDrawableType.DrawableStatic to a new separated class for easier references
-Added IWindowWidget.addNestedRenderable and IWindowWidget.getNestedRenderables methods for special implementation of renderables in screens and widgets
-Added ScreenUtil class
-Added ArbitrarySupplier class, it's like java Optional, but is a Supplier and accept get null values
-Improved DrawableStatic class, now it extends Renderable and Rect2i classes, and added overlay, tooltips and visibility functions
-Improved FactoryScreenWindow class, now it extends GuiEventListener, simplified its constructor and added methods for define a drawable selection, disable the hover selection and define the select state
-Added FactoryScreenWindow class, for easier implementation of draggable widgets in screens, like windows
-Added IPlatformFluidHandler.setCapacity method
-Added BlockSide.getComponent method for easier localization
-Added AbstractDrawableButton and AbstractDrawableStatic for easier instantiation without generics in FactoryDrawableButton and DrawableStatic respectively
-and much other minor changes...
Release 1.20-1.1.2
-Fixed automatic IFactoryStorage block entities capabilities registry on Forge
Release 1.20-1.1.2
-Added IWindowWidget, FactoryDrawableButton and FactoryDrawableSlider for easier implementation of buttons and sliders with drawables in screens and widgets
-Added Max Transfer tooltip methods in StorageStringUtil and its lang entries
-Enhanced transferEnergyTo and transferEnergyFrom methods from StorageUtil to possibility of change the consumed energy and bypass any energy dupe bug
-Added min and max methods in CraftyTransaction class for comparable utilities
-and other minor changes...
Release 1.20-1.1.1
-Added IFactoryItem interface for easier Mod Platform specifics server and client implementations
-Added IFactoryBlock interface for block light emission getting by BlockGetter and BlockPos argument
-Added light updating with BlockGetter in Fabric by implementation of IFactoryBlock interface in the block class, like getLightEmission method in IForgeBlock
-Fixed bug in FabricFluidStorage drain method using FluidVariant field instead of getFluidStack() method
Release 1.1
-Removed unnecessary methods from IFactoryStorage, and created IFactoryExpandedStorage interface to contain unessential methods
-Created SideList to replace Map<Direction,?> generic map class, and optimize its use
-Created StorageUtil class with static methods to help between platform storage transactions
-Added FactoryAPIPlatform.getPlatformFactoryStorage method to "convert" the Mod Loader's block entity Storage to IPlatformHandlerApi, and facilitate its exposition
-Added automatic(as a fallback) exposure of IPlatformHandlers for block entities that extend IFactoryStorage and correctly implement it in the getStorage method
-Fixed BlockSide.convertToFacing method incorrect vertical plane orientation
-Fixed block entity CompoundTag bug when loading progress(es) from older saves or corrupted saves
-Renamed IFluidItem to IFluidHandlerItem and removed FluidStorageBuilder record
-Created IEnergyStorageItem to facilitate Mod Loader's energy item implementation
-and many others changes...
Release 1.0
-Enhanced Progress class
-Added to IFactoryDrawableType.DrawableProgress drawProgress method with Progress as argument instead of percentage
-Removed methods addTanks and addProgresses from IFactoryStorage and IFactoryProcessableStorage
-Changed ICraftyEnergyStorage.EnergyTransaction static class to CraftyTransaction
-and much more minor changes...
Beta 0.1.9
-Added IFactoryDrawableType.DrawableStatic and IFactoryDrawableType.DrawableStaticProgress for using to store IFactoryDrawable relative position in screen
-Fixed ForgeItemFluidHandler.isFluidValid incorrectly overrided
-Inverted FactoryCapacityTiers.supportTier method to make more sense
-Fixed not being able to add non-vanilla fluids to SimpleFluidLoggedBlock.BLOCK_LOGGABLE_FLUIDS in Forge, because of the order of the registration event, changing its to a Supplier<Fluid>
-and much other minor changes and bug fixes...
Beta 0.1.8
-Fixed extraction and insertion of fluid and energy in fabric using item stack
-Fixed insert method of ItemCOntainerUtilImpl of fabric with value write and subtraction instead of only value write of inserted energy
Beta 0.1.7
-Ported from 1.19.4-0.1.6.12
Beta 0.1.6.1
-Ported from 1.19.3-0.1.6.1
Click here for complete changelog
Dependencies
Files
FactoryAPI-1.20.1-2.0.2-fabric.jar(188.21 KiB) Primary Download
External resources
Project members
Wilyicaro
Owner
Technical information
License
MIT
Client side
required
Server side
required
Project ID