net.minecraft.server.v1_14_R1

public class BehaviorVillageHeroGift

extends Behavior<EntityVillager>

akc
net.minecraft.class_4243
net.minecraft.entity.ai.brain.task.GiveGiftsToHeroTask
net.minecraft.entity.ai.brain.task.GiveHeroGiftsTask
net.minecraft.server.v1_14_R1.BehaviorVillageHeroGift

Field summary

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

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)
func_212832_a_(ServerWorld arg0, VillagerEntity arg1)
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)
func_212831_a_(ServerWorld arg0, VillagerEntity arg1, long arg2)
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)
func_212834_g_(ServerWorld arg0, VillagerEntity arg1, long arg2)
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)
func_212833_d_(ServerWorld arg0, VillagerEntity arg1, long arg2)
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)
func_212835_f_(ServerWorld arg0, VillagerEntity arg1, long arg2)
private void
a(avo arg0, aiu arg1)
method_19957(class_1646 arg0, class_1309 arg1)
giveGifts(VillagerEntity arg0, LivingEntity arg1)
func_220398_a(VillagerEntity arg0, LivingEntity arg1)
private List<ItemStack>
a(avo arg0)
method_19956(class_1646 arg0)
getGifts(VillagerEntity arg0)
func_220399_a(VillagerEntity arg0)
private boolean
b(avo arg0)
method_19964(class_1646 arg0)
isNearestPlayerHero(VillagerEntity arg0)
func_220396_b(VillagerEntity arg0)
private Optional<EntityHuman>
c(avo arg0)
method_19966(class_1646 arg0)
getNearestPlayerIfHero(VillagerEntity arg0)
func_220400_c(VillagerEntity arg0)
private boolean
a(awb arg0)
method_19959(class_1657 arg0)
isHero(PlayerEntity arg0)
func_220402_a(PlayerEntity arg0)
private boolean
a(avo arg0, awb arg1)
method_19958(class_1646 arg0, class_1657 arg1)
isCloseEnough(VillagerEntity arg0, PlayerEntity arg1)
func_220401_a(VillagerEntity arg0, PlayerEntity arg1)
private static int
a(vi arg0)
method_19961(class_3218 arg0)
getNextGiftDelay(ServerWorld arg0)
func_220397_a(ServerWorld arg0)