mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-27 15:23:16 +00:00
v5.4.2 Beta #4
*Unique sounds for Smelting Factory depending on it's operation. *Energized Smelter -- a furnace that runs on energy. *Better, more efficient sound management. *Steel Casing for machines. *Different textures for Steel and Osmium blocks.
This commit is contained in:
1 parent
9f7096250f
commit
9b34273572
25 files changed
+194
-30
No files matched your search
@@ -15,6 +15,7 @@ import mekanism.api.IEnergyCube;
|
||||
import mekanism.api.IFactory;
|
||||
import mekanism.api.IUpgradeManagement;
|
||||
import mekanism.api.SideData;
|
||||
import mekanism.client.IHasSound;
|
||||
import mekanism.client.Sound;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
@@ -32,7 +33,7 @@ import cpw.mods.fml.relauncher.SideOnly;
|
||||
import dan200.computer.api.IComputerAccess;
|
||||
import dan200.computer.api.IPeripheral;
|
||||
|
||||
public abstract class TileEntityBasicMachine extends TileEntityElectricBlock implements IElectricMachine, IEnergySink, IPeripheral, IActiveState, IConfigurable, IUpgradeManagement
|
||||
public abstract class TileEntityBasicMachine extends TileEntityElectricBlock implements IElectricMachine, IEnergySink, IPeripheral, IActiveState, IConfigurable, IUpgradeManagement, IHasSound
|
||||
{
|
||||
/** The Sound instance for this machine. */
|
||||
@SideOnly(Side.CLIENT)
|
||||
@@ -410,4 +411,10 @@ public abstract class TileEntityBasicMachine extends TileEntityElectricBlock imp
|
||||
{
|
||||
speedMultiplier = multiplier;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Sound getSound()
|
||||
{
|
||||
return audio;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user