From 2cfc9e83f16e51c1a0faa67335360eb3650652e3 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Mon, 24 Aug 2015 20:15:24 +0200 Subject: [PATCH] Small little fixes to the Cloud System~ --- .../java/ellpeck/actuallyadditions/blocks/BlockSmileyCloud.java | 2 +- .../actuallyadditions/blocks/render/RenderSmileyCloud.java | 2 +- .../actuallyadditions/gadget/cloud/SmileyCloudEasterEggs.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/ellpeck/actuallyadditions/blocks/BlockSmileyCloud.java b/src/main/java/ellpeck/actuallyadditions/blocks/BlockSmileyCloud.java index 868836d03..24c6e1eec 100644 --- a/src/main/java/ellpeck/actuallyadditions/blocks/BlockSmileyCloud.java +++ b/src/main/java/ellpeck/actuallyadditions/blocks/BlockSmileyCloud.java @@ -31,7 +31,7 @@ public class BlockSmileyCloud extends BlockContainerBase implements INameableIte super(Material.cloth); this.setHardness(0.5F); this.setResistance(5.0F); - this.setStepSound(soundTypeWood); + this.setStepSound(soundTypeCloth); } @Override diff --git a/src/main/java/ellpeck/actuallyadditions/blocks/render/RenderSmileyCloud.java b/src/main/java/ellpeck/actuallyadditions/blocks/render/RenderSmileyCloud.java index 95373fe2d..953ddb117 100644 --- a/src/main/java/ellpeck/actuallyadditions/blocks/render/RenderSmileyCloud.java +++ b/src/main/java/ellpeck/actuallyadditions/blocks/render/RenderSmileyCloud.java @@ -87,7 +87,7 @@ public class RenderSmileyCloud extends RenderTileEntity{ GL11.glEnable(GL11.GL_TEXTURE_2D); 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.glDisable(GL11.GL_BLEND); diff --git a/src/main/java/ellpeck/actuallyadditions/gadget/cloud/SmileyCloudEasterEggs.java b/src/main/java/ellpeck/actuallyadditions/gadget/cloud/SmileyCloudEasterEggs.java index 580b5975b..7e96e1d60 100644 --- a/src/main/java/ellpeck/actuallyadditions/gadget/cloud/SmileyCloudEasterEggs.java +++ b/src/main/java/ellpeck/actuallyadditions/gadget/cloud/SmileyCloudEasterEggs.java @@ -110,7 +110,7 @@ public class SmileyCloudEasterEggs{ @Override public void renderExtra(float f){ renderHoldingItem(false, new ItemStack(Items.wooden_sword)); - renderHeadBlock(Blocks.chest, 10, 70F); + renderHeadBlock(Blocks.chest, 0, 70F); } }); //Lari