本文整理汇总了Java中net.minecraft.client.model.ModelBlaze类的典型用法代码示例。如果您正苦于以下问题:Java ModelBlaze类的具体用法?Java ModelBlaze怎么用?Java ModelBlaze使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ModelBlaze类属于net.minecraft.client.model包,在下文中一共展示了ModelBlaze类的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: renderEvolvedBlaze
import net.minecraft.client.model.ModelBlaze; //导入依赖的package包/类
public void renderEvolvedBlaze(EntityEvolvedBlaze par1EntityEvolvedBlaze, double par2, double par4, double par6, float par8, float par9) {
final int i = ((ModelBlaze) this.mainModel).func_78104_a();
if (i != this.field_77068_a) {
this.field_77068_a = i;
this.mainModel = new ModelBlaze();
}
super.doRender(par1EntityEvolvedBlaze, par2, par4, par6, par8, par9);
}
示例2: doRender
import net.minecraft.client.model.ModelBlaze; //导入依赖的package包/类
/**
* Actually renders the given argument. This is a synthetic bridge method, always casting down its argument and then
* handing it off to a worker function which does the actual work. In all probabilty, the class Render is generic
* (Render<T extends Entity) and this method has signature public void doRender(T entity, double d, double d1,
* double d2, float f, float f1). But JAD is pre 1.5 so doesn't do that.
*/
public void doRender(EntityBlaze par1EntityBlaze, double par2, double par4, double par6, float par8, float par9)
{
int var10 = ((ModelBlaze)this.mainModel).func_78104_a();
if (var10 != this.field_77068_a)
{
this.field_77068_a = var10;
this.mainModel = new ModelBlaze();
}
super.doRender((EntityLiving)par1EntityBlaze, par2, par4, par6, par8, par9);
}
示例3: renderSCP0015
import net.minecraft.client.model.ModelBlaze; //导入依赖的package包/类
public void renderSCP0015(EntitySCP0015 entity, double par2, double par4,
double par6, float par8, float par9)
{
entityPipe = entity;
int var10 = ((ModelBlaze) this.mainModel).func_78104_a();
if (var10 != this.field_77068_a) {
this.field_77068_a = var10;
this.mainModel = new ModelBlaze();
}
super.doRender(entity, par2, par4, par6, par8, par9);
}
示例4: render
import net.minecraft.client.model.ModelBlaze; //导入依赖的package包/类
private void render()
{
RenderingRegistry.registerEntityRenderingHandler(EntityClassDMale.class, new RenderClassDMale(new ModelClassDMale(), 0.5F));
RenderingRegistry.registerEntityRenderingHandler(EntitySCP0023.class, new RenderSCP0023(new ModelSCP0023(), 0.5F));
RenderingRegistry.registerEntityRenderingHandler(EntitySCP0131.class, new RenderSCP0131(new ModelSCP0131(), 0.5F));
RenderingRegistry.registerEntityRenderingHandler(EntitySCP0173.class, new RenderSCP0173(new ModelSCP0173(), 0.5F));
RenderingRegistry.registerEntityRenderingHandler(EntitySCP0015.class, new RenderSCP0015(new ModelBlaze(), 0.0F));
RENDER_PIPE = RenderingRegistry.getNextAvailableRenderId();
RenderingRegistry.registerBlockHandler(RENDER_PIPE, new RenderTileSCP0015());
RENDER_DESK = RenderingRegistry.getNextAvailableRenderId();
RenderingRegistry.registerBlockHandler(RENDER_DESK, new RenderTileDesk());
RENDER_CHAIR = RenderingRegistry.getNextAvailableRenderId();
RenderingRegistry.registerBlockHandler(RENDER_CHAIR, new RenderTileChair());
ClientRegistry.bindTileEntitySpecialRenderer(TileEntityLightBulb.class, new RenderTileLightBulb());
}
示例5: doRender
import net.minecraft.client.model.ModelBlaze; //导入依赖的package包/类
public void doRender(EntityBlaze p_76986_1_, double p_76986_2_, double p_76986_4_, double p_76986_6_, float p_76986_8_, float p_76986_9_)
{
int i = ((ModelBlaze)this.mainModel).func_78104_a();
if (i != this.field_77068_a)
{
this.field_77068_a = i;
this.mainModel = new ModelBlaze();
}
super.doRender((EntityLiving)p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_);
}
示例6: func_77067_a
import net.minecraft.client.model.ModelBlaze; //导入依赖的package包/类
public void func_77067_a(EntityBlaze p_77067_1_, double p_77067_2_, double p_77067_4_, double p_77067_6_, float p_77067_8_, float p_77067_9_) {
int var10 = ((ModelBlaze)this.field_77045_g).func_78104_a();
if(var10 != this.field_77068_a) {
this.field_77068_a = var10;
this.field_77045_g = new ModelBlaze();
}
super.func_77031_a(p_77067_1_, p_77067_2_, p_77067_4_, p_77067_6_, p_77067_8_, p_77067_9_);
}
示例7: renderBlaze
import net.minecraft.client.model.ModelBlaze; //导入依赖的package包/类
public void renderBlaze(EntityBlaze par1EntityBlaze, double par2, double par4, double par6, float par8, float par9)
{
int i = ((ModelBlaze)this.mainModel).func_78104_a();
if (i != this.field_77068_a)
{
this.field_77068_a = i;
this.mainModel = new ModelBlaze();
}
super.doRenderLiving(par1EntityBlaze, par2, par4, par6, par8, par9);
}
示例8: RenderBlaze
import net.minecraft.client.model.ModelBlaze; //导入依赖的package包/类
public RenderBlaze(RenderManager renderManagerIn)
{
super(renderManagerIn, new ModelBlaze(), 0.5F);
}
示例9: makeModel
import net.minecraft.client.model.ModelBlaze; //导入依赖的package包/类
public ModelBase makeModel()
{
return new ModelBlaze();
}
示例10: getModelRenderer
import net.minecraft.client.model.ModelBlaze; //导入依赖的package包/类
public ModelRenderer getModelRenderer(ModelBase model, String modelPart)
{
if (!(model instanceof ModelBlaze))
{
return null;
}
else
{
ModelBlaze modelblaze = (ModelBlaze)model;
if (modelPart.equals("head"))
{
return (ModelRenderer)Reflector.getFieldValue(modelblaze, Reflector.ModelBlaze_blazeHead);
}
else
{
String s = "stick";
if (modelPart.startsWith(s))
{
ModelRenderer[] amodelrenderer = (ModelRenderer[])((ModelRenderer[])Reflector.getFieldValue(modelblaze, Reflector.ModelBlaze_blazeSticks));
if (amodelrenderer == null)
{
return null;
}
else
{
String s1 = modelPart.substring(s.length());
int i = Config.parseInt(s1, -1);
--i;
return i >= 0 && i < amodelrenderer.length ? amodelrenderer[i] : null;
}
}
else
{
return null;
}
}
}
}
示例11: RenderEvolvedBlaze
import net.minecraft.client.model.ModelBlaze; //导入依赖的package包/类
public RenderEvolvedBlaze() {
super(new ModelBlaze(), 0.5F);
this.field_77068_a = ((ModelBlaze) this.mainModel).func_78104_a();
}
示例12: RenderBlaze
import net.minecraft.client.model.ModelBlaze; //导入依赖的package包/类
public RenderBlaze()
{
super(new ModelBlaze(), 0.5F);
this.field_77068_a = ((ModelBlaze)this.mainModel).func_78104_a();
}
示例13: RenderSCP0015
import net.minecraft.client.model.ModelBlaze; //导入依赖的package包/类
public RenderSCP0015(ModelBlaze model, float f)
{
super(new ModelBlaze(), 0.5F);
this.field_77068_a = ((ModelBlaze) this.mainModel).func_78104_a();
this.scale = f;
}
示例14: RenderBlaze
import net.minecraft.client.model.ModelBlaze; //导入依赖的package包/类
public RenderBlaze() {
super(new ModelBlaze(), 0.5F);
this.field_77068_a = ((ModelBlaze)this.field_77045_g).func_78104_a();
}