net.minecraft.world.entity.monster

public class Pillager

extends AbstractIllager implements CrossbowAttackMob, InventoryCarrier

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, Attackable, EquipmentUser, Leashable, Targeting, Enemy, CrossbowAttackMob, RangedAttackMob, InventoryCarrier

cna
net.minecraft.world.entity.monster.Pillager
net.minecraft.class_1604
net.minecraft.entity.mob.PillagerEntity
net.minecraft.world.entity.monster.EntityPillager

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Boolean>
a
IS_CHARGING_CROSSBOW
field_7334
CHARGING
private static final int
b
INVENTORY_SIZE
field_30478
field_30478
private static final int
bZ
SLOT_OFFSET
field_30476
field_30476
private final SimpleContainer
ca
inventory
field_7335
inventory

Constructor summary

ModifierConstructor
public (EntityType<? extends Pillager> arg0, Level arg1)

Method summary

Modifier and TypeMethod
protected void
B()
registerGoals()
method_5959()
initGoals()
public static AttributeSupplier$Builder
p()
createAttributes()
method_26919()
createPillagerAttributes()
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public boolean
a(cyl arg0)
canFireProjectileWeapon(ProjectileWeaponItem arg0)
method_25938(class_1811 arg0)
canUseRangedWeapon(RangedWeaponItem arg0)
public boolean
x()
isChargingCrossbow()
method_7108()
isCharging()
public void
b(boolean arg0)
setChargingCrossbow(boolean arg0)
method_7110(boolean arg0)
setCharging(boolean arg0)
public void
a()
onCrossbowAttackPerformed()
method_24651()
postShoot()
public void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public AbstractIllager$IllagerArmPose
m()
getArmPose()
method_6990()
getState()
public void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public float
a(jh arg0, dhl arg1)
getWalkTargetValue(BlockPos arg0, LevelReader arg1)
method_6144(class_2338 arg0, class_4538 arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
public int
ad()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
public SpawnGroupData
a(dhz arg0, bth arg1, bvq arg2, bwz arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
protected void
a(bam arg0, bth arg1)
populateDefaultEquipmentSlots(RandomSource arg0, DifficultyInstance arg1)
method_5964(class_5819 arg0, class_1266 arg1)
initEquipment(Random arg0, LocalDifficulty arg1)
protected void
b(dhz arg0, bam arg1, bth arg2)
enchantSpawnedWeapon(ServerLevelAccessor arg0, RandomSource arg1, DifficultyInstance arg2)
method_30759(class_5425 arg0, class_5819 arg1, class_1266 arg2)
enchantMainHandItem(ServerWorldAccess arg0, Random arg1, LocalDifficulty arg2)
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
protected SoundEvent
e(bua arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
public void
a(bwg arg0, float arg1)
performRangedAttack(LivingEntity arg0, float arg1)
method_7105(class_1309 arg0, float arg1)
shootAt(LivingEntity arg0, float arg1)
public SimpleContainer
t()
getInventory()
method_35199()
getInventory()
protected void
a(ash arg0, cmb arg1)
pickUpItem(ServerLevel arg0, ItemEntity arg1)
method_5949(class_3218 arg0, class_1542 arg1)
loot(ServerWorld arg0, ItemEntity arg1)
private boolean
i(cxp arg0)
wantsItem(ItemStack arg0)
method_7111(class_1799 arg0)
isRaidCaptain(ItemStack stack)
public SlotAccess
a_(int arg0)
getSlot(int arg0)
method_32318(int arg0)
getStackReference(int arg0)
public void
a(ash arg0, int arg1, boolean arg2)
applyRaidBuffs(ServerLevel arg0, int arg1, boolean arg2)
method_16484(class_3218 arg0, int arg1, boolean arg2)
addBonusForWave(ServerWorld arg0, int arg1, boolean arg2)
public SoundEvent
ak_()
getCelebrateSound()
method_20033()
getCelebratingSound()