Update changelog, make new crafting tasks actually use bucket filling mechanic again
This commit is contained in:
		| @@ -1,6 +1,8 @@ | |||||||
| # Refined Storage Changelog | # Refined Storage Changelog | ||||||
|  |  | ||||||
| ### 1.0 | ### 1.0 | ||||||
|  | **NOTE:** Due to the new crafting system, all Crafting Patterns made before 1.x have to be re-made. | ||||||
|  |  | ||||||
| - Implemented multithreaded autocrafting (raoulvdberge) | - Implemented multithreaded autocrafting (raoulvdberge) | ||||||
| - Processing patterns now hold their items back for pushing until all the required items are gathered from the system (raoulvdberge) | - Processing patterns now hold their items back for pushing until all the required items are gathered from the system (raoulvdberge) | ||||||
| - Fixed item and fluid storage stored count having incorrect values at times (raoulvdberge) | - Fixed item and fluid storage stored count having incorrect values at times (raoulvdberge) | ||||||
| @@ -10,6 +12,7 @@ | |||||||
| - When shift clicking a recipe in the Crafting Grid, the player inventory is now leveraged as well (raoulvdberge) | - When shift clicking a recipe in the Crafting Grid, the player inventory is now leveraged as well (raoulvdberge) | ||||||
| - Fixed machines breaking on long distances (raoulvdberge) | - Fixed machines breaking on long distances (raoulvdberge) | ||||||
| - Fixed controller rebuilding network graph on energy change (raoulvdberge) | - Fixed controller rebuilding network graph on energy change (raoulvdberge) | ||||||
|  | - Fixed fluids not caring about NBT tags (raoulvdberge) | ||||||
|  |  | ||||||
| ### 0.9.4 | ### 0.9.4 | ||||||
| - Little fixes in German translation (ThexXTURBOXx) | - Little fixes in German translation (ThexXTURBOXx) | ||||||
|   | |||||||
| @@ -5,7 +5,7 @@ import net.minecraft.nbt.NBTTagCompound; | |||||||
| import net.minecraft.world.World; | import net.minecraft.world.World; | ||||||
| import refinedstorage.api.autocrafting.ICraftingPattern; | import refinedstorage.api.autocrafting.ICraftingPattern; | ||||||
| import refinedstorage.api.network.INetworkMaster; | import refinedstorage.api.network.INetworkMaster; | ||||||
| import refinedstorage.api.network.NetworkUtils; | import refinedstorage.apiimpl.storage.fluid.FluidUtils; | ||||||
|  |  | ||||||
| public class CraftingTaskNormal extends CraftingTask { | public class CraftingTaskNormal extends CraftingTask { | ||||||
|     public static final String NBT_SATISFIED = "Satisfied"; |     public static final String NBT_SATISFIED = "Satisfied"; | ||||||
| @@ -37,7 +37,7 @@ public class CraftingTaskNormal extends CraftingTask { | |||||||
|             ItemStack input = pattern.getInputs().get(i); |             ItemStack input = pattern.getInputs().get(i); | ||||||
|  |  | ||||||
|             if (!satisfied[i]) { |             if (!satisfied[i]) { | ||||||
|                 ItemStack received = NetworkUtils.extractItem(network, input, input.stackSize); |                 ItemStack received = FluidUtils.extractItemOrIfBucketLookInFluids(network, input, input.stackSize); | ||||||
|  |  | ||||||
|                 if (received != null) { |                 if (received != null) { | ||||||
|                     satisfied[i] = true; |                     satisfied[i] = true; | ||||||
|   | |||||||
| @@ -7,8 +7,8 @@ import net.minecraftforge.items.ItemHandlerHelper; | |||||||
| import refinedstorage.api.autocrafting.ICraftingPattern; | import refinedstorage.api.autocrafting.ICraftingPattern; | ||||||
| import refinedstorage.api.autocrafting.ICraftingPatternContainer; | import refinedstorage.api.autocrafting.ICraftingPatternContainer; | ||||||
| import refinedstorage.api.network.INetworkMaster; | import refinedstorage.api.network.INetworkMaster; | ||||||
| import refinedstorage.api.network.NetworkUtils; |  | ||||||
| import refinedstorage.api.storage.CompareUtils; | import refinedstorage.api.storage.CompareUtils; | ||||||
|  | import refinedstorage.apiimpl.storage.fluid.FluidUtils; | ||||||
|  |  | ||||||
| public class CraftingTaskProcessing extends CraftingTask { | public class CraftingTaskProcessing extends CraftingTask { | ||||||
|     public static final String NBT_SATISFIED = "Satisfied"; |     public static final String NBT_SATISFIED = "Satisfied"; | ||||||
| @@ -47,7 +47,7 @@ public class CraftingTaskProcessing extends CraftingTask { | |||||||
|             ItemStack input = pattern.getInputs().get(i); |             ItemStack input = pattern.getInputs().get(i); | ||||||
|  |  | ||||||
|             if (!satisfied[i]) { |             if (!satisfied[i]) { | ||||||
|                 ItemStack received = NetworkUtils.extractItem(network, input, input.stackSize); |                 ItemStack received = FluidUtils.extractItemOrIfBucketLookInFluids(network, input, input.stackSize); | ||||||
|  |  | ||||||
|                 if (received != null) { |                 if (received != null) { | ||||||
|                     satisfied[i] = true; |                     satisfied[i] = true; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Raoul Van den Berge
					Raoul Van den Berge