Class VillagerBreedTask

java.lang.Object
net.minecraft.entity.ai.brain.task.Task<VillagerEntity>
net.minecraft.entity.ai.brain.task.VillagerBreedTask

public class VillagerBreedTask extends Task<VillagerEntity>
Mappings:
Namespace Name
official bii
intermediary net/minecraft/class_4111
named net/minecraft/entity/ai/brain/task/VillagerBreedTask
  • Field Details

    • MAX_DISTANCE

      private static final int MAX_DISTANCE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbii;a:I
      intermediary field_30190 Lnet/minecraft/class_4111;field_30190:I
      named MAX_DISTANCE Lnet/minecraft/entity/ai/brain/task/VillagerBreedTask;MAX_DISTANCE:I
    • APPROACH_SPEED

      private static final float APPROACH_SPEED
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lbii;d:F
      intermediary field_30191 Lnet/minecraft/class_4111;field_30191:F
      named APPROACH_SPEED Lnet/minecraft/entity/ai/brain/task/VillagerBreedTask;APPROACH_SPEED:F
    • breedEndTime

      private long breedEndTime
      Mappings:
      Namespace Name Mixin selector
      official e Lbii;e:J
      intermediary field_18368 Lnet/minecraft/class_4111;field_18368:J
      named breedEndTime Lnet/minecraft/entity/ai/brain/task/VillagerBreedTask;breedEndTime:J
  • Constructor Details

    • VillagerBreedTask

      public VillagerBreedTask()
  • Method Details

    • method_19571

      protected boolean method_19571(ServerWorld serverWorld, VillagerEntity villagerEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Lbii;a(Lahb;Lbvf;)Z
      intermediary method_19571 Lnet/minecraft/class_4111;method_19571(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;)Z
      named method_19571 Lnet/minecraft/entity/ai/brain/task/VillagerBreedTask;method_19571(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;)Z
    • method_18973

      protected boolean method_18973(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)
      Mappings:
      Namespace Name Mixin selector
      official a Lbii;a(Lahb;Lbvf;J)Z
      intermediary method_18973 Lnet/minecraft/class_4111;method_18973(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)Z
      named method_18973 Lnet/minecraft/entity/ai/brain/task/VillagerBreedTask;method_18973(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)Z
    • method_18974

      protected void method_18974(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)
      Mappings:
      Namespace Name Mixin selector
      official b Lbii;b(Lahb;Lbvf;J)V
      intermediary method_18974 Lnet/minecraft/class_4111;method_18974(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)V
      named method_18974 Lnet/minecraft/entity/ai/brain/task/VillagerBreedTask;method_18974(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
    • method_18975

      protected void method_18975(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)
      Mappings:
      Namespace Name Mixin selector
      official c Lbii;c(Lahb;Lbvf;J)V
      intermediary method_18975 Lnet/minecraft/class_4111;method_18975(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)V
      named method_18975 Lnet/minecraft/entity/ai/brain/task/VillagerBreedTask;method_18975(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
    • goHome

      private void goHome(ServerWorld world, VillagerEntity first, VillagerEntity second)
      Mappings:
      Namespace Name Mixin selector
      official a Lbii;a(Lahb;Lbvf;Lbvf;)V
      intermediary method_20643 Lnet/minecraft/class_4111;method_20643(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;Lnet/minecraft/class_1646;)V
      named goHome Lnet/minecraft/entity/ai/brain/task/VillagerBreedTask;goHome(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;Lnet/minecraft/entity/passive/VillagerEntity;)V
    • method_18976

      protected void method_18976(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)
      Mappings:
      Namespace Name Mixin selector
      official d Lbii;d(Lahb;Lbvf;J)V
      intermediary method_18976 Lnet/minecraft/class_4111;method_18976(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)V
      named method_18976 Lnet/minecraft/entity/ai/brain/task/VillagerBreedTask;method_18976(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
    • isReadyToBreed

      private boolean isReadyToBreed(VillagerEntity villager)
      Mappings:
      Namespace Name Mixin selector
      official a Lbii;a(Lbvf;)Z
      intermediary method_18972 Lnet/minecraft/class_4111;method_18972(Lnet/minecraft/class_1646;)Z
      named isReadyToBreed Lnet/minecraft/entity/ai/brain/task/VillagerBreedTask;isReadyToBreed(Lnet/minecraft/entity/passive/VillagerEntity;)Z
    • getReachableHome

      private Optional<BlockPos> getReachableHome(ServerWorld world, VillagerEntity villager)
      Mappings:
      Namespace Name Mixin selector
      official b Lbii;b(Lahb;Lbvf;)Ljava/util/Optional;
      intermediary method_19573 Lnet/minecraft/class_4111;method_19573(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;)Ljava/util/Optional;
      named getReachableHome Lnet/minecraft/entity/ai/brain/task/VillagerBreedTask;getReachableHome(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;)Ljava/util/Optional;
    • canReachHome

      private boolean canReachHome(VillagerEntity villager, BlockPos pos, RegistryEntry<PointOfInterestType> poiType)
      Mappings:
      Namespace Name Mixin selector
      official a Lbii;a(Lbvf;Lgr;Lha;)Z
      intermediary method_20642 Lnet/minecraft/class_4111;method_20642(Lnet/minecraft/class_1646;Lnet/minecraft/class_2338;Lnet/minecraft/class_6880;)Z
      named canReachHome Lnet/minecraft/entity/ai/brain/task/VillagerBreedTask;canReachHome(Lnet/minecraft/entity/passive/VillagerEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/registry/RegistryEntry;)Z
    • createChild

      private Optional<VillagerEntity> createChild(ServerWorld world, VillagerEntity parent, VillagerEntity partner)
      Mappings:
      Namespace Name Mixin selector
      official b Lbii;b(Lahb;Lbvf;Lbvf;)Ljava/util/Optional;
      intermediary method_18970 Lnet/minecraft/class_4111;method_18970(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;Lnet/minecraft/class_1646;)Ljava/util/Optional;
      named createChild Lnet/minecraft/entity/ai/brain/task/VillagerBreedTask;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;Lnet/minecraft/entity/passive/VillagerEntity;)Ljava/util/Optional;
    • setChildHome

      private void setChildHome(ServerWorld world, VillagerEntity child, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lbii;a(Lahb;Lbvf;Lgr;)V
      intermediary method_19572 Lnet/minecraft/class_4111;method_19572(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;Lnet/minecraft/class_2338;)V
      named setChildHome Lnet/minecraft/entity/ai/brain/task/VillagerBreedTask;setChildHome(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;Lnet/minecraft/util/math/BlockPos;)V