net.minecraft.world.item

public class MaceItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

cyb
net.minecraft.world.item.MaceItem
net.minecraft.class_9362
net.minecraft.unmapped.C_dromlfke
net.minecraft.item.MaceItem
net.minecraft.item.MaceItem
net.minecraft.src.C_313549_
net.minecraft.world.item.MaceItem

Field summary

Modifier and TypeField
private static final int
c
DEFAULT_ATTACK_DAMAGE
field_49824
f_uehcwcxb
ATTACK_DAMAGE_MODIFIER_VALUE
ATTACK_DAMAGE_MODIFIER
f_315599_
private static final float
d
DEFAULT_ATTACK_SPEED
field_49825
f_ztxhqkle
ATTACK_SPEED_MODIFIER_VALUE
ATTACK_SPEED_MODIFIER
f_314059_
public static final float
a
SMASH_ATTACK_FALL_THRESHOLD
field_49823
f_sxpbvvce
MINING_SPEED_MULTIPLIER
MIN_SMASH_ATTACK_FALL_DISTANCE
f_314421_
private static final float
m
SMASH_ATTACK_HEAVY_THRESHOLD
field_50141
f_pvnkxqyz
HEAVY_SMASH_SOUND_FALL_DISTANCE_THRESHOLD
MIN_HEAVY_SMASH_ATTACK_FALL_DISTANCE
f_315869_
public static final float
b
SMASH_ATTACK_KNOCKBACK_RADIUS
field_49999
f_iwezuyjb
KNOCKBACK_RANGE
SMASH_ATTACK_RANGE
f_315457_
private static final float
n
SMASH_ATTACK_KNOCKBACK_POWER
field_50000
f_txhcwmgq
KNOCKBACK_POWER
SMASH_ATTACK_KNOCKBACK_MULTIPLIER
f_315270_

Constructor summary

ModifierConstructor
public (Item$Properties settings)

Method summary

Modifier and TypeMethod
public static ItemAttributeModifiers
b()
createAttributes()
method_59532()
m_mkgopfsx()
createAttributeModifiers()
createAttributes()
m_320958_()
public static Tool
c()
createToolProperties()
method_58412()
m_jcuowukf()
createToolComponent()
createToolComponent()
m_324286_()
public boolean
a(dxv arg0, dhi arg1, jh arg2, cpx arg3)
canAttackBlock(BlockState arg0, Level arg1, BlockPos arg2, Player arg3)
method_7885(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3)
m_tkohmxbq(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_jzrpycqo arg3)
canMine(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3)
canMine(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3)
m_6777_(C_2064_ p_332833_, C_1596_ p_334020_, C_4675_ p_336375_, C_1141_ arg3)
public boolean
a(cxp arg0, bwg arg1, bwg arg2)
hurtEnemy(ItemStack arg0, LivingEntity arg1, LivingEntity arg2)
method_7873(class_1799 arg0, class_1309 arg1, class_1309 arg2)
m_plxsgnqi(C_sddaxwyk arg0, C_usxaxydn arg1, C_usxaxydn arg2)
postHit(ItemStack arg0, LivingEntity arg1, LivingEntity arg2)
postHit(ItemStack arg0, LivingEntity arg1, LivingEntity arg2)
m_7579_(C_1391_ p_332492_, C_524_ p_333391_, C_524_ arg2)
private Vec3
a(asi arg0)
calculateImpactPosition(ServerPlayer arg0)
method_61658(class_3222 arg0)
m_smdswzci(C_mxrobsgg arg0)
getCurrentExplosionImpactPos(ServerPlayerEntity player)
m_smdswzci(ServerPlayerEntity player)
m_351688_(C_13_ arg0)
public void
b(cxp arg0, bwg arg1, bwg arg2)
postHurtEnemy(ItemStack arg0, LivingEntity arg1, LivingEntity arg2)
method_59978(class_1799 arg0, class_1309 arg1, class_1309 arg2)
m_jbvnrizt(C_sddaxwyk arg0, C_usxaxydn arg1, C_usxaxydn arg2)
postDamageEntity(ItemStack arg0, LivingEntity arg1, LivingEntity arg2)
postDamageEntity(ItemStack arg0, LivingEntity arg1, LivingEntity arg2)
m_338515_(C_1391_ p_344000_, C_524_ p_342605_, C_524_ arg2)
public float
a(bvk arg0, float arg1, bua arg2)
getAttackDamageBonus(Entity arg0, float arg1, DamageSource arg2)
method_58403(class_1297 arg0, float arg1, class_1282 arg2)
m_bhfktmca(C_astfners arg0, float arg1, C_sbxfkpyv arg2)
getBonusAttackDamage(Entity arg0, float arg1, DamageSource arg2)
getAttackDamage(Entity arg0, float arg1, DamageSource arg2)
m_319585_(C_507_ p_333106_, float p_345351_, C_489_ arg2)
private static void
a(dhi arg0, bvk arg1, bvk arg2)
knockback(Level arg0, Entity arg1, Entity arg2)
method_58411(class_1937 arg0, class_1297 arg1, class_1297 arg2)
m_tazjgygw(C_cdctfzbn arg0, C_astfners arg1, C_astfners arg2)
knockbackNearbyEntities(World world, Entity attacker, Entity attacked)
knockbackNearbyEntities(World world, Entity target, Entity arg2)
m_322114_(C_1596_ p_332228_, C_507_ p_335011_, C_507_ p_364373_)
private static Predicate<LivingEntity>
a(bvk arg0, bvk arg1)
knockbackPredicate(Entity arg0, Entity arg1)
method_58660(class_1297 arg0, class_1297 arg1)
m_pxzxqsww(C_astfners arg0, C_astfners arg1)
getKnockbackPredicate(Entity attacker, Entity attacked)
getKnockbackNearbyPredicate(Entity target, Entity arg1)
m_321647_(C_507_ p_334480_, C_507_ p_363363_)
private static double
a(bvk arg0, bwg arg1, fby arg2)
getKnockbackPower(Entity arg0, LivingEntity arg1, Vec3 arg2)
method_58662(class_1297 arg0, class_1309 arg1, class_243 arg2)
m_kqoarywc(C_astfners arg0, C_usxaxydn arg1, C_vgpupfxx arg2)
getKnockback(Entity attacker, LivingEntity attacked, Vec3d distance)
getKnockbackMagnitude(Entity entity, LivingEntity opponent, Vec3d opponentToTarget)
m_320432_(C_507_ p_361841_, C_524_ p_334129_, C_3046_ p_335583_)
public static boolean
b(bwg arg0)
canSmashAttack(LivingEntity arg0)
method_58659(class_1309 arg0)
m_yidgbebs(C_usxaxydn arg0)
shouldDealAdditionalDamage(LivingEntity attacker)
shouldSmashAttack(LivingEntity entity)
m_320829_(C_524_ p_345213_)
public DamageSource
a(bwg arg0)
getDamageSource(LivingEntity arg0)
method_64193(class_1309 arg0)
m_kolwcjef(C_usxaxydn arg0)
getDamageSource(LivingEntity arg0)
m_kolwcjef(LivingEntity arg0)
m_354152_(C_524_ arg0)