类 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
-
字段概要
字段修饰符和类型字段说明private long
private static final int
private static final float
从类继承的字段 net.minecraft.world.entity.ai.behavior.Behavior
DEFAULT_DURATION, entryCondition
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明breed
(ServerLevel pLevel, Villager pParent, Villager pPartner) private boolean
protected boolean
canStillUse
(ServerLevel pLevel, Villager pEntity, long pGameTime) protected boolean
checkExtraStartConditions
(ServerLevel pLevel, Villager pOwner) private void
giveBedToChild
(ServerLevel pLevel, Villager pVillager, BlockPos pPos) private boolean
isBreedingPossible
(Villager pVillager) protected void
start
(ServerLevel pLevel, Villager pEntity, long pGameTime) protected void
stop
(ServerLevel pLevel, Villager pEntity, long pGameTime) takeVacantBed
(ServerLevel pLevel, Villager pVillager) protected void
tick
(ServerLevel pLevel, Villager pOwner, long pGameTime) private void
tryToGiveBirth
(ServerLevel pLevel, Villager pParent, Villager pPartner) 从类继承的方法 net.minecraft.world.entity.ai.behavior.Behavior
debugString, doStop, getStatus, hasRequiredMemories, tickOrStop, timedOut, tryStart
-
字段详细资料
-
构造器详细资料
-
VillagerMakeLove
public VillagerMakeLove()
-
-
方法详细资料
-
checkExtraStartConditions
- 覆盖:
checkExtraStartConditions
在类中Behavior<Villager>
-
canStillUse
- 覆盖:
canStillUse
在类中Behavior<Villager>
-
start
-
tick
-
tryToGiveBirth
-
stop
-
isBreedingPossible
-
takeVacantBed
-
canReach
-
breed
-
giveBedToChild
-