net.minecraft.world.entity.monster

public class Pillager

extends AbstractIllager implements CrossbowAttackMob, InventoryCarrier

All mapped superinterfaces:

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

cki
net.minecraft.world.entity.monster.Pillager
net.minecraft.class_1604
net.minecraft.entity.mob.PillagerEntity
net.minecraft.src.C_1041_
net.minecraft.world.entity.monster.EntityPillager

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Boolean>
b
IS_CHARGING_CROSSBOW
field_7334
CHARGING
f_33258_
private static final int
e
INVENTORY_SIZE
field_30478
field_30478
f_149740_
private static final int
bY
SLOT_OFFSET
field_30476
field_30476
f_149738_
private final SimpleContainer
bZ
inventory
field_7335
inventory
f_33259_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
z()
registerGoals()
method_5959()
initGoals()
m_8099_()
public static AttributeSupplier$Builder
u()
createAttributes()
method_26919()
createPillagerAttributes()
m_33307_()
protected void
a(ako$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public boolean
a(cvk arg0)
canFireProjectileWeapon(ProjectileWeaponItem arg0)
method_25938(class_1811 arg0)
canUseRangedWeapon(RangedWeaponItem arg0)
m_5886_(C_1406_ arg0)
public boolean
gq()
isChargingCrossbow()
method_7108()
isCharging()
m_33309_()
public void
b(boolean arg0)
setChargingCrossbow(boolean arg0)
method_7110(boolean arg0)
setCharging(boolean arg0)
m_6136_(boolean arg0)
public void
a()
onCrossbowAttackPerformed()
method_24651()
postShoot()
m_5847_()
public void
b(us arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public AbstractIllager$IllagerArmPose
s()
getArmPose()
method_6990()
getState()
m_6768_()
public void
a(us arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public float
a(iz arg0, dcd arg1)
getWalkTargetValue(BlockPos arg0, LevelReader arg1)
method_6144(class_2338 arg0, class_4538 arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
m_5610_(C_4675_ p_33289_, C_1599_ arg1)
public int
fQ()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
m_5792_()
public SpawnGroupData
a(dcp arg0, bqu arg1, btv arg2, buk arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType 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)
m_6518_(C_1618_ p_33283_, C_469_ p_33284_, C_529_ p_33285_, C_542_ arg3)
protected void
a(azh arg0, bqu arg1)
populateDefaultEquipmentSlots(RandomSource arg0, DifficultyInstance arg1)
method_5964(class_5819 arg0, class_1266 arg1)
initEquipment(Random arg0, LocalDifficulty arg1)
m_213945_(C_212974_ p_219060_, C_469_ arg1)
protected void
a(azh arg0, float arg1)
enchantSpawnedWeapon(RandomSource arg0, float arg1)
method_30759(class_5819 arg0, float arg1)
enchantMainHandItem(Random arg0, float arg1)
m_214095_(C_212974_ p_219057_, float arg1)
protected SoundEvent
v()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected SoundEvent
d(brp arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
public void
a(btr arg0, float arg1)
performRangedAttack(LivingEntity arg0, float arg1)
method_7105(class_1309 arg0, float arg1)
shootAt(LivingEntity arg0, float arg1)
m_6504_(C_524_ p_33273_, float arg1)
public SimpleContainer
y()
getInventory()
method_35199()
getInventory()
m_35311_()
protected void
b(cjj arg0)
pickUpItem(ItemEntity arg0)
method_5949(class_1542 arg0)
loot(ItemEntity arg0)
m_7581_(C_976_ arg0)
private boolean
n(cur arg0)
wantsItem(ItemStack arg0)
method_7111(class_1799 arg0)
isRaidCaptain(ItemStack stack)
m_149744_(C_1391_ arg0)
public SlotAccess
a_(int arg0)
getSlot(int arg0)
method_32318(int arg0)
getStackReference(int arg0)
m_141942_(int arg0)
public void
a(int arg0, boolean arg1)
applyRaidBuffs(int arg0, boolean arg1)
method_16484(int arg0, boolean arg1)
addBonusForWave(int arg0, boolean arg1)
m_7895_(int p_33268_, boolean arg1)
public SoundEvent
ae_()
getCelebrateSound()
method_20033()
getCelebratingSound()
m_7930_()