本文整理汇总了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));
}
开发者ID:SkidJava,项目名称:BaseClient,代码行数:12,代码来源:RenderPlayer.java
示例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));
}
开发者ID:MineLittlePony,项目名称:MineLittlePony,代码行数:18,代码来源:MixinRenderPlayer.java
示例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));
}
开发者ID:sudofox,项目名称:Backmemed,代码行数:13,代码来源:RenderPlayer.java
示例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));
}
开发者ID:Alec-WAM,项目名称:CrystalMod,代码行数:9,代码来源:RenderMinionBase.java
示例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;
}
开发者ID:MinecraftModDevelopmentMods,项目名称:LootableBodies,代码行数:13,代码来源:CorpseRenderer.java
示例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;
}
开发者ID:Darkhax-Minecraft,项目名称:Bookshelf,代码行数:11,代码来源:RenderPlayerMob.java
注:本文中的net.minecraft.client.renderer.entity.layers.LayerArrow类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论