net.minecraft.world.entity.animal.allay

public class AllayAi

bzd
net.minecraft.world.entity.animal.allay.AllayAi
net.minecraft.class_7299
net.minecraft.entity.passive.AllayBrain
net.minecraft.src.C_213036_
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
f_218396_
private static final float
b
SPEED_MULTIPLIER_WHEN_FOLLOWING_DEPOSIT_TARGET
field_38407
field_38407
f_218397_
private static final float
c
SPEED_MULTIPLIER_WHEN_RETRIEVING_ITEM
field_38408
WALK_TO_ITEM_SPEED
f_218398_
private static final float
d
SPEED_MULTIPLIER_WHEN_PANICKING
field_39113
FLEE_SPEED
f_218399_
private static final int
e
CLOSE_ENOUGH_TO_TARGET
field_38938
field_38938
f_218400_
private static final int
f
TOO_FAR_FROM_TARGET
field_38939
field_38939
f_218401_
private static final int
g
MAX_LOOK_DISTANCE
field_38410
field_38410
f_218402_
private static final int
h
MIN_WAIT_DURATION
field_38411
field_38411
f_218403_
private static final int
i
MAX_WAIT_DURATION
field_38412
field_38412
f_218404_
private static final int
j
TIME_TO_FORGET_NOTEBLOCK
field_38413
LIKED_NOTEBLOCK_COOLDOWN_TICKS_EXPIRY
f_218405_
private static final int
k
DISTANCE_TO_WANTED_ITEM
field_38940
WALK_TO_ITEM_RADIUS
f_218406_
private static final int
l
GIVE_ITEM_TIMEOUT_DURATION
field_40130
GIVE_INVENTORY_RUN_TIME
f_244467_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected static Brain<?>
a(bnl<bzc> arg0)
makeBrain(Brain<Allay> arg0)
method_42660(class_4095<class_7298> arg0)
create(Brain<AllayEntity> brain)
m_218419_(C_548_<C_213035_> p_218420_)
private static void
b(bnl<bzc> arg0)
initCoreActivity(Brain<Allay> arg0)
method_42663(class_4095<class_7298> arg0)
addCoreActivities(Brain<AllayEntity> brain)
m_218425_(C_548_<C_213035_> p_218426_)
private static void
c(bnl<bzc> arg0)
initIdleActivity(Brain<Allay> arg0)
method_42666(class_4095<class_7298> arg0)
addIdleActivities(Brain<AllayEntity> brain)
m_218431_(C_548_<C_213035_> p_218432_)
public static void
a(bzc arg0)
updateActivity(Allay arg0)
method_42661(class_7298 arg0)
updateActivities(AllayEntity allay)
m_218421_(C_213035_ p_218422_)
public static void
a(bml arg0, hx arg1)
hearNoteblock(LivingEntity arg0, BlockPos arg1)
method_42659(class_1309 arg0, class_2338 arg1)
rememberNoteBlock(LivingEntity allay, BlockPos pos)
m_218416_(C_524_ p_218417_, C_4675_ p_218418_)
private static Optional<PositionTracker>
b(bml arg0)
getItemDepositPosition(LivingEntity arg0)
method_42657(class_1309 arg0)
getLookTarget(LivingEntity allay)
m_218423_(C_524_ p_218424_)
private static boolean
c(bml arg0)
hasWantedItem(LivingEntity arg0)
method_49122(class_1309 arg0)
hasNearestVisibleWantedItem(LivingEntity entity)
m_271971_(C_524_ p_273346_)
private static boolean
a(bml arg0, bnl<?> arg1, ig 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)
m_218412_(C_524_ p_218413_, C_548_<?> p_218414_, C_4697_ p_218415_)
private static Optional<PositionTracker>
d(bml arg0)
getLikedPlayerPositionTracker(LivingEntity arg0)
method_42662(class_1309 arg0)
getLikedLookTarget(LivingEntity allay)
m_218429_(C_524_ p_218430_)
public static Optional<ServerPlayer>
a(bml arg0)
getLikedPlayer(LivingEntity arg0)
method_43093(class_1309 arg0)
getLikedPlayer(LivingEntity allay)
m_218410_(C_524_ p_218411_)