• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Java LayerArrow类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了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;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java AbstractCompactedRow类代码示例发布时间:2022-05-22
下一篇:
Java FormatException类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap