mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Bump version, fixed Purification Chamber sounds, fixed empty Configurator mode
This commit is contained in:
1 parent
f277f49b92
commit
986ce14f2e
6 files changed
+21
-32
No files matched your search
@@ -162,7 +162,7 @@ import com.mojang.authlib.GameProfile;
|
||||
* @author AidanBrady
|
||||
*
|
||||
*/
|
||||
@Mod(modid = "mekanism", name = "Mekanism", version = "9.3.0", guiFactory = "mekanism.client.gui.ConfigGuiFactory",
|
||||
@Mod(modid = "mekanism", name = "Mekanism", version = "9.3.1", guiFactory = "mekanism.client.gui.ConfigGuiFactory",
|
||||
dependencies = "after:mcmultipart;" +
|
||||
"after:jei;" +
|
||||
"after:buildcraft;" +
|
||||
@@ -195,7 +195,7 @@ public class Mekanism
|
||||
public static Configuration configuration;
|
||||
|
||||
/** Mekanism version number */
|
||||
public static Version versionNumber = new Version(9, 3, 0);
|
||||
public static Version versionNumber = new Version(9, 3, 1);
|
||||
|
||||
/** MultiblockManagers for various structrures */
|
||||
public static MultiblockManager<SynchronizedTankData> tankManager = new MultiblockManager<SynchronizedTankData>("dynamicTank");
|
||||
|
||||
@@ -161,32 +161,21 @@ public class ItemConfigurator extends ItemEnergized implements IMekWrench, ITool
|
||||
float yRandom = random.nextFloat() * 0.8F + 0.1F;
|
||||
float zRandom = random.nextFloat() * 0.8F + 0.1F;
|
||||
|
||||
while(slotStack.getCount() > 0)
|
||||
EntityItem item = new EntityItem(world, pos.getX() + xRandom, pos.getY() + yRandom, pos.getZ() + zRandom, slotStack.copy());
|
||||
|
||||
if(slotStack.hasTagCompound())
|
||||
{
|
||||
int j = random.nextInt(21) + 10;
|
||||
|
||||
if(j > slotStack.getCount())
|
||||
{
|
||||
j = slotStack.getCount();
|
||||
}
|
||||
|
||||
slotStack.shrink(j);
|
||||
EntityItem item = new EntityItem(world, pos.getX() + xRandom, pos.getY() + yRandom, pos.getZ() + zRandom, new ItemStack(slotStack.getItem(), j, slotStack.getItemDamage()));
|
||||
|
||||
if(slotStack.hasTagCompound())
|
||||
{
|
||||
item.getEntityItem().setTagCompound((NBTTagCompound)slotStack.getTagCompound().copy());
|
||||
}
|
||||
|
||||
float k = 0.05F;
|
||||
item.motionX = random.nextGaussian() * k;
|
||||
item.motionY = random.nextGaussian() * k + 0.2F;
|
||||
item.motionZ = random.nextGaussian() * k;
|
||||
world.spawnEntity(item);
|
||||
|
||||
inv.setInventorySlotContents(i, ItemStack.EMPTY);
|
||||
setEnergy(stack, getEnergy(stack) - ENERGY_PER_ITEM_DUMP);
|
||||
item.getEntityItem().setTagCompound((NBTTagCompound)slotStack.getTagCompound().copy());
|
||||
}
|
||||
|
||||
float k = 0.05F;
|
||||
item.motionX = random.nextGaussian() * k;
|
||||
item.motionY = random.nextGaussian() * k + 0.2F;
|
||||
item.motionZ = random.nextGaussian() * k;
|
||||
world.spawnEntity(item);
|
||||
|
||||
inv.setInventorySlotContents(i, ItemStack.EMPTY);
|
||||
setEnergy(stack, getEnergy(stack) - ENERGY_PER_ITEM_DUMP);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ import net.minecraftforge.oredict.OreDictionary;
|
||||
import buildcraft.api.fuels.BuildcraftFuelRegistry;
|
||||
import buildcraft.api.fuels.IFuel;
|
||||
|
||||
@Mod(modid = "mekanismgenerators", name = "MekanismGenerators", version = "9.3.0", dependencies = "required-after:mekanism", guiFactory = "mekanism.generators.client.gui.GeneratorsGuiFactory")
|
||||
@Mod(modid = "mekanismgenerators", name = "MekanismGenerators", version = "9.3.1", dependencies = "required-after:mekanism", guiFactory = "mekanism.generators.client.gui.GeneratorsGuiFactory")
|
||||
public class MekanismGenerators implements IModule
|
||||
{
|
||||
@SidedProxy(clientSide = "mekanism.generators.client.GeneratorsClientProxy", serverSide = "mekanism.generators.common.GeneratorsCommonProxy")
|
||||
@@ -57,7 +57,7 @@ public class MekanismGenerators implements IModule
|
||||
public static MekanismGenerators instance;
|
||||
|
||||
/** MekanismGenerators version number */
|
||||
public static Version versionNumber = new Version(9, 3, 0);
|
||||
public static Version versionNumber = new Version(9, 3, 1);
|
||||
|
||||
public static MultiblockManager<SynchronizedTurbineData> turbineManager = new MultiblockManager<SynchronizedTurbineData>("industrialTurbine");
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ import net.minecraftforge.fml.common.event.FMLInitializationEvent;
|
||||
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
|
||||
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
|
||||
|
||||
@Mod(modid = "mekanismtools", name = "MekanismTools", version = "9.3.0", dependencies = "required-after:mekanism", guiFactory = "mekanism.tools.client.gui.ToolsGuiFactory")
|
||||
@Mod(modid = "mekanismtools", name = "MekanismTools", version = "9.3.1", dependencies = "required-after:mekanism", guiFactory = "mekanism.tools.client.gui.ToolsGuiFactory")
|
||||
public class MekanismTools implements IModule
|
||||
{
|
||||
@SidedProxy(clientSide = "mekanism.tools.client.ToolsClientProxy", serverSide = "mekanism.tools.common.ToolsCommonProxy")
|
||||
@@ -42,7 +42,7 @@ public class MekanismTools implements IModule
|
||||
public static MekanismTools instance;
|
||||
|
||||
/** MekanismTools version number */
|
||||
public static Version versionNumber = new Version(9, 3, 0);
|
||||
public static Version versionNumber = new Version(9, 3, 1);
|
||||
|
||||
//Enums: Tools
|
||||
public static ToolMaterial toolOBSIDIAN;
|
||||
|
||||
Reference in new issue
Block a user