mezz
92914f82ae
Add new IFluidHandler for capabilities. ( #2942 )
...
Old fluid system is deprecated and slated for removal in the next cleanup cycle.
2016-06-03 18:26:41 -07:00
LexManos
206a21d563
Fixed errrors in Fluids package. TODO: Make BlockLiquid implement IFluidBlock and REMOVE FluidContainerRegsitry. Everything *should* be able to use IFluidContainer directly.
2016-03-06 16:54:47 -08:00
cpw
44c4011575
Yeah, amount is NOT deprecated.
2015-11-24 15:30:22 -05:00
cpw
b4dc15a9cb
Cleanup Fluid deprecations stuff.
2015-11-24 10:05:35 -05:00
cpw
d02636213a
Merge branch '1.7.10' - imports all the fluid fixups and other stuff from 1.7 into 1.8
...
Conflicts:
fml/src/main/java/net/minecraftforge/fml/common/FMLCommonHandler.java
fml/src/main/java/net/minecraftforge/fml/common/Loader.java
patches/minecraft/net/minecraft/client/Minecraft.java.patch
patches/minecraft/net/minecraft/client/renderer/texture/TextureMap.java.patch
patches/minecraft/net/minecraft/item/ItemArmor.java.patch
patches/minecraft/net/minecraft/nbt/CompressedStreamTools.java.patch
patches/minecraft/net/minecraft/nbt/NBTTagCompound.java.patch
patches/minecraft/net/minecraft/nbt/NBTTagList.java.patch
patches/minecraft/net/minecraft/world/World.java.patch
patches/minecraft/net/minecraft/world/WorldProvider.java.patch
src/main/java/net/minecraftforge/common/ForgeVersion.java
src/main/java/net/minecraftforge/common/network/ForgeMessage.java
src/main/java/net/minecraftforge/fluids/BlockFluidBase.java
src/main/java/net/minecraftforge/fluids/FluidContainerRegistry.java
src/main/java/net/minecraftforge/fluids/FluidRegistry.java
src/main/java/net/minecraftforge/oredict/OreDictionary.java
2015-06-01 16:29:34 -04:00
cpw
0543828603
Make FluidStack hold a delegate for the fluid. This can then float based on what is "live" at present.
2015-04-20 09:06:23 -04:00
cpw
5c88164211
And handle the null case in the constructor itself. Closes #1794 (again)
2015-04-11 17:38:15 -04:00
cpw
9671179453
Fluids are now tracked internally by mod. This allows for the server and the world to specify a "default"
...
in the case of a possible alternative fluid implementation. If you always called registerFluid, things
should work pretty seamlessly, but if you didn't (gating with an isFluidRegistered check for example)
you should change to register anyway. This way, even if you're not default in the overall instance, you may
become default if you're the only mod present on a server, for example, or in a world save.
This should radically decrease the mixups caused by mod load ordering problems, and other issues around fluid
tracking.
2015-04-11 17:18:53 -04:00
cpw
4f0e2fb9c4
You shouldn't be creating FluidStacks from unregistered Fluids. Warn clearly on failed registrations, and make a useful log message for failed fluidstack
...
creations. Should help a lot with tracking down broken mods that are doing this wrongly.
2015-04-05 22:48:09 -04:00
cpw
defaddecec
Fix formatting
2015-04-05 22:30:39 -04:00
King Lemming
3fc40b955a
Removed fluidID from ItemStack.
...
This fixes a rather huge issue where FluidStacks on the client could be desynced if a modder was unaware of it.
This is a breaking change but can be mitigated with a transformer to the getter getFluidID().
Signed-off-by: King Lemming <kinglemming@gmail.com >
2015-04-05 22:30:39 -04:00
LexManos
261ba628df
Merge pull request #1217 from Glassmaker/patch-1
...
Adds getLocalizedName and getUnlocalizedName to FluidStack
2014-08-10 01:42:24 -07:00
ShetiPhian
22609b1d54
Legacy Liquid Load Fix
...
nbt.getString("FluidName") no longer returns null, it returns an empty string.
This patch allows legacy liquids to be resolved once again.
2014-08-05 21:08:53 -04:00
Glassmaker
ff2696dff8
Adds getLocalizedName and getUnlocalizedName to FluidStack
2014-07-10 15:25:53 +03:00
Lex Manos
2b9a2b5c1a
Inital Fluid system update, untested. Still in progress.
2014-01-29 18:34:23 -08:00
Lex Manos
baf95e747a
Fix warnings in Forge codebase.
2014-01-17 21:55:48 -08:00
Lex Manos
9cf0a5b68b
Comment out fluids until King gets his hands on it
2013-12-12 23:32:18 -08:00
AbrarSyed
797399ff7f
Step 2: The Reformation
2013-11-09 15:57:08 -06:00