mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-22 05:02:30 +00:00
Cocoon of Caprice.
This commit is contained in:
1 parent
e7b3f055ab
commit
7c16064326
14 files changed
+285
-36
No files matched your search
@@ -0,0 +1,33 @@
|
||||
/**
|
||||
* This class was created by <wiiv>. 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 @ [? (GMT)]
|
||||
*/
|
||||
package vazkii.botania.client.model;
|
||||
|
||||
import net.minecraft.client.model.ModelBase;
|
||||
import net.minecraft.client.model.ModelRenderer;
|
||||
import net.minecraft.entity.Entity;
|
||||
|
||||
public class ModelCocoon extends ModelBase {
|
||||
|
||||
public ModelRenderer shape;
|
||||
|
||||
public ModelCocoon() {
|
||||
textureWidth = 48;
|
||||
textureHeight = 32;
|
||||
shape = new ModelRenderer(this, 0, 0);
|
||||
shape.setRotationPoint(0.0F, 22.0F, 0.0F);
|
||||
shape.addBox(-5.0F, -8.0F, -7.0F, 10, 10, 14, 0.0F);
|
||||
}
|
||||
|
||||
public void render() {
|
||||
shape.render(1F / 16F);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user