Package net.minecraft.entity.ai.goal
Class TradeWithPlayerGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.TradeWithPlayerGoal
-
public class TradeWithPlayerGoal extends Goal
-
-
Field Summary
Fields Modifier and Type Field Description private AbstractVillagerEntity
mob
-
Constructor Summary
Constructors Constructor Description TradeWithPlayerGoal(AbstractVillagerEntity p_i50320_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canUse()
void
start()
void
stop()
-
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canContinueToUse, getFlags, isInterruptable, setFlags, tick, toString
-
-
-
-
Field Detail
-
mob
private final AbstractVillagerEntity mob
-
-
Constructor Detail
-
TradeWithPlayerGoal
public TradeWithPlayerGoal(AbstractVillagerEntity p_i50320_1_)
-
-