Small little fixes to the Cloud System~

This commit is contained in:
Ellpeck 2015-08-24 20:15:24 +02:00
parent 3a2a0c74be
commit 2cfc9e83f1
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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);

View file

@ -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