Remove some top level sideonlys where they werent meant to be used, fix wireframes rendering too opaquely

This commit is contained in:
Vincent Lee committed 2016-02-14 22:31:00 -06:00
1 parent 333102a08f
commit 37d63bc672
11 files changed
+1 -17

No files matched your search

@@ -33,7 +33,6 @@ public interface IBotaniaBoss extends IBossDisplayData {
* You can use BotaniaAPI.internalMethodHandler.getDefaultBossBarTexture() to get
* the one used by botania bosses.
*/
@SideOnly(Side.CLIENT)
public ResourceLocation getBossBarTexture();
/**
@@ -41,7 +40,6 @@ public interface IBotaniaBoss extends IBossDisplayData {
* boss bar texture. This is for the background, not the bar that shows
* the HP.
*/
@SideOnly(Side.CLIENT)
public Rectangle getBossBarTextureRect();
/**
@@ -50,7 +48,6 @@ public interface IBotaniaBoss extends IBossDisplayData {
* HP the boss has. The width of the rectangle will be multiplied by the
* faction of the boss's current HP by max HP.
*/
@SideOnly(Side.CLIENT)
public Rectangle getBossBarHPTextureRect();
/**
@@ -30,13 +30,11 @@ public interface IBotaniaBossWithShader extends IBotaniaBoss {
* @param background True if rendering the background of the boss bar,
* false if rendering the bar itself that shows the HP.
*/
@SideOnly(Side.CLIENT)
public int getBossBarShaderProgram(boolean background);
/**
* A callback for the shader, used to pass in uniforms. Return null for no callback.
*/
@SideOnly(Side.CLIENT)
public ShaderCallback getBossBarShaderCallback(boolean background, int shader);
}
@@ -21,7 +21,6 @@ public interface ICorporeaAutoCompleteController {
/**
* Return true if auto completion should be enabled.
*/
@SideOnly(Side.CLIENT)
public boolean shouldAutoComplete();
}
@@ -106,16 +106,12 @@ public interface IInternalMethodHandler {
@SideOnly(Side.CLIENT)
public void drawComplexManaHUD(int color, int mana, int maxMana, String name, ScaledResolution res, ItemStack bindDisplay, boolean properlyBound);
@SideOnly(Side.CLIENT)
public ItemStack getBindDisplayForFlowerType(SubTileEntity e);
@SideOnly(Side.CLIENT)
public void renderLexiconText(int x, int y, int width, int height, String unlocalizedText);
@SideOnly(Side.CLIENT)
public ResourceLocation getDefaultBossBarTexture();
@SideOnly(Side.CLIENT)
public void setBossStatus(IBotaniaBoss status);
public boolean isBuildcraftPipe(TileEntity tile);
@@ -32,7 +32,6 @@ public interface IBaubleRender {
* rendering. Will not be called if the item is a ICosmeticAttachable and
* has a cosmetic bauble attached to it.
*/
@SideOnly(Side.CLIENT)
public void onPlayerBaubleRender(ItemStack stack, EntityPlayer player, RenderType type, float partialTicks);
/**
@@ -29,7 +29,6 @@ public interface IWireframeCoordinateListProvider {
* Returns a list of BlockPos for the wireframes to draw.
* Can be null.
*/
@SideOnly(Side.CLIENT)
public List<BlockPos> getWireframesToDraw(EntityPlayer player, ItemStack stack);
}
@@ -18,7 +18,6 @@ import net.minecraftforge.fml.relauncher.SideOnly;
/**
* Why would you ever want this ._.
*/
@SideOnly(Side.CLIENT)
public class TinyPotatoRenderEvent extends Event {
public final TileEntity tile;
@@ -19,7 +19,6 @@ import net.minecraftforge.fml.relauncher.SideOnly;
*/
public interface ILens extends ILensEffect {
@SideOnly(Side.CLIENT)
public int getLensColor(ItemStack stack);
/**
@@ -12,7 +12,6 @@ import net.minecraftforge.fml.relauncher.SideOnly;
*/
public interface ICoordBoundItem {
@SideOnly(Side.CLIENT)
public BlockPos getBinding(ItemStack stack);
}
@@ -24,7 +24,6 @@ public interface ITileBound {
/**
* Gets where this block is bound to, can return null.
*/
@SideOnly(Side.CLIENT)
public BlockPos getBinding();
}
@@ -137,7 +137,7 @@ public final class BoundTileRenderer {
renderBlockOutline(axis);
GL11.glLineWidth(thickness + 3F);
GL11.glColor3ub((byte) colorRGB.getRed(), (byte) colorRGB.getGreen(), (byte) colorRGB.getBlue());
GL11.glColor4ub((byte) colorRGB.getRed(), (byte) colorRGB.getGreen(), (byte) colorRGB.getBlue(), ((byte) 64));
renderBlockOutline(axis);
}
}