java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
nokunami.floral_warfare.common.entity.ai.goal.plants.AbstractActionGoal<T>
nokunami.floral_warfare.common.entity.ai.goal.plants.support.PlantSupportGoal1<T>

public class PlantSupportGoal1<T extends AbstractPlant & ISupportPlant> extends AbstractActionGoal<T>
  • Field Details

    • target

      public net.minecraft.world.entity.LivingEntity target
  • Constructor Details

    • PlantSupportGoal1

      public PlantSupportGoal1(T actionPlant)
  • Method Details

    • tick

      public void tick()
      Overrides:
      tick in class AbstractActionGoal<T extends AbstractPlant & ISupportPlant>
    • requiresUpdateEveryTick

      public boolean requiresUpdateEveryTick()
      Overrides:
      requiresUpdateEveryTick in class net.minecraft.world.entity.ai.goal.Goal
    • shouldTickAction

      public boolean shouldTickAction()
      Overrides:
      shouldTickAction in class AbstractActionGoal<T extends AbstractPlant & ISupportPlant>
    • setLookAtEntity

      public void setLookAtEntity(net.minecraft.world.entity.LivingEntity entity)
    • level

      public net.minecraft.world.level.Level level()