net.minecraft.entity.ai.brain.sensor

public class TemptationsSensor

extends Sensor<PathAwareEntity>

csf
net.minecraft.world.entity.ai.sensing.TemptingSensor
net.minecraft.class_5760
net.minecraft.entity.ai.brain.sensor.TemptationsSensor
net.minecraft.unmapped.C_mdtojaga
net.minecraft.entity.ai.brain.sensor.TemptationsSensor
net.minecraft.src.C_141106_

Field summary

Modifier and TypeField
private static final TargetPredicate
a
TEMPT_TARGETING
field_28330
TEMPTER_PREDICATE
f_bybsppgk
TEMPTER_PREDICATE
f_148321_
private final BiPredicate<PathAwareEntity, ItemStack>
b
temptations
field_28331
predicate
f_xsamhpqs
ingredient
f_148322_

Constructor summary

ModifierConstructor
public (Predicate<ItemStack> predicate)
private (BiPredicate<PathAwareEntity, ItemStack> predicate)

Method summary

Modifier and TypeMethod
public static TemptationsSensor
b()
forAnimal()
method_76096()
breedingItem()
m_ivivpkqi()
m_442937_()
protected void
a(axf o, cht arg1)
doTick(ServerLevel arg0, PathfinderMob arg1)
method_33213(class_3218 arg0, class_1314 arg1)
sense(ServerWorld arg0, PathAwareEntity arg1)
m_fdmkygcq(C_bdwnwhiu arg0, C_hqdayibh arg1)
sense(ServerWorld world, PathAwareEntity waypoint)
m_5578_(C_12_ p_148332_, C_533_ arg1)
private boolean
a(cht o, ddm arg1)
playerHoldingTemptation(PathfinderMob arg0, Player arg1)
method_33215(class_1314 arg0, class_1657 arg1)
test(PathAwareEntity entity, PlayerEntity player)
m_qbrnhjoz(C_hqdayibh arg0, C_jzrpycqo arg1)
test(PathAwareEntity waypoint, PlayerEntity player)
m_148336_(C_533_ p_148337_, C_1141_ arg1)
private boolean
a(cht o, dlt arg1)
isTemptation(PathfinderMob arg0, ItemStack arg1)
method_33216(class_1314 arg0, class_1799 arg1)
test(PathAwareEntity entity, ItemStack stack)
m_gimiilco(C_hqdayibh arg0, C_sddaxwyk arg1)
test(PathAwareEntity waypoint, ItemStack stack)
m_148338_(C_533_ p_148339_, C_1391_ arg1)
public Set<MemoryModuleType<?>>
a()
requires()
method_19099()
getOutputMemoryModules()
m_ttqnpjnq()
getOutputMemoryModules()
m_7163_()