mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-16 01:54:59 +00:00
readme and other
This commit is contained in:
1 parent
b91c393aaf
commit
170e8c4a3b
5 files changed
+75
-5
No files matched your search
@@ -0,0 +1,73 @@
|
||||
# AE2 Fluid Crafting Rework
|
||||
|
||||
Put fluids in the pattern!
|
||||
|
||||
AE2 autocrafting is amazing and everyone loves it, but it is always becoming painful when dealing with fluids. You have to put fluids in a container or use a dummy item to write patterns with fluids.
|
||||
|
||||
That's because AE2 doesn't support fluid as valid crafting ingredients before 1.18, so it can't handle fluids directly.
|
||||
|
||||
However, it is changed now! With **AE2 Fluid Crafting** you can write patterns with fluids freely. Your AE system can output and accept fluids like items without worrying about how to handle these fluid cells.
|
||||
|
||||
This is a rework and ported version of [ae2-fluid-crafting](https://github.com/phantamanta44/ae2-fluid-crafting)
|
||||
|
||||
## Installation
|
||||
|
||||
### 1.7.10
|
||||
Any version of AE2(Both Official AE2 and GTNH edition AE2 works).
|
||||
**Extra Cells isn't needed**
|
||||
|
||||
### 1.12.2
|
||||
WIP
|
||||
|
||||
### 1.16.5
|
||||
WIP
|
||||
|
||||
## Basic Devices
|
||||
|
||||
### Fluid Discretizer
|
||||
The **Fluid Discretizer** is a device that, when attached to ME network, exposes the contents of its fluid storage grid as items, which take the form of "fluid drops".
|
||||
It does this by functioning as a sort of storage bus: when fluid drops are removed from its storage via the item grid, it extracts the corresponding fluid from the fluid grid.
|
||||
Conversely, when fluid drops inserted into its storage via the item grid, it injects the corresponding fluid into the fluid grid.
|
||||
Each fluid drop is equivalent to one mB of its respective fluid, which means a full stack of them is equivalent to 64 mB.
|
||||
Fluid drops have an important property: when an ME interface attempts to export fluid drops to a machine, it will attempt to convert them to fluid.
|
||||
This means an interface exporting drops of gelid cryotheum into a fluid transposer will successfully fill the transposer's internal tank rather than inserting the drops as items.
|
||||
This is the central mechanic that makes fluid autocrafting possible.
|
||||
Note that the only way to convert between fluids and fluid drops is a discretizer attached to an ME network.
|
||||
While you could theoretically use this as a very convoluted method of transporting fluids, it is not recomomended to do so.
|
||||
|
||||
### Fluid Pattern Encoder
|
||||
Most crafting recipes involving fluids require far more than 64 mB of a particular fluid, and so the standard pattern terminal will not do for encoding such recipes into patterns.
|
||||
This problem is solved by the **Fluid Pattern Encoder**, a utility that functions similarly to a pattern terminal.
|
||||
When a fluid-handling item (e.g. a bucket or tank) is inserted into the crafting ingredient slots, they will be converted into an equivalent stack of the corresponding fluid drops.
|
||||
Using this, patterns for recipes that require more than a stack of fluid drops can easily be encoded.
|
||||
AE2 Fluid Crafting also comes with a handy JEI integration module that allows the fluid pattern encoder to encode any JEI recipe involving fluids.
|
||||
This is the recommended way to play with the mod, since encoding patterns by hand is a little cumbersome.
|
||||
|
||||
### Fluid Pattern Terminal
|
||||
|
||||
Encoding recipes in a big and bulky workbench separate from the rest of your AE2 equipment can be a little inconvenient.
|
||||
Luckily, we have the **Fluid Pattern Terminal**, which combines the functionality of the standard pattern terminal and the fluid pattern encoder.
|
||||
Now, you can encode your fluid recipes using the same familiar interface you know and love!
|
||||
|
||||
### Fluid Pattern Interface
|
||||
|
||||
The standard ME interface lets you emit items and fluid packets with AE2FC, but it will only accept items, as in vanilla AE2.
|
||||
This is a little inconvenient when you want to build compact setups for autocrafting with fluid outputs, where you would need to use both an item interface for inputs, and a separate fluid interface for outputs.
|
||||
To make things easier, we have the **Fluid Pattern Interface**, which functions as a combination of an item interface and a fluid interface!
|
||||
Its GUI is the same as normal ME interface, but it can emit fluids directly instead of fluid packets! It also accepts fluid and item inputs.
|
||||
Automating fluid crafting machines has never been this quick and painless!
|
||||
|
||||
### Fluid Packets
|
||||
|
||||
When putting fluid pattern in a normal ME interface, it will emit fluid packets as fluid.
|
||||
So if you prefer to deal with item instead of fluids, you can transport these packets and turn them back to fluid with **ME Fluid Packet Decoder**.
|
||||
Simply connect the decoder to your ME network and insert the fluid packet; the decoder will, if possible, inject the fluid into your fluid storage grid.
|
||||
|
||||
## Credited Works
|
||||
|
||||
E. Geng(@phantamanta44) and KilaBash (@Yefancy) - Their amazing origin work in 1.12.
|
||||
|
||||
## To-Do
|
||||
|
||||
-[ ] Port to 1.12, with supporting for PAE2
|
||||
-[ ] Port to 1.16.5
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
modName = FluidCraftForAE2
|
||||
modName = Fluid Craft For AE2
|
||||
|
||||
# This is a case-sensitive string to identify your mod. Convention is to use lower case.
|
||||
modId = ae2fc
|
||||
|
||||
@@ -16,7 +16,7 @@ import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||
import cpw.mods.fml.common.network.NetworkRegistry;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
|
||||
@Mod(modid = FluidCraft.MODID, version = FluidCraft.VERSION)
|
||||
@Mod(modid = FluidCraft.MODID, version = FluidCraft.VERSION, name = FluidCraft.MODNAME)
|
||||
public class FluidCraft {
|
||||
|
||||
public static final String MODID = "GRADLETOKEN_MODID";
|
||||
|
||||
@@ -2,12 +2,9 @@ package com.glodblock.github.nei.object;
|
||||
|
||||
import codechicken.nei.PositionedStack;
|
||||
import com.glodblock.github.util.Util;
|
||||
import cpw.mods.fml.common.network.ByteBufUtils;
|
||||
import io.netty.buffer.ByteBuf;
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraftforge.fluids.FluidRegistry;
|
||||
import net.minecraftforge.fluids.FluidStack;
|
||||
import net.minecraftforge.oredict.OreDictionary;
|
||||
|
||||
|
||||
Reference in new issue
Block a user