net.minecraft.world.item

public class MaceItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

cuy
net.minecraft.world.item.MaceItem
net.minecraft.class_9362
net.minecraft.item.MaceItem
net.minecraft.src.C_313549_
net.minecraft.world.item.MaceItem

Field summary

Modifier and TypeField
private static final int
b
DEFAULT_ATTACK_DAMAGE
field_49824
ATTACK_DAMAGE_MODIFIER_VALUE
f_315599_
private static final float
c
DEFAULT_ATTACK_SPEED
field_49825
ATTACK_SPEED_MODIFIER_VALUE
f_314059_
private static final float
j
SMASH_ATTACK_FALL_THRESHOLD
field_49823
MINING_SPEED_MULTIPLIER
f_314421_
private static final float
k
SMASH_ATTACK_HEAVY_THRESHOLD
field_50141
field_50141
f_315869_
public static final float
a
SMASH_ATTACK_KNOCKBACK_RADIUS
field_49999
KNOCKBACK_RANGE
f_315457_
private static final float
l
SMASH_ATTACK_KNOCKBACK_POWER
field_50000
KNOCKBACK_POWER
f_315270_
private static final float
m
SMASH_ATTACK_FALL_DISTANCE_MULTIPLIER
field_50142
FALL_DISTANCE_MULTIPLIER
f_316474_

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public static ItemAttributeModifiers
h()
createAttributes()
method_59532()
createAttributeModifiers()
m_320958_()
public static Tool
k()
createToolProperties()
method_58412()
createToolComponent()
m_324286_()
public boolean
a(dse arg0, dca arg1, iz arg2, cmz arg3)
canAttackBlock(BlockState arg0, Level arg1, BlockPos arg2, Player arg3)
method_7885(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 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 int
g()
getEnchantmentValue()
method_7837()
getEnchantability()
m_6473_()
public boolean
a(cur arg0, btr arg1, btr arg2)
hurtEnemy(ItemStack arg0, LivingEntity arg1, LivingEntity arg2)
method_7873(class_1799 arg0, class_1309 arg1, class_1309 arg2)
postHit(ItemStack arg0, LivingEntity arg1, LivingEntity arg2)
m_7579_(C_1391_ p_332492_, C_524_ p_333391_, C_524_ arg2)
public boolean
a(cur arg0, cur arg1)
isValidRepairItem(ItemStack arg0, ItemStack arg1)
method_7878(class_1799 arg0, class_1799 arg1)
canRepair(ItemStack arg0, ItemStack arg1)
m_6832_(C_1391_ p_332323_, C_1391_ arg1)
public float
a(cmz arg0, float arg1)
getAttackDamageBonus(Player arg0, float arg1)
method_58403(class_1657 arg0, float arg1)
getBonusAttackDamage(PlayerEntity arg0, float arg1)
m_319585_(C_1141_ p_333106_, float arg1)
private static void
a(dca arg0, cmz arg1, bsw arg2)
knockback(Level arg0, Player arg1, Entity arg2)
method_58411(class_1937 arg0, class_1657 arg1, class_1297 arg2)
knockbackNearbyEntities(World world, PlayerEntity player, Entity attacked)
m_322114_(C_1596_ p_332228_, C_1141_ p_335060_, C_507_ p_335011_)
private static Predicate<LivingEntity>
a(cmz arg0, bsw arg1)
knockbackPredicate(Player arg0, Entity arg1)
method_58660(class_1657 arg0, class_1297 arg1)
getKnockbackPredicate(PlayerEntity player, Entity attacked)
m_321647_(C_1141_ p_334836_, C_507_ p_334480_)
private static double
a(cmz arg0, btr arg1, evt arg2)
getKnockbackPower(Player arg0, LivingEntity arg1, Vec3 arg2)
method_58662(class_1657 arg0, class_1309 arg1, class_243 arg2)
getKnockback(PlayerEntity player, LivingEntity attacked, Vec3d distance)
m_320432_(C_1141_ p_328672_, C_524_ p_334129_, C_3046_ p_335583_)
public static boolean
a(cmz arg0)
canSmashAttack(Player arg0)
method_58659(class_1657 arg0)
shouldDealAdditionalDamage(PlayerEntity attacker)
m_320829_(C_1141_ p_328263_)