Class CrabSpecificSensor

java.lang.Object
net.minecraft.world.entity.ai.sensing.Sensor<net.minecraft.world.entity.LivingEntity>
net.frozenblock.wilderwild.entity.ai.crab.CrabSpecificSensor

public class CrabSpecificSensor extends net.minecraft.world.entity.ai.sensing.Sensor<net.minecraft.world.entity.LivingEntity>
  • Field Summary

    Fields inherited from class net.minecraft.world.entity.ai.sensing.Sensor

    TARGETING_RANGE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    doTick(@NotNull net.minecraft.server.level.ServerLevel level, @NotNull net.minecraft.world.entity.LivingEntity entity)
     
    @NotNull Set<net.minecraft.world.entity.ai.memory.MemoryModuleType<?>>
     

    Methods inherited from class net.minecraft.world.entity.ai.sensing.Sensor

    isEntityAttackable, isEntityAttackableIgnoringLineOfSight, isEntityTargetable, tick

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CrabSpecificSensor

      public CrabSpecificSensor()
  • Method Details

    • requires

      @NotNull public @NotNull Set<net.minecraft.world.entity.ai.memory.MemoryModuleType<?>> requires()
      Specified by:
      requires in class net.minecraft.world.entity.ai.sensing.Sensor<net.minecraft.world.entity.LivingEntity>
    • doTick

      protected void doTick(@NotNull @NotNull net.minecraft.server.level.ServerLevel level, @NotNull @NotNull net.minecraft.world.entity.LivingEntity entity)
      Specified by:
      doTick in class net.minecraft.world.entity.ai.sensing.Sensor<net.minecraft.world.entity.LivingEntity>