net.minecraft.world.entity.ai.sensing

public class TemptingSensor

extends Sensor<PathfinderMob>

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

Field summary

Modifier and TypeField
private static final TargetingConditions
a
TEMPT_TARGETING
field_28330
f_bybsppgk
TEMPTER_PREDICATE
TEMPTER_PREDICATE
f_148321_
private final Predicate<ItemStack>
b
temptations
field_28331
f_xsamhpqs
predicate
ingredient
f_148322_

Constructor summary

ModifierConstructor
public (Predicate<ItemStack> predicate)

Method summary

Modifier and TypeMethod
protected void
a(ash arg0, bwn arg1)
doTick(ServerLevel arg0, PathfinderMob arg1)
method_33213(class_3218 arg0, class_1314 arg1)
m_fdmkygcq(C_bdwnwhiu arg0, C_hqdayibh arg1)
sense(ServerWorld arg0, PathAwareEntity arg1)
sense(ServerWorld world, PathAwareEntity arg1)
m_5578_(C_12_ p_148332_, C_533_ arg1)
private boolean
a(cpw arg0)
playerHoldingTemptation(Player arg0)
method_33215(class_1657 arg0)
m_qbrnhjoz(C_jzrpycqo arg0)
test(PlayerEntity player)
test(PlayerEntity player)
m_148336_(C_1141_ arg0)
private boolean
a(cxo arg0)
isTemptation(ItemStack arg0)
method_33216(class_1799 arg0)
m_gimiilco(C_sddaxwyk arg0)
test(ItemStack stack)
test(ItemStack stack)
m_148338_(C_1391_ arg0)
public Set<MemoryModuleType<?>>
a()
requires()
method_19099()
m_ttqnpjnq()
getOutputMemoryModules()
getOutputMemoryModules()
m_7163_()