类 AnimalMakeLove
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<Animal>
net.minecraft.world.entity.ai.behavior.AnimalMakeLove
- 所有已实现的接口:
BehaviorControl<Animal>
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.entity.ai.behavior.Behavior
Behavior.Status
-
字段概要
字段修饰符和类型字段说明private static final int
private final int
private static final int
private static final int
private static final int
private final EntityType
<? extends Animal> private long
private final float
从类继承的字段 net.minecraft.world.entity.ai.behavior.Behavior
DEFAULT_DURATION, entryCondition
-
构造器概要
构造器构造器说明AnimalMakeLove
(EntityType<? extends Animal> p_320473_) AnimalMakeLove
(EntityType<? extends Animal> p_22391_, float p_22392_, int p_320576_) -
方法概要
修饰符和类型方法说明protected boolean
canStillUse
(ServerLevel p_22416_, Animal p_22417_, long p_22418_) protected boolean
checkExtraStartConditions
(ServerLevel p_22401_, Animal p_22402_) findValidBreedPartner
(Animal p_22432_) private Animal
getBreedTarget
(Animal p_22410_) private boolean
hasBreedTargetOfRightType
(Animal p_22422_) protected void
start
(ServerLevel p_22404_, Animal p_22405_, long p_22406_) protected void
stop
(ServerLevel p_22438_, Animal p_22439_, long p_22440_) protected void
tick
(ServerLevel p_22428_, Animal p_22429_, long p_22430_) 从类继承的方法 net.minecraft.world.entity.ai.behavior.Behavior
debugString, doStop, getStatus, hasRequiredMemories, tickOrStop, timedOut, tryStart
-
字段详细资料
-
BREED_RANGE
private static final int BREED_RANGE- 另请参阅:
-
MIN_DURATION
private static final int MIN_DURATION- 另请参阅:
-
MAX_DURATION
private static final int MAX_DURATION- 另请参阅:
-
partnerType
-
speedModifier
private final float speedModifier -
closeEnoughDistance
private final int closeEnoughDistance -
DEFAULT_CLOSE_ENOUGH_DISTANCE
private static final int DEFAULT_CLOSE_ENOUGH_DISTANCE- 另请参阅:
-
spawnChildAtTime
private long spawnChildAtTime
-
-
构造器详细资料
-
AnimalMakeLove
-
AnimalMakeLove
-
-
方法详细资料