类 VillagerMakeLove
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<Villager>
net.minecraft.world.entity.ai.behavior.VillagerMakeLove
- 所有已实现的接口:
BehaviorControl<Villager>
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.entity.ai.behavior.Behavior
Behavior.Status
-
字段概要
字段从类继承的字段 net.minecraft.world.entity.ai.behavior.Behavior
DEFAULT_DURATION, entryCondition
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明breed
(ServerLevel p_24656_, Villager p_24657_, Villager p_24658_) private boolean
protected boolean
canStillUse
(ServerLevel p_24626_, Villager p_24627_, long p_24628_) protected boolean
checkExtraStartConditions
(ServerLevel p_24623_, Villager p_24624_) private void
giveBedToChild
(ServerLevel p_24634_, Villager p_24635_, BlockPos p_24636_) private boolean
isBreedingPossible
(Villager p_24640_) protected void
start
(ServerLevel p_24652_, Villager p_24653_, long p_24654_) protected void
stop
(ServerLevel p_24675_, Villager p_24676_, long p_24677_) takeVacantBed
(ServerLevel p_24649_, Villager p_24650_) protected void
tick
(ServerLevel p_24667_, Villager p_24668_, long p_24669_) private void
tryToGiveBirth
(ServerLevel p_24630_, Villager p_24631_, Villager p_24632_) 从类继承的方法 net.minecraft.world.entity.ai.behavior.Behavior
debugString, doStop, getStatus, hasRequiredMemories, tickOrStop, timedOut, tryStart
-
字段详细资料
-
birthTimestamp
private long birthTimestamp
-
-
构造器详细资料
-
VillagerMakeLove
public VillagerMakeLove()
-
-
方法详细资料
-
checkExtraStartConditions
- 覆盖:
checkExtraStartConditions
在类中Behavior<Villager>
-
canStillUse
- 覆盖:
canStillUse
在类中Behavior<Villager>
-
start
-
tick
-
tryToGiveBirth
-
stop
-
isBreedingPossible
-
takeVacantBed
-
canReach
-
breed
-
giveBedToChild
-