User Tools

Site Tools


tutorial:transfer-api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
tutorial:transfer-api [2022/02/02 16:27] technici4ntutorial:transfer-api [2022/02/02 20:30] – [The Fluid Transfer API] technici4n
Line 1: Line 1:
-====== [WIP] Understanding the Fabric Transfer API ======+====== Fluid, Item and Energy Transfer ======
 This series of tutorials is meant to explain how the Fabric Transfer API works, and how you can use it for your own mods. This series of tutorials is meant to explain how the Fabric Transfer API works, and how you can use it for your own mods.
 **Please make sure that you read all of these tutorials in order, even if you are only interested by item transfer.** **Please make sure that you read all of these tutorials in order, even if you are only interested by item transfer.**
 For any question, please go to the ''#transfer-api-debating'' channel on the official Fabric Discord server. For any question, please go to the ''#transfer-api-debating'' channel on the official Fabric Discord server.
- 
 ==== The Fluid Transfer API ==== ==== The Fluid Transfer API ====
-- [[tutorial:transfer-api/simpletank|Creating a simple tank]] walks you through how you can create a simple tank, and what ''FluidVariant'' is. +  - [[tutorial:transfer-api/simpletank|Creating a simple tank]] walks you through how you can create a simple tank, and what ''FluidVariant'' is. 
-- [[tutorial:transfer-api/storage|Understanding Storage<FluidVariant>]] teaches what ''Storage<FluidVariant>'' is and how to use it. +  - [[tutorial:transfer-api/storage|Understanding Storage<FluidVariant>]] teaches what ''Storage<FluidVariant>'' is and how to use it. 
-- [Not yet written] This tutorial will provide an overview of the provided base implementations and how they can be used.+  - [[tutorial:transfer-api/fluid_implementation|How to implement Storage<FluidVariant>]] provides an overview of the storage implementations provided by Fabric, with plenty of example code.
  
 ==== The Item Transfer API ==== ==== The Item Transfer API ====
-- [Not yet written] This tutorial will explain how the item API is almost the same as the fluid API, and how wrappers around Inventory/PlayerInventory can be retrieved. +  - [Not yet written] This tutorial will explain how the item API is almost the same as the fluid API, and how wrappers around Inventory/PlayerInventory can be retrieved. 
-- [Not yet written] Same as the fluid tutorial, but will also explain ''SingleStackStorage'' and how to use ''Inventory''/''SidedInventory''/''InventoryProvider''.+  - [Not yet written] Same as the fluid tutorial, but will also explain ''SingleStackStorage'' and how to use ''Inventory''/''SidedInventory''/''InventoryProvider''.
  
 ==== Fluid-containing items ==== ==== Fluid-containing items ====
-- [Not yet written] How to use and implement the fluid-containing item API.+  - [Not yet written] How to use and implement the fluid-containing item API.
  
 ==== The TechReborn Energy API ==== ==== The TechReborn Energy API ====
-- [Not yet written] How to use and implement the TR energy API.+  - [Not yet written] How to use and implement the TR energy API.
tutorial/transfer-api.txt · Last modified: 2023/07/19 13:38 by technici4n