Java 类net.minecraft.entity.EntityBodyHelper 实例源码

项目:RuneCraftery    文件:EntityLiving.java   
public EntityLiving(World p_i1595_1_) {
   super(p_i1595_1_);
   this.field_70714_bg = new EntityAITasks(p_i1595_1_ != null && p_i1595_1_.field_72984_F != null?p_i1595_1_.field_72984_F:null);
   this.field_70715_bh = new EntityAITasks(p_i1595_1_ != null && p_i1595_1_.field_72984_F != null?p_i1595_1_.field_72984_F:null);
   this.field_70749_g = new EntityLookHelper(this);
   this.field_70765_h = new EntityMoveHelper(this);
   this.field_70767_i = new EntityJumpHelper(this);
   this.field_70762_j = new EntityBodyHelper(this);
   this.field_70699_by = new PathNavigate(this, p_i1595_1_);
   this.field_70723_bA = new EntitySenses(this);

   for(int var2 = 0; var2 < this.field_82174_bp.length; ++var2) {
      this.field_82174_bp[var2] = 0.085F;
   }

}
项目:ZeroQuest    文件:JakanHacks.java   
public JakanHacks(EntityJakanPrime dragon) {
    super(dragon);

    // override EntityBodyHelper field, which is private and has no setter
    // required to fixate body while sitting. also slows down rotation while standing.
    try {
        int fieldIndex = UnsafeReflectionHelper.findFieldIndex(EntityLiving.class, EntityBodyHelper.class);
        ReflectionHelper.setPrivateValue(EntityLiving.class, dragon, new JakanBodyHelper(dragon), fieldIndex);
    } catch (Exception ex) {
        L.log(Level.WARNING, "Can't override EntityBodyHelper", ex);
    }
}
项目:N-API    文件:EventEntityLivingInit.java   
public EventEntityLivingInit(EntityLiving entity, World world, EntityAITasks tasks, EntityAITasks targetTasks, EntityLookHelper lookHelper, EntityMoveHelper moveHelper, EntityJumpHelper jumpHelper, EntityBodyHelper bodyHelper, PathNavigate navigator, EntitySenses senses)
{
    this.entity = entity;
    this.world = world;
    this.tasks = tasks;
    this.targetTasks = targetTasks;
    this.lookHelper = lookHelper;
    this.jumpHelper = jumpHelper;
    this.moveHelper = moveHelper;
    this.bodyHelper = bodyHelper;
    this.navigator = navigator;
    this.senses = senses;
}
项目:Backmemed    文件:EntityShulker.java   
protected EntityBodyHelper createBodyHelper()
{
    return new EntityShulker.BodyHelper(this);
}
项目:CustomWorldGen    文件:EntityShulker.java   
protected EntityBodyHelper createBodyHelper()
{
    return new EntityShulker.BodyHelper(this);
}
项目:ExpandedRailsMod    文件:EntityShulker.java   
protected EntityBodyHelper createBodyHelper()
{
    return new EntityShulker.BodyHelper(this);
}