public class ShareItemsTask extends Task<VillagerEntity>
Task.Status
Modifier and Type | Field and Description |
---|---|
private java.util.Set<Item> |
field_220588_a |
Constructor and Description |
---|
ShareItemsTask() |
Modifier and Type | Method and Description |
---|---|
private static java.util.Set<Item> |
func_220585_a(VillagerEntity p_220585_0_,
VillagerEntity p_220585_1_) |
private static void |
func_220586_a(VillagerEntity p_220586_0_,
java.util.Set<Item> p_220586_1_,
LivingEntity p_220586_2_) |
protected void |
resetTask(ServerWorld worldIn,
VillagerEntity entityIn,
long gameTimeIn) |
protected boolean |
shouldContinueExecuting(ServerWorld worldIn,
VillagerEntity entityIn,
long gameTimeIn) |
protected boolean |
shouldExecute(ServerWorld worldIn,
VillagerEntity owner) |
protected void |
startExecuting(ServerWorld worldIn,
VillagerEntity entityIn,
long gameTimeIn) |
protected void |
updateTask(ServerWorld worldIn,
VillagerEntity owner,
long gameTime) |
private java.util.Set<Item> field_220588_a
protected boolean shouldExecute(ServerWorld worldIn, VillagerEntity owner)
shouldExecute
in class Task<VillagerEntity>
protected boolean shouldContinueExecuting(ServerWorld worldIn, VillagerEntity entityIn, long gameTimeIn)
shouldContinueExecuting
in class Task<VillagerEntity>
protected void startExecuting(ServerWorld worldIn, VillagerEntity entityIn, long gameTimeIn)
startExecuting
in class Task<VillagerEntity>
protected void updateTask(ServerWorld worldIn, VillagerEntity owner, long gameTime)
updateTask
in class Task<VillagerEntity>
protected void resetTask(ServerWorld worldIn, VillagerEntity entityIn, long gameTimeIn)
resetTask
in class Task<VillagerEntity>
private static java.util.Set<Item> func_220585_a(VillagerEntity p_220585_0_, VillagerEntity p_220585_1_)
private static void func_220586_a(VillagerEntity p_220586_0_, java.util.Set<Item> p_220586_1_, LivingEntity p_220586_2_)