All GUI compile errors fixed, switched to excludes over includes in gradle build and lots, LOTS of more fixes.
This commit is contained in:
@@ -24,6 +24,9 @@
|
||||
package appeng.api.config;
|
||||
|
||||
|
||||
import net.minecraft.util.text.ITextComponent;
|
||||
import net.minecraft.util.text.TranslationTextComponent;
|
||||
|
||||
public enum PowerUnits
|
||||
{
|
||||
AE( "gui.appliedenergistics2.units.appliedenergstics" ), // Native Units - AE Energy
|
||||
@@ -61,4 +64,8 @@ public enum PowerUnits
|
||||
return ( value * this.conversionRatio ) / target.conversionRatio;
|
||||
}
|
||||
|
||||
public ITextComponent textComponent() {
|
||||
return new TranslationTextComponent(unlocalizedName);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -26,6 +26,7 @@ package appeng.api.features;
|
||||
|
||||
import net.minecraft.entity.player.PlayerEntity;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.Hand;
|
||||
import net.minecraft.world.IBlockReader;
|
||||
|
||||
|
||||
@@ -61,5 +62,5 @@ public interface IWirelessTermRegistry
|
||||
* opens the wireless terminal gui, the wireless terminal item, must be in
|
||||
* the active slot on the tool bar.
|
||||
*/
|
||||
void openWirelessTerminalGui( ItemStack item, IBlockReader world, PlayerEntity player );
|
||||
void openWirelessTerminalGui( ItemStack item, IBlockReader world, PlayerEntity player, Hand hand );
|
||||
}
|
||||
|
||||
@@ -100,6 +100,11 @@ public class WorldCoord
|
||||
return this;
|
||||
}
|
||||
|
||||
public BlockPos getBlockPos()
|
||||
{
|
||||
return new BlockPos(x, y, z);
|
||||
}
|
||||
|
||||
/**
|
||||
* Will Return NULL if it's at some diagonal!
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user