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.item.MaceItem
net.minecraft.world.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
m
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
n
SMASH_ATTACK_KNOCKBACK_POWER
field_50000
KNOCKBACK_POWER

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public static ItemAttributeModifiers
b()
createAttributes()
method_59532()
createAttributeModifiers()
public static Tool
c()
createToolProperties()
method_58412()
createToolComponent()
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)
canMine(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity 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)
postHit(ItemStack arg0, LivingEntity arg1, LivingEntity arg2)
private Vec3
a(asi arg0)
calculateImpactPosition(ServerPlayer arg0)
method_61658(class_3222 arg0)
getCurrentExplosionImpactPos(ServerPlayerEntity player)
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)
postDamageEntity(ItemStack arg0, LivingEntity arg1, LivingEntity 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)
getBonusAttackDamage(Entity arg0, float arg1, DamageSource 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)
knockbackNearbyEntities(World world, Entity attacker, Entity attacked)
private static Predicate<LivingEntity>
a(bvk arg0, bvk arg1)
knockbackPredicate(Entity arg0, Entity arg1)
method_58660(class_1297 arg0, class_1297 arg1)
getKnockbackPredicate(Entity attacker, Entity attacked)
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)
getKnockback(Entity attacker, LivingEntity attacked, Vec3d distance)
public static boolean
b(bwg arg0)
canSmashAttack(LivingEntity arg0)
method_58659(class_1309 arg0)
shouldDealAdditionalDamage(LivingEntity attacker)
public DamageSource
a(bwg arg0)
getDamageSource(LivingEntity arg0)
method_64193(class_1309 arg0)
getDamageSource(LivingEntity arg0)