本文整理汇总了Java中net.minecraft.client.renderer.entity.layers.LayerArrow类的典型用法代码示例。如果您正苦于以下问题:Java LayerArrow类的具体用法?Java LayerArrow怎么用?Java LayerArrow使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
LayerArrow类属于net.minecraft.client.renderer.entity.layers包,在下文中一共展示了LayerArrow类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: RenderPlayer
import net.minecraft.client.renderer.entity.layers.LayerArrow; //导入依赖的package包/类
public RenderPlayer(RenderManager renderManager, boolean useSmallArms)
{
super(renderManager, new ModelPlayer(0.0F, useSmallArms), 0.5F);
this.smallArms = useSmallArms;
this.addLayer(new LayerBipedArmor(this));
this.addLayer(new LayerHeldItem(this));
this.addLayer(new LayerArrow(this));
this.addLayer(new LayerDeadmau5Head(this));
this.addLayer(new LayerCape(this));
this.addLayer(new LayerCustomHead(this.getMainModel().bipedHead));
}
示例2: init
import net.minecraft.client.renderer.entity.layers.LayerArrow; //导入依赖的package包/类
@Inject(
method = "<init>(Lnet/minecraft/client/renderer/entity/RenderManager;Z)V",
at = @At("RETURN"))
private void init(RenderManager renderManager, boolean useSmallArms, CallbackInfo ci) {
this.playerModel = smallArms ? PMAPI.ponySmall : PMAPI.pony;
this.mainModel = this.playerModel.getModel();
this.layerRenderers.clear();
this.addLayer(new LayerPonyArmor(this));
this.addLayer(new LayerHeldPonyItem(this));
this.addLayer(new LayerArrow(this));
this.addLayer(new LayerPonyCape(this));
this.addLayer(new LayerPonyCustomHead(this));
this.addLayer(new LayerPonyElytra(this));
this.addLayer(new LayerEntityOnPonyShoulder(renderManager, this));
}
示例3: RenderPlayer
import net.minecraft.client.renderer.entity.layers.LayerArrow; //导入依赖的package包/类
public RenderPlayer(RenderManager renderManager, boolean useSmallArms)
{
super(renderManager, new ModelPlayer(0.0F, useSmallArms), 0.5F);
this.smallArms = useSmallArms;
this.addLayer(new LayerBipedArmor(this));
this.addLayer(new LayerHeldItem(this));
this.addLayer(new LayerArrow(this));
this.addLayer(new LayerDeadmau5Head(this));
this.addLayer(new LayerCape(this));
this.addLayer(new LayerCustomHead(this.getMainModel().bipedHead));
this.addLayer(new LayerElytra(this));
}
示例4: RenderMinionBase
import net.minecraft.client.renderer.entity.layers.LayerArrow; //导入依赖的package包/类
public RenderMinionBase(RenderManager renderManagerIn) {
super(renderManagerIn, new ModelMinionBase(0.0F, false), 0.5F);
this.addLayer(new LayerBipedArmor(this));
this.addLayer(new LayerHeldItem(this));
this.addLayer(new LayerArrow(this));
this.addLayer(new LayerCustomHead(this.getMainModel().bipedHead));
this.addLayer(new LayerBackItem(this));
}
示例5: CorpseRenderer
import net.minecraft.client.renderer.entity.layers.LayerArrow; //导入依赖的package包/类
public CorpseRenderer(RenderManager renderManagerIn) {
super(renderManagerIn, new ModelPlayer(0.0F, true), 0.5F);
thinArmsModel = (ModelPlayer)this.mainModel;
thickArmsModel = new ModelPlayer(0.0F, false);
//
this.addLayer(new LayerBipedArmor(this));
this.addLayer(new LayerHeldItem(this));
this.addLayer(new LayerArrow(this));
this.addLayer(new LayerCustomHead(this.getMainModel().bipedHead));
RenderPlayer k;
RenderPigZombie j;
}
示例6: RenderPlayerMob
import net.minecraft.client.renderer.entity.layers.LayerArrow; //导入依赖的package包/类
public RenderPlayerMob (RenderManager renderManager, ModelPlayerMob model) {
super(renderManager, model, 0.5F);
this.addLayer(new LayerBipedArmor(this));
this.addLayer(new LayerHeldItem(this));
this.addLayer(new LayerArrow(this));
this.addLayer(new LayerCustomHead(this.getMainModel().bipedHead));
this.addLayer(new LayerElytra(this));
this.blendProfile = Profile.PLAYER_SKIN;
}