Add water and lava to liquid dictionary by default, closes #419

This commit is contained in:
LexManos 2013-02-23 13:53:05 -08:00
parent f0ea9c9106
commit 0f696c3739

View file

@ -3,10 +3,9 @@ package net.minecraftforge.liquids;
import java.util.HashMap;
import java.util.Map;
import net.minecraft.item.ItemStack;
import net.minecraft.block.Block;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.event.Event;
import net.minecraftforge.oredict.OreDictionary.OreRegisterEvent;
import com.google.common.collect.ImmutableMap;
@ -87,4 +86,10 @@ public abstract class LiquidDictionary
this.Liquid = liquid.copy();
}
}
static
{
getOrCreateLiquid("Water", new LiquidStack(Block.waterStill, LiquidContainerRegistry.BUCKET_VOLUME));
getOrCreateLiquid("Lava", new LiquidStack(Block.lavaStill, LiquidContainerRegistry.BUCKET_VOLUME));
}
}