net.minecraft.world.entity.ai.sensing

public class TemptingSensor

extends Sensor<PathfinderMob>

bcv
net.minecraft.world.entity.ai.sensing.TemptingSensor
net.minecraft.class_5760
net.minecraft.entity.ai.brain.sensor.TemptationsSensor
net.minecraft.src.C_141106_
net.minecraft.world.entity.ai.sensing.TemptingSensor

Field summary

Modifier and TypeField
public static final int
a
TEMPTATION_RANGE
field_30262
MAX_DISTANCE
f_148320_
private static final TargetingConditions
c
TEMPT_TARGETING
field_28330
TEMPTER_PREDICATE
f_148321_
private final Ingredient
d
temptations
field_28331
ingredient
f_148322_

Constructor summary

ModifierConstructor
public (Ingredient ingredient)

Method summary

Modifier and TypeMethod
protected void
a(abr arg0, auc arg1)
doTick(ServerLevel arg0, PathfinderMob arg1)
method_33213(class_3218 arg0, class_1314 arg1)
sense(ServerWorld arg0, PathAwareEntity arg1)
m_5578_(C_12_ p_148332_, C_533_ arg1)
private boolean
a(bkd arg0)
playerHoldingTemptation(Player arg0)
method_33215(class_1657 arg0)
test(PlayerEntity player)
m_148336_(C_1141_ arg0)
private boolean
a(bqp arg0)
isTemptation(ItemStack arg0)
method_33216(class_1799 arg0)
test(ItemStack stack)
m_148338_(C_1391_ arg0)
public Set<MemoryModuleType<?>>
a()
requires()
method_19099()
getOutputMemoryModules()
m_7163_()