mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-28 15:56:14 +00:00
Cleanup~
This commit is contained in:
1 parent
f04c50a2d7
commit
a11127f368
46 files changed
+234
-261
No files matched your search
@@ -33,7 +33,7 @@ public class ModelPump extends ModelBase{
|
||||
for(float r = 0; r <= Math.PI * 2; r += Math.PI) {
|
||||
ModelRenderer side = new ModelRenderer(this, 22, 0);
|
||||
|
||||
side.addBox(-4.0F, -4.0F, 7.0F, 8, 8, 1);
|
||||
side.addBox(-4.0F, -4.0F, 7.0F, 8, 8, 1);
|
||||
side.setRotationPoint(0.0F, 0.0F, 0.0F);
|
||||
side.rotateAngleY = r;
|
||||
main.addChild(side);
|
||||
@@ -59,9 +59,9 @@ public class ModelPump extends ModelBase{
|
||||
|
||||
parts.add(main);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public void render(float ringPos) {
|
||||
public void render(float ringPos) {
|
||||
for(ModelRenderer iRing : innerRing)
|
||||
iRing.rotationPointZ = ringPos;
|
||||
|
||||
|
||||
Reference in new issue
Block a user