Texture updates and Gui opening change
nothing big. Just updated the textures and reverted the gui to open on right click instead of with a wrench
This commit is contained in:
parent
638df386d3
commit
18aef1ff28
6 changed files with 28 additions and 28 deletions
|
@ -18,7 +18,7 @@ public class BlockSteamPiston extends universalelectricity.extend.BlockMachine{
|
||||||
|
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
public boolean onUseWrench(World par1World, int x, int y, int z, EntityPlayer par5EntityPlayer)
|
public boolean onMachineActivated(World par1World, int x, int y, int z, EntityPlayer par5EntityPlayer)
|
||||||
{
|
{
|
||||||
if (par1World.isRemote)
|
if (par1World.isRemote)
|
||||||
{
|
{
|
||||||
|
|
|
@ -31,25 +31,25 @@ public class ModelFurnace extends ModelBase
|
||||||
Body = new ModelRenderer(this, 0, 0);
|
Body = new ModelRenderer(this, 0, 0);
|
||||||
Body.addBox(-8F, -8F, -8F, 14, 14, 12);
|
Body.addBox(-8F, -8F, -8F, 14, 14, 12);
|
||||||
Body.setRotationPoint(1F, 18F, 1F);
|
Body.setRotationPoint(1F, 18F, 1F);
|
||||||
Body.setTextureSize(256, 256);
|
Body.setTextureSize(64, 32);
|
||||||
Body.mirror = true;
|
Body.mirror = true;
|
||||||
setRotation(Body, 0F, 0F, 0F);
|
setRotation(Body, 0F, 0F, 0F);
|
||||||
top = new ModelRenderer(this, 80, 20);
|
top = new ModelRenderer(this, 80, 20);
|
||||||
top.addBox(-8F, 0F, -8F, 16, 2, 16);
|
top.addBox(-8F, 0F, -8F, 16, 2, 16);
|
||||||
top.setRotationPoint(0F, 8F, 0F);
|
top.setRotationPoint(0F, 8F, 0F);
|
||||||
top.setTextureSize(256, 256);
|
top.setTextureSize(64, 32);
|
||||||
top.mirror = true;
|
top.mirror = true;
|
||||||
setRotation(top, 0F, 0F, 0F);
|
setRotation(top, 0F, 0F, 0F);
|
||||||
bottom = new ModelRenderer(this, 80, 0);
|
bottom = new ModelRenderer(this, 80, 0);
|
||||||
bottom.addBox(-8F, 22F, -8F, 16, 2, 16);
|
bottom.addBox(-8F, 22F, -8F, 16, 2, 16);
|
||||||
bottom.setRotationPoint(0F, 0F, 0F);
|
bottom.setRotationPoint(0F, 0F, 0F);
|
||||||
bottom.setTextureSize(256, 256);
|
bottom.setTextureSize(64, 32);
|
||||||
bottom.mirror = true;
|
bottom.mirror = true;
|
||||||
setRotation(bottom, 0F, 0F, 0F);
|
setRotation(bottom, 0F, 0F, 0F);
|
||||||
Shape1 = new ModelRenderer(this, 0, 0);
|
Shape1 = new ModelRenderer(this, 0, 27);
|
||||||
Shape1.addBox(-4F, -4F, 0F, 10, 8, 1);
|
Shape1.addBox(-4F, -4F, 0F, 10, 8, 1);
|
||||||
Shape1.setRotationPoint(-1F, 16F, 5F);
|
Shape1.setRotationPoint(-1F, 16F, 5F);
|
||||||
Shape1.setTextureSize(256, 256);
|
Shape1.setTextureSize(64, 32);
|
||||||
Shape1.mirror = true;
|
Shape1.mirror = true;
|
||||||
setRotation(Shape1, 0F, 0F, 0F);
|
setRotation(Shape1, 0F, 0F, 0F);
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 1.4 KiB |
BIN
src/minecraft/textures/SteelPiston.png
Normal file
BIN
src/minecraft/textures/SteelPiston.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1 KiB |
BIN
src/minecraft/textures/YellowPiston.png
Normal file
BIN
src/minecraft/textures/YellowPiston.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1 KiB |
Loading…
Reference in a new issue