mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-22 13:09:59 +00:00
Comment out fluids until King gets his hands on it
This commit is contained in:
1 parent
6eb9915690
commit
9cf0a5b68b
13 files changed
+114
-65
No files matched your search
@@ -20,6 +20,7 @@ import com.google.common.collect.ImmutableMap;
|
||||
*/
|
||||
public abstract class FluidRegistry
|
||||
{
|
||||
/*
|
||||
static int maxID = 0;
|
||||
|
||||
static HashMap<String, Fluid> fluids = new HashMap();
|
||||
@@ -52,7 +53,7 @@ public abstract class FluidRegistry
|
||||
|
||||
/**
|
||||
* Called by Forge to prepare the ID map for server -> client sync.
|
||||
*/
|
||||
* /
|
||||
static void initFluidIDs(BiMap<String, Integer> newfluidIDs)
|
||||
{
|
||||
maxID = newfluidIDs.size();
|
||||
@@ -66,7 +67,7 @@ public abstract class FluidRegistry
|
||||
* @param fluid
|
||||
* The fluid to register.
|
||||
* @return True if the fluid was successfully registered; false if there is a name clash.
|
||||
*/
|
||||
* /
|
||||
public static boolean registerFluid(Fluid fluid)
|
||||
{
|
||||
if (fluidIDs.containsKey(fluid.getName()))
|
||||
@@ -126,7 +127,7 @@ public abstract class FluidRegistry
|
||||
|
||||
/**
|
||||
* Returns a read-only map containing Fluid Names and their associated Fluids.
|
||||
*/
|
||||
* /
|
||||
public static Map<String, Fluid> getRegisteredFluids()
|
||||
{
|
||||
return ImmutableMap.copyOf(fluids);
|
||||
@@ -134,7 +135,7 @@ public abstract class FluidRegistry
|
||||
|
||||
/**
|
||||
* Returns a read-only map containing Fluid Names and their associated IDs.
|
||||
*/
|
||||
* /
|
||||
public static Map<String, Integer> getRegisteredFluidIDs()
|
||||
{
|
||||
return ImmutableMap.copyOf(fluidIDs);
|
||||
@@ -167,4 +168,5 @@ public abstract class FluidRegistry
|
||||
this.fluidID = fluidID;
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
Reference in new issue
Block a user