net.minecraft.world.entity.animal.allay

public class AllayAi

cje
net.minecraft.world.entity.animal.allay.AllayAi
net.minecraft.class_7299
net.minecraft.entity.passive.AllayBrain
net.minecraft.world.entity.animal.allay.AllayAi

Field summary

Modifier and TypeField
private static final float
a
SPEED_MULTIPLIER_WHEN_IDLING
field_38406
field_38406
private static final float
b
SPEED_MULTIPLIER_WHEN_FOLLOWING_DEPOSIT_TARGET
field_38407
field_38407
private static final float
c
SPEED_MULTIPLIER_WHEN_RETRIEVING_ITEM
field_38408
WALK_TO_ITEM_SPEED
private static final float
d
SPEED_MULTIPLIER_WHEN_PANICKING
field_39113
FLEE_SPEED
private static final int
e
CLOSE_ENOUGH_TO_TARGET
field_38938
field_38938
private static final int
f
TOO_FAR_FROM_TARGET
field_38939
field_38939
private static final int
g
MAX_LOOK_DISTANCE
field_38410
field_38410
private static final int
h
MIN_WAIT_DURATION
field_38411
field_38411
private static final int
i
MAX_WAIT_DURATION
field_38412
field_38412
private static final int
j
TIME_TO_FORGET_NOTEBLOCK
field_38413
LIKED_NOTEBLOCK_COOLDOWN_TICKS_EXPIRY
private static final int
k
DISTANCE_TO_WANTED_ITEM
field_38940
WALK_TO_ITEM_RADIUS
private static final int
l
GIVE_ITEM_TIMEOUT_DURATION
field_40130
GIVE_INVENTORY_RUN_TIME

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected static Brain<?>
a(bxi<cjd> arg0)
makeBrain(Brain<Allay> arg0)
method_42660(class_4095<class_7298> arg0)
create(Brain<AllayEntity> brain)
private static void
b(bxi<cjd> arg0)
initCoreActivity(Brain<Allay> arg0)
method_42663(class_4095<class_7298> arg0)
addCoreActivities(Brain<AllayEntity> brain)
private static void
c(bxi<cjd> arg0)
initIdleActivity(Brain<Allay> arg0)
method_42666(class_4095<class_7298> arg0)
addIdleActivities(Brain<AllayEntity> brain)
public static void
a(cjd arg0)
updateActivity(Allay arg0)
method_42661(class_7298 arg0)
updateActivities(AllayEntity allay)
public static void
a(bwg arg0, jh arg1)
hearNoteblock(LivingEntity arg0, BlockPos arg1)
method_42659(class_1309 arg0, class_2338 arg1)
rememberNoteBlock(LivingEntity allay, BlockPos pos)
private static Optional<PositionTracker>
b(bwg arg0)
getItemDepositPosition(LivingEntity arg0)
method_42657(class_1309 arg0)
getLookTarget(LivingEntity allay)
private static boolean
c(bwg arg0)
hasWantedItem(LivingEntity arg0)
method_49122(class_1309 arg0)
hasNearestVisibleWantedItem(LivingEntity entity)
private static boolean
a(bwg arg0, bxi<?> arg1, jp arg2)
shouldDepositItemsAtLikedNoteblock(LivingEntity arg0, Brain<?> arg1, GlobalPos arg2)
method_42658(class_1309 arg0, class_4095<?> arg1, class_4208 arg2)
shouldGoTowardsNoteBlock(LivingEntity allay, Brain<?> brain, GlobalPos pos)
private static Optional<PositionTracker>
d(bwg arg0)
getLikedPlayerPositionTracker(LivingEntity arg0)
method_42662(class_1309 arg0)
getLikedLookTarget(LivingEntity allay)
public static Optional<ServerPlayer>
a(bwg arg0)
getLikedPlayer(LivingEntity arg0)
method_43093(class_1309 arg0)
getLikedPlayer(LivingEntity allay)