mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 08:48:34 +01:00
Small little fixes to the Cloud System~
This commit is contained in:
parent
3a2a0c74be
commit
2cfc9e83f1
3 changed files with 3 additions and 3 deletions
|
@ -31,7 +31,7 @@ public class BlockSmileyCloud extends BlockContainerBase implements INameableIte
|
||||||
super(Material.cloth);
|
super(Material.cloth);
|
||||||
this.setHardness(0.5F);
|
this.setHardness(0.5F);
|
||||||
this.setResistance(5.0F);
|
this.setResistance(5.0F);
|
||||||
this.setStepSound(soundTypeWood);
|
this.setStepSound(soundTypeCloth);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -87,7 +87,7 @@ public class RenderSmileyCloud extends RenderTileEntity{
|
||||||
GL11.glEnable(GL11.GL_TEXTURE_2D);
|
GL11.glEnable(GL11.GL_TEXTURE_2D);
|
||||||
GL11.glDepthMask(true);
|
GL11.glDepthMask(true);
|
||||||
|
|
||||||
Minecraft.getMinecraft().fontRenderer.drawString(theCloud.name, -Minecraft.getMinecraft().fontRenderer.getStringWidth(theCloud.name)/2, 0, 0xFFFFFF);
|
Minecraft.getMinecraft().fontRenderer.drawString(theCloud.name, -Minecraft.getMinecraft().fontRenderer.getStringWidth(theCloud.name)/2, 0, StringUtil.DECIMAL_COLOR_WHITE);
|
||||||
|
|
||||||
GL11.glEnable(GL11.GL_LIGHTING);
|
GL11.glEnable(GL11.GL_LIGHTING);
|
||||||
GL11.glDisable(GL11.GL_BLEND);
|
GL11.glDisable(GL11.GL_BLEND);
|
||||||
|
|
|
@ -110,7 +110,7 @@ public class SmileyCloudEasterEggs{
|
||||||
@Override
|
@Override
|
||||||
public void renderExtra(float f){
|
public void renderExtra(float f){
|
||||||
renderHoldingItem(false, new ItemStack(Items.wooden_sword));
|
renderHoldingItem(false, new ItemStack(Items.wooden_sword));
|
||||||
renderHeadBlock(Blocks.chest, 10, 70F);
|
renderHeadBlock(Blocks.chest, 0, 70F);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
//Lari
|
//Lari
|
||||||
|
|
Loading…
Reference in a new issue