Package de.kumpelblase2.remoteentities.api.thinking.goals

Examples of de.kumpelblase2.remoteentities.api.thinking.goals.DesireSitOnBlock


  @Override
  public void onAdd(RemoteEntity inEntity)
  {
    super.onAdd(inEntity);
    if(!(this.getEntityHandle() instanceof EntityTameableAnimal) && !this.getRemoteEntity().getFeatures().hasFeature(TamingFeature.class))
      throw new NotTameableException();

    this.m_animal = this.getEntityHandle();
  }
View Full Code Here


  @Deprecated
  public DesireNonTamedFindNearest(RemoteEntity inEntity, Class<?> inTargetClass, float inDistance, boolean inShouldCheckSight, boolean inShouldMelee, int inChance)
  {
    super(inEntity, inTargetClass, inDistance, inShouldCheckSight, inShouldMelee, inChance);
    if(!(this.getEntityHandle() instanceof EntityTameableAnimal) && !this.getRemoteEntity().getFeatures().hasFeature(TamingFeature.class))
      throw new NotTameableException();

    this.m_animal = this.getEntityHandle();
  }
View Full Code Here

  @Override
  public void onAdd(RemoteEntity inEntity)
  {
    super.onAdd(inEntity);
    if(!(this.getEntityHandle() instanceof EntityTameableAnimal) && !this.getRemoteEntity().getFeatures().hasFeature(TamingFeature.class))
      throw new NotTameableException();

    this.m_animal = this.getEntityHandle();
  }
View Full Code Here

   * @return      instance of a manager
   */
  public static EntityManager createManager(Plugin inPlugin) throws PluginNotEnabledException
  {
    if(getInstance() == null)
      throw new PluginNotEnabledException();

    return createManager(inPlugin, false);
  }
View Full Code Here

   * @return            instance of a manager
   */
  public static EntityManager createManager(Plugin inPlugin, boolean inRemoveDespawned)
  {
    if(getInstance() == null)
      throw new PluginNotEnabledException();

    EntityManager manager = new EntityManager(inPlugin, inRemoveDespawned);
    registerCustomManager(manager, inPlugin.getName());
    return manager;
  }
View Full Code Here

  public RemoteWolfEntity(World world, RemoteEntity inRemoteEntity)
  {
    super(world);
    this.m_remoteEntity = inRemoteEntity;
    new PathfinderGoalSelectorHelper(this.goalSelector).clearGoals();
    new PathfinderGoalSelectorHelper(this.targetSelector).clearGoals();
    this.bp = new DesireSitTemp(this.getRemoteEntity());
  }
View Full Code Here

  public RemoteSquidEntity(World world, RemoteEntity inRemoteEntity)
  {
    super(world);
    this.m_remoteEntity = inRemoteEntity;
    new PathfinderGoalSelectorHelper(this.goalSelector).clearGoals();
    new PathfinderGoalSelectorHelper(this.targetSelector).clearGoals();
  }
View Full Code Here

  public RemoteSheepEntity(World world, RemoteEntity inRemoteEntity)
  {
    super(world);
    this.m_remoteEntity = inRemoteEntity;
    new PathfinderGoalSelectorHelper(this.goalSelector).clearGoals();
    new PathfinderGoalSelectorHelper(this.targetSelector).clearGoals();
  }
View Full Code Here

  protected long m_lastBouncedTime;

  public RemoteSkeletonEntity(World world)
  {
    super(world);
    new PathfinderGoalSelectorHelper(this.goalSelector).clearGoals();
    new PathfinderGoalSelectorHelper(this.targetSelector).clearGoals();
  }
View Full Code Here

  protected long m_lastBouncedTime;

  public RemoteSpiderEntity(World world)
  {
    super(world);
    new PathfinderGoalSelectorHelper(this.goalSelector).clearGoals();
    new PathfinderGoalSelectorHelper(this.targetSelector).clearGoals();
  }
View Full Code Here

TOP

Related Classes of de.kumpelblase2.remoteentities.api.thinking.goals.DesireSitOnBlock

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.