net.minecraft.entity.ai.brain.task

public class GiveGiftsToHeroTask

extends Task<VillagerEntity>

akc
net.minecraft.class_4243
net.minecraft.entity.ai.brain.task.GiveGiftsToHeroTask
net.minecraft.unmapped.C_20478737
net.minecraft.entity.ai.brain.task.GiveHeroGiftsTask
net.minecraft.entity.ai.brain.task.GiveHeroGiftsTask

Field summary

Modifier and TypeField
private static final Map<VillagerProfession, Identifier>
a
field_18984
GIFTS
f_05186067
field_220403_a
GIFTS
private int
b
field_18985
ticksLeft
f_99296239
field_220404_b
cooldown
private boolean
c
field_18986
done
f_65748740
field_220405_c
done
private long
d
field_18987
startTime
f_55934219
field_220406_d
startTime

Constructor summary

ModifierConstructor
public (int arg0)

Method summary

Modifier and TypeMethod
protected boolean
a(vi arg0, avo arg1)
method_19962(class_3218 arg0, class_1646 arg1)
method_19962(ServerWorld arg0, VillagerEntity arg1)
m_80077266(ServerWorld arg0, VillagerEntity arg1)
func_212832_a_(ServerWorld arg0, VillagerEntity arg1)
shouldExecute(ServerWorld worldIn, VillagerEntity owner)
protected void
a(vi arg0, avo arg1, long arg2)
method_19963(class_3218 arg0, class_1646 arg1, long arg2)
method_19963(ServerWorld arg0, VillagerEntity arg1, long arg2)
m_38027204(ServerWorld arg0, VillagerEntity arg1, long arg2)
func_212831_a_(ServerWorld arg0, VillagerEntity arg1, long arg2)
startExecuting(ServerWorld worldIn, VillagerEntity entityIn, long gameTimeIn)
protected boolean
b(vi arg0, avo arg1, long arg2)
method_19965(class_3218 arg0, class_1646 arg1, long arg2)
method_19965(ServerWorld arg0, VillagerEntity arg1, long arg2)
m_40339914(ServerWorld arg0, VillagerEntity arg1, long arg2)
func_212834_g_(ServerWorld arg0, VillagerEntity arg1, long arg2)
shouldContinueExecuting(ServerWorld worldIn, VillagerEntity entityIn, long gameTimeIn)
protected void
c(vi arg0, avo arg1, long arg2)
method_19967(class_3218 arg0, class_1646 arg1, long arg2)
method_19967(ServerWorld arg0, VillagerEntity arg1, long arg2)
m_70077289(ServerWorld arg0, VillagerEntity arg1, long arg2)
func_212833_d_(ServerWorld arg0, VillagerEntity arg1, long arg2)
updateTask(ServerWorld worldIn, VillagerEntity owner, long gameTime)
protected void
d(vi arg0, avo arg1, long arg2)
method_19968(class_3218 arg0, class_1646 arg1, long arg2)
method_19968(ServerWorld arg0, VillagerEntity arg1, long arg2)
m_76098730(ServerWorld arg0, VillagerEntity arg1, long arg2)
func_212835_f_(ServerWorld arg0, VillagerEntity arg1, long arg2)
resetTask(ServerWorld worldIn, VillagerEntity entityIn, long gameTimeIn)
private void
a(avo arg0, aiu arg1)
method_19957(class_1646 arg0, class_1309 arg1)
giveGifts(VillagerEntity arg0, LivingEntity arg1)
m_09212890(VillagerEntity arg0, LivingEntity arg1)
func_220398_a(VillagerEntity arg0, LivingEntity arg1)
giveGifts(VillagerEntity arg0, LivingEntity arg1)
private List<ItemStack>
a(avo arg0)
method_19956(class_1646 arg0)
getGifts(VillagerEntity arg0)
m_58794969(VillagerEntity arg0)
func_220399_a(VillagerEntity arg0)
getGifts(VillagerEntity arg0)
private boolean
b(avo arg0)
method_19964(class_1646 arg0)
isNearestPlayerHero(VillagerEntity arg0)
m_81171969(VillagerEntity arg0)
func_220396_b(VillagerEntity arg0)
hasNearestPlayer(VillagerEntity arg0)
private Optional<PlayerEntity>
c(avo arg0)
method_19966(class_1646 arg0)
getNearestPlayerIfHero(VillagerEntity arg0)
m_40278601(VillagerEntity arg0)
func_220400_c(VillagerEntity arg0)
getNearestPlayer(VillagerEntity arg0)
private boolean
a(awb arg0)
method_19959(class_1657 arg0)
isHero(PlayerEntity arg0)
m_04411364(PlayerEntity arg0)
func_220402_a(PlayerEntity arg0)
isHero(PlayerEntity arg0)
private boolean
a(avo arg0, awb arg1)
method_19958(class_1646 arg0, class_1657 arg1)
isCloseEnough(VillagerEntity arg0, PlayerEntity arg1)
m_50770085(VillagerEntity arg0, PlayerEntity arg1)
func_220401_a(VillagerEntity arg0, PlayerEntity arg1)
isCloseEnough(VillagerEntity arg0, PlayerEntity arg1)
private static int
a(vi arg0)
method_19961(class_3218 arg0)
getNextGiftDelay(ServerWorld arg0)
m_62589397(ServerWorld arg0)
func_220397_a(ServerWorld arg0)
getNextCooldown(ServerWorld arg0)