net.minecraft.world.entity.animal.allay

public class AllayAi

bso
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
field_38408
f_218398_
private static final float
d
SPEED_MULTIPLIER_WHEN_PANICKING
field_39113
field_39113
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
field_38413
f_218405_
private static final int
k
DISTANCE_TO_WANTED_ITEM
field_38940
field_38940
f_218406_
private static final int
l
GIVE_ITEM_TIMEOUT_DURATION
field_40130
field_40130
f_244467_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected static Brain<?>
a(bgy<bsn> 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(bgy<bsn> 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(bgy<bsn> 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(bsn arg0)
updateActivity(Allay arg0)
method_42661(class_7298 arg0)
updateActivities(AllayEntity allay)
m_218421_(C_213035_ p_218422_)
public static void
a(bfx arg0, gt 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(bfx arg0)
getItemDepositPosition(LivingEntity arg0)
method_42657(class_1309 arg0)
getLookTarget(LivingEntity allay)
m_218423_(C_524_ p_218424_)
private static boolean
c(bfx arg0)
hasWantedItem(LivingEntity arg0)
method_49122(class_1309 arg0)
hasNearestVisibleWantedItem(LivingEntity entity)
m_271971_(C_524_ p_273346_)
private static boolean
a(bfx arg0, bgy<?> arg1, hc 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(bfx arg0)
getLikedPlayerPositionTracker(LivingEntity arg0)
method_42662(class_1309 arg0)
getLikedLookTarget(LivingEntity allay)
m_218429_(C_524_ p_218430_)
public static Optional<ServerPlayer>
a(bfx arg0)
getLikedPlayer(LivingEntity arg0)
method_43093(class_1309 arg0)
getLikedPlayer(LivingEntity allay)
m_218410_(C_524_ p_218411_)