类 TemptationsSensor
- java.lang.Object
-
- net.minecraft.entity.ai.brain.sensor.Sensor<PathAwareEntity>
-
- net.minecraft.entity.ai.brain.sensor.TemptationsSensor
-
public class TemptationsSensor extends Sensor<PathAwareEntity>
- Mappings:
Namespace Name official bbxintermediary net/minecraft/class_5760named net/minecraft/entity/ai/brain/sensor/TemptationsSensor
-
-
字段概要
字段 修饰符和类型 字段 说明 static intfield_30262private Ingredientingredientprivate static TargetPredicateTEMPTER_PREDICATE-
从类继承的字段 net.minecraft.entity.ai.brain.sensor.Sensor
field_30258
-
-
构造器概要
构造器 构造器 说明 TemptationsSensor(Ingredient ingredient)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Set<MemoryModuleType<?>>getOutputMemoryModules()protected voidsense(ServerWorld serverWorld, PathAwareEntity pathAwareEntity)private booleantest(PlayerEntity player)private booleantest(ItemStack stack)-
从类继承的方法 net.minecraft.entity.ai.brain.sensor.Sensor
testTargetPredicate, tick
-
-
-
-
字段详细资料
-
field_30262
public static final int field_30262
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official aLbbx;a:Iintermediary field_30262Lnet/minecraft/class_5760;field_30262:Inamed field_30262Lnet/minecraft/entity/ai/brain/sensor/TemptationsSensor;field_30262:I
-
TEMPTER_PREDICATE
private static final TargetPredicate TEMPTER_PREDICATE
- Mappings:
Namespace Name Mixin selector official cLbbx;c:Lbcb;intermediary field_28330Lnet/minecraft/class_5760;field_28330:Lnet/minecraft/class_4051;named TEMPTER_PREDICATELnet/minecraft/entity/ai/brain/sensor/TemptationsSensor;TEMPTER_PREDICATE:Lnet/minecraft/entity/ai/TargetPredicate;
-
ingredient
private final Ingredient ingredient
- Mappings:
Namespace Name Mixin selector official dLbbx;d:Lbsg;intermediary field_28331Lnet/minecraft/class_5760;field_28331:Lnet/minecraft/class_1856;named ingredientLnet/minecraft/entity/ai/brain/sensor/TemptationsSensor;ingredient:Lnet/minecraft/recipe/Ingredient;
-
-
构造器详细资料
-
TemptationsSensor
public TemptationsSensor(Ingredient ingredient)
- Mappings:
Namespace Name Mixin selector official <init>Lbbx;<init>(Lbsg;)Vintermediary <init>Lnet/minecraft/class_5760;<init>(Lnet/minecraft/class_1856;)Vnamed <init>Lnet/minecraft/entity/ai/brain/sensor/TemptationsSensor;<init>(Lnet/minecraft/recipe/Ingredient;)V
-
-
方法详细资料
-
sense
protected void sense(ServerWorld serverWorld, PathAwareEntity pathAwareEntity)
- 指定者:
sense在类中Sensor<PathAwareEntity>- Mappings:
Namespace Name Mixin selector official aLbbx;a(Labj;Latg;)Vintermediary method_33213Lnet/minecraft/class_5760;method_33213(Lnet/minecraft/class_3218;Lnet/minecraft/class_1314;)Vnamed senseLnet/minecraft/entity/ai/brain/sensor/TemptationsSensor;sense(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PathAwareEntity;)V
-
test
private boolean test(PlayerEntity player)
- Mappings:
Namespace Name Mixin selector official aLbbx;a(Lbjf;)Zintermediary method_33215Lnet/minecraft/class_5760;method_33215(Lnet/minecraft/class_1657;)Znamed testLnet/minecraft/entity/ai/brain/sensor/TemptationsSensor;test(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
test
private boolean test(ItemStack stack)
- Mappings:
Namespace Name Mixin selector official aLbbx;a(Lbpr;)Zintermediary method_33216Lnet/minecraft/class_5760;method_33216(Lnet/minecraft/class_1799;)Znamed testLnet/minecraft/entity/ai/brain/sensor/TemptationsSensor;test(Lnet/minecraft/item/ItemStack;)Z
-
getOutputMemoryModules
public Set<MemoryModuleType<?>> getOutputMemoryModules()
- 指定者:
getOutputMemoryModules在类中Sensor<PathAwareEntity>- Mappings:
Namespace Name Mixin selector official aLbbv;a()Ljava/util/Set;intermediary method_19099Lnet/minecraft/class_4148;method_19099()Ljava/util/Set;named getOutputMemoryModulesLnet/minecraft/entity/ai/brain/sensor/Sensor;getOutputMemoryModules()Ljava/util/Set;
-
-