mirror of
https://github.com/GTNewHorizons/ThaumicEnergistics.git
synced 2026-11-25 14:34:36 +00:00
Locked icon + more MP fixes.
Fixed occasional crash when the Knowledge Inscriber GUI was clicked. Added locked/unlocked texture & indicator to storage monitors. Fixed bug where autocrafting gui didn't always show the item being crafted. Fixed and cleaned up some gui sync issues. (will this never end?!)
This commit is contained in:
1 parent
ddb483d817
commit
ae17e65313
18 files changed
+627
-558
No files matched your search
+3
-9
@@ -1,7 +1,6 @@
|
||||
package thaumicenergistics.common.container;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.inventory.Container;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.world.World;
|
||||
import thaumcraft.api.aspects.Aspect;
|
||||
@@ -12,7 +11,7 @@ import thaumicenergistics.common.utils.EffectiveSide;
|
||||
import thaumicenergistics.common.utils.ThEUtils;
|
||||
|
||||
public class ContainerEssentiaVibrationChamber
|
||||
extends Container
|
||||
extends TheContainerBase
|
||||
{
|
||||
/**
|
||||
* The number of items to average.
|
||||
@@ -24,18 +23,13 @@ public class ContainerEssentiaVibrationChamber
|
||||
*/
|
||||
private final TileEssentiaVibrationChamber chamber;
|
||||
|
||||
/**
|
||||
* Player who has this container open.
|
||||
*/
|
||||
private final EntityPlayer player;
|
||||
|
||||
private float powerPerTick = 0, powerPercent = 1.0F, ticksPercent = 1.0F, ticksRemaningMovingAverage = 0.0F;
|
||||
private int averageTicksRemaning;
|
||||
|
||||
public ContainerEssentiaVibrationChamber( final EntityPlayer player, final World world, final int x, final int y, final int z )
|
||||
{
|
||||
// Set the player
|
||||
this.player = player;
|
||||
// Call super
|
||||
super( player );
|
||||
|
||||
// Get the tile entity
|
||||
TileEntity te = world.getTileEntity( x, y, z );
|
||||
|
||||
Reference in new issue
Block a user