mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 03:39:17 +00:00
35 lines
829 B
Java
35 lines
829 B
Java
/**
|
|
* This class was created by <Vazkii>. It's distributed as
|
|
* part of the Botania Mod. Get the Source Code in github:
|
|
* https://github.com/Vazkii/Botania
|
|
*
|
|
* Botania is Open Source and distributed under the
|
|
* Botania License: http://botaniamod.net/license.php
|
|
*
|
|
* File Created @ [Jul 18, 2014, 7:55:34 PM (GMT)]
|
|
*/
|
|
package vazkii.botania.client.model;
|
|
|
|
import net.minecraft.client.model.ModelBase;
|
|
import net.minecraft.client.model.ModelRenderer;
|
|
|
|
public class ModelTinyPotato extends ModelBase {
|
|
|
|
final ModelRenderer potato;
|
|
|
|
public ModelTinyPotato() {
|
|
textureWidth = 64;
|
|
textureHeight = 32;
|
|
|
|
potato = new ModelRenderer(this, 0, 0);
|
|
potato.addBox(0F, 0F, 0F, 4, 6, 4);
|
|
potato.setRotationPoint(-2F, 18F, -2F);
|
|
potato.setTextureSize(64, 32);
|
|
}
|
|
|
|
public void render() {
|
|
potato.render(1F / 16F);
|
|
}
|
|
|
|
}
|