net.minecraft.world.item

public class MaceItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

cze
net.minecraft.world.item.MaceItem
net.minecraft.class_9362
net.minecraft.item.MaceItem

Field summary

Modifier and TypeField
private static final int
c
DEFAULT_ATTACK_DAMAGE
field_49824
ATTACK_DAMAGE_MODIFIER_VALUE
private static final float
d
DEFAULT_ATTACK_SPEED
field_49825
ATTACK_SPEED_MODIFIER_VALUE
public static final float
a
SMASH_ATTACK_FALL_THRESHOLD
field_49823
MINING_SPEED_MULTIPLIER
private static final float
o
SMASH_ATTACK_HEAVY_THRESHOLD
field_50141
HEAVY_SMASH_SOUND_FALL_DISTANCE_THRESHOLD
public static final float
b
SMASH_ATTACK_KNOCKBACK_RADIUS
field_49999
KNOCKBACK_RANGE
private static final float
p
SMASH_ATTACK_KNOCKBACK_POWER
field_50000
KNOCKBACK_POWER

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public static ItemAttributeModifiers
a()
createAttributes()
method_59532()
createAttributeModifiers()
public static Tool
b()
createToolProperties()
method_58412()
createToolComponent()
public void
a(cys arg0, bwz arg1, bwz 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)
private Vec3
a(arp arg0)
calculateImpactPosition(ServerPlayer arg0)
method_61658(class_3222 arg0)
getCurrentExplosionImpactPos(ServerPlayerEntity player)
public void
b(cys arg0, bwz arg1, bwz arg2)
postHurtEnemy(ItemStack arg0, LivingEntity arg1, LivingEntity arg2)
method_59978(class_1799 arg0, class_1309 arg1, class_1309 arg2)
postDamageEntity(ItemStack arg0, LivingEntity arg1, LivingEntity arg2)
public float
a(bwa arg0, float arg1, bup arg2)
getAttackDamageBonus(Entity arg0, float arg1, DamageSource arg2)
method_58403(class_1297 arg0, float arg1, class_1282 arg2)
getBonusAttackDamage(Entity arg0, float arg1, DamageSource arg2)
private static void
a(dip arg0, bwa arg1, bwa arg2)
knockback(Level arg0, Entity arg1, Entity arg2)
method_58411(class_1937 arg0, class_1297 arg1, class_1297 arg2)
knockbackNearbyEntities(World world, Entity attacker, Entity attacked)
private static Predicate<LivingEntity>
a(bwa arg0, bwa arg1)
knockbackPredicate(Entity arg0, Entity arg1)
method_58660(class_1297 arg0, class_1297 arg1)
getKnockbackPredicate(Entity attacker, Entity attacked)
private static double
a(bwa arg0, bwz arg1, fdw arg2)
getKnockbackPower(Entity arg0, LivingEntity arg1, Vec3 arg2)
method_58662(class_1297 arg0, class_1309 arg1, class_243 arg2)
getKnockback(Entity attacker, LivingEntity attacked, Vec3d distance)
public static boolean
b(bwz arg0)
canSmashAttack(LivingEntity arg0)
method_58659(class_1309 arg0)
shouldDealAdditionalDamage(LivingEntity attacker)
public DamageSource
a(bwz arg0)
getDamageSource(LivingEntity arg0)
method_64193(class_1309 arg0)
getDamageSource(LivingEntity arg0)