Class FeedAnimalsTracker


public class FeedAnimalsTracker extends AbstractVRHandsTracker
  • Field Details

  • Constructor Details

    • FeedAnimalsTracker

      public FeedAnimalsTracker()
  • Method Details

    • isEnabledInConfig

      public boolean isEnabledInConfig(ActiveConfig config)
      Specified by:
      isEnabledInConfig in class AbstractVRHandTracker
    • shouldRun

      protected boolean shouldRun(net.minecraft.world.entity.player.Player player, net.blf02.vrapi.api.data.IVRPlayer vrPlayer, LastTickData lastVRData)
      Specified by:
      shouldRun in class AbstractVRHandsTracker
    • run

      protected void run(net.minecraft.world.entity.player.Player player, net.blf02.vrapi.api.data.IVRPlayer vrPlayer, LastTickData lastVRData)
      Specified by:
      run in class AbstractVRHandsTracker
    • getMouthHitbox

      public static net.minecraft.world.phys.AABB getMouthHitbox(net.minecraft.world.entity.LivingEntity entity)
    • getLivingNearby

      public static List<net.minecraft.world.entity.animal.Animal> getLivingNearby(net.minecraft.world.entity.player.Player player)