mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-18 19:39:12 +00:00
* Fix shift-merging tools voiding items fixes <https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/11392> * Change 0-sized ItemStacks into null stacks in crafting station attached slots Fixes <https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/10425> * Update buildscript * spotlessApply
34 lines
1.5 KiB
Java
34 lines
1.5 KiB
Java
package tconstruct.world.model;
|
|
|
|
import net.minecraft.client.model.ModelBase;
|
|
|
|
public class CrystalModelSmall extends ModelBase {
|
|
/*
|
|
* ModelRenderer body; ModelRendererTurbo top; ModelRendererTurbo bottom;
|
|
*
|
|
* public CrystalModelSmall() { textureWidth = 32; textureHeight = 32;
|
|
*
|
|
* body = new ModelRenderer(this, 0, 8); body.addBox(-2F, 0F, -2F, 4, 6, 4);
|
|
* body.setRotationPoint(0F, 0F, 0F); setRotation(body, 0, 0.7853982F, 0);
|
|
* top = new ModelRendererTurbo(this, 0, 0, 32, 32); top.addCone(0, 0, 0,
|
|
* 2.8F, 4, 4, 0, ModelRendererTurbo.MR_BOTTOM, 4, 8);
|
|
* top.setRotationPoint(0F, -4F, 0F); setRotation(top, 0F, 0F, 0F); bottom =
|
|
* new ModelRendererTurbo(this, 0, 18, 32, 32); top.addCone(0, 10, 0, 2.8F,
|
|
* 4, 4, 0, ModelRendererTurbo.MR_TOP, 4, 8); bottom.setRotationPoint(0F,
|
|
* 6F, 0F); //setRotation(bottom, 0F, 0F, 0F); }
|
|
*
|
|
* public void render (Entity entity, float f, float f1, float f2, float f3,
|
|
* float f4, float f5) { super.render(entity, f, f1, f2, f3, f4, f5);
|
|
* setRotationAngles(f, f1, f2, f3, f4, f5, entity); body.render(f5);
|
|
* top.render(f5); bottom.render(f5); }
|
|
*
|
|
* private void setRotation (ModelRenderer model, float x, float y, float z)
|
|
* { model.rotateAngleX = x; model.rotateAngleY = y; model.rotateAngleZ = z;
|
|
* }
|
|
*
|
|
* public void setRotationAngles (float f, float f1, float f2, float f3,
|
|
* float f4, float f5, Entity entity) { super.setRotationAngles(f, f1, f2,
|
|
* f3, f4, f5, entity); }
|
|
*/
|
|
}
|