net.minecraft.world.entity.monster

public class Pillager

extends AbstractIllager implements CrossbowAttackMob, InventoryCarrier

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Enemy, CrossbowAttackMob, RangedAttackMob, InventoryCarrier

bib
net.minecraft.world.entity.monster.Pillager
net.minecraft.class_1604
net.minecraft.unmapped.C_mjuogjgx
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
f_urrytczy
CHARGING
f_33258_
private static final int
e
INVENTORY_SIZE
field_30478
f_yubzbsal
field_30478
f_149740_
private static final int
bT
SLOT_OFFSET
field_30476
f_eruoymuw
field_30476
f_149738_
private static final float
bU
CROSSBOW_POWER
field_30477
f_qlvqnxpk
field_30477
f_149739_
private final SimpleContainer
bV
inventory
field_7335
f_kkuzfrxt
inventory
f_33259_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
v()
registerGoals()
method_5959()
m_itjttsuo()
initGoals()
m_8099_()
initPathfinder()
public static AttributeSupplier$Builder
p()
createAttributes()
method_26919()
m_fimxqtpo()
createPillagerAttributes()
m_33307_()
protected void
a_()
defineSynchedData()
method_5693()
m_lwugwlsw()
initDataTracker()
m_8097_()
initDatawatcher()
public boolean
a(bre arg0)
canFireProjectileWeapon(ProjectileWeaponItem arg0)
method_25938(class_1811 arg0)
m_tjejbxzp(C_axrfhndl arg0)
canUseRangedWeapon(RangedWeaponItem arg0)
m_5886_(C_1406_ arg0)
public boolean
fw()
isChargingCrossbow()
method_7108()
m_tcyrhcfm()
isCharging()
m_33309_()
public void
b(boolean arg0)
setChargingCrossbow(boolean arg0)
method_7110(boolean arg0)
m_yindccvg(boolean arg0)
setCharging(boolean arg0)
m_6136_(boolean arg0)
public void
a()
onCrossbowAttackPerformed()
method_24651()
m_kuohphtl()
postShoot()
m_5847_()
public void
b(na arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
saveData(NBTTagCompound arg0)
public AbstractIllager$IllagerArmPose
n()
getArmPose()
method_6990()
m_qxqxzkuc()
getState()
m_6768_()
public void
a(na arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
loadData(NBTTagCompound arg0)
public float
a(gg arg0, bwt arg1)
getWalkTargetValue(BlockPos arg0, LevelReader arg1)
method_6144(class_2338 arg0, class_4538 arg1)
m_omcdcxbz(C_hynzadkk arg0, C_eemzphbi arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
m_5610_(C_4675_ p_33289_, C_1599_ arg1)
public int
fc()
getMaxSpawnClusterSize()
method_5945()
m_ywtdditi()
getLimitPerChunk()
m_5792_()
getMaxSpawnGroup()
public SpawnGroupData
a(bxe arg0, arz arg1, aty arg2, aum arg3, na arg4)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3, CompoundTag arg4)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
m_oxrxxqyz(C_jmnzlycd arg0, C_jiailwzt arg1, C_uzzvxofv arg2, C_lsmqixfx arg3, C_hhlwcnih arg4)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, NbtCompound arg4)
m_6518_(C_1618_ p_33283_, C_469_ p_33284_, C_529_ p_33285_, C_542_ p_33286_, C_4917_ arg4)
prepare(WorldAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)
protected void
a(arz arg0)
populateDefaultEquipmentSlots(DifficultyInstance arg0)
method_5964(class_1266 arg0)
m_bafwglvj(C_jiailwzt arg0)
initEquipment(LocalDifficulty arg0)
m_6851_(C_469_ arg0)
protected void
x(float arg0)
enchantSpawnedWeapon(float arg0)
method_30759(float arg0)
m_kqnvykqn(float arg0)
enchantMainHandItem(float arg0)
m_7908_(float arg0)
public boolean
p(atg arg0)
isAlliedTo(Entity arg0)
method_5722(class_1297 arg0)
m_acgnvjmq(C_astfners arg0)
isTeammate(Entity arg0)
m_7307_(C_507_ arg0)
protected SoundEvent
q()
getAmbientSound()
method_5994()
m_jjefzxbm()
getAmbientSound()
m_7515_()
getSoundAmbient()
protected SoundEvent
v_()
getDeathSound()
method_6002()
m_axkhmdzu()
getDeathSound()
m_5592_()
getSoundDeath()
protected SoundEvent
c(asq arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
getSoundHurt(DamageSource arg0)
public void
a(atu arg0, float arg1)
performRangedAttack(LivingEntity arg0, float arg1)
method_7105(class_1309 arg0, float arg1)
m_tmonasak(C_usxaxydn arg0, float arg1)
attack(LivingEntity arg0, float arg1)
m_6504_(C_524_ p_33273_, float arg1)
public void
a(atu arg0, bqq arg1, bku arg2, float arg3)
shootCrossbowProjectile(LivingEntity arg0, ItemStack arg1, Projectile arg2, float arg3)
method_18811(class_1309 arg0, class_1799 arg1, class_1676 arg2, float arg3)
m_waihvmqx(C_usxaxydn arg0, C_sddaxwyk arg1, C_ltpsyvhj arg2, float arg3)
shoot(LivingEntity arg0, ItemStack arg1, ProjectileEntity arg2, float arg3)
m_5811_(C_524_ p_33276_, C_1391_ p_33277_, C_1167_ p_33278_, float arg3)
public Container
fG()
getInventory()
method_35199()
m_jezpqywh()
getInventory()
m_141944_()
getInventory()
protected void
b(bhd arg0)
pickUpItem(ItemEntity arg0)
method_5949(class_1542 arg0)
m_avgkrrey(C_uqpzijng arg0)
loot(ItemEntity arg0)
m_7581_(C_976_ arg0)
private boolean
m(bqq arg0)
wantsItem(ItemStack arg0)
method_7111(class_1799 arg0)
m_vaggxtgu(C_sddaxwyk arg0)
isRaidCaptain(ItemStack stack)
m_149744_(C_1391_ arg0)
public SlotAccess
k(int arg0)
getSlot(int arg0)
method_32318(int arg0)
m_owvpveuv(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)
m_onpzsxkg(int arg0, boolean arg1)
addBonusForWave(int arg0, boolean arg1)
m_7895_(int p_33268_, boolean arg1)
public SoundEvent
t()
getCelebrateSound()
method_20033()
m_gdfkmvgz()
getCelebratingSound()
m_7930_()