public class ShowWaresTask extends Task<VillagerEntity>
Task.Status
Modifier and Type | Field and Description |
---|---|
private ItemStack |
field_220559_a |
private java.util.List<ItemStack> |
field_220560_b |
private int |
field_220561_c |
private int |
field_220562_d |
private int |
field_220563_e |
Constructor and Description |
---|
ShowWaresTask(int durationMinIn,
int durationMaxIn) |
Modifier and Type | Method and Description |
---|---|
private void |
func_220553_d(VillagerEntity p_220553_1_) |
private boolean |
func_220554_a(MerchantOffer p_220554_1_) |
private void |
func_220555_b(VillagerEntity p_220555_1_) |
private void |
func_220556_a(LivingEntity p_220556_1_,
VillagerEntity p_220556_2_) |
private LivingEntity |
func_220557_c(VillagerEntity p_220557_1_) |
private void |
func_220558_a(VillagerEntity p_220558_1_) |
void |
resetTask(ServerWorld worldIn,
VillagerEntity entityIn,
long gameTimeIn) |
boolean |
shouldContinueExecuting(ServerWorld worldIn,
VillagerEntity entityIn,
long gameTimeIn) |
boolean |
shouldExecute(ServerWorld worldIn,
VillagerEntity owner) |
void |
startExecuting(ServerWorld worldIn,
VillagerEntity entityIn,
long gameTimeIn) |
void |
updateTask(ServerWorld worldIn,
VillagerEntity owner,
long gameTime) |
@Nullable private ItemStack field_220559_a
private final java.util.List<ItemStack> field_220560_b
private int field_220561_c
private int field_220562_d
private int field_220563_e
public boolean shouldExecute(ServerWorld worldIn, VillagerEntity owner)
shouldExecute
in class Task<VillagerEntity>
public boolean shouldContinueExecuting(ServerWorld worldIn, VillagerEntity entityIn, long gameTimeIn)
shouldContinueExecuting
in class Task<VillagerEntity>
public void startExecuting(ServerWorld worldIn, VillagerEntity entityIn, long gameTimeIn)
startExecuting
in class Task<VillagerEntity>
public void updateTask(ServerWorld worldIn, VillagerEntity owner, long gameTime)
updateTask
in class Task<VillagerEntity>
public void resetTask(ServerWorld worldIn, VillagerEntity entityIn, long gameTimeIn)
resetTask
in class Task<VillagerEntity>
private void func_220556_a(LivingEntity p_220556_1_, VillagerEntity p_220556_2_)
private void func_220558_a(VillagerEntity p_220558_1_)
private void func_220555_b(VillagerEntity p_220555_1_)
private boolean func_220554_a(MerchantOffer p_220554_1_)
private LivingEntity func_220557_c(VillagerEntity p_220557_1_)
private void func_220553_d(VillagerEntity p_220553_1_)