net.minecraft.item

public class SnowballItem

extends Item implements ProjectileItem

All mapped superinterfaces:

ItemConvertible, ToggleableFeature, ProjectileItem

net.minecraft.world.item.SnowballItem
net.minecraft.class_1823
net.minecraft.item.SnowballItem

Field summary

Modifier and TypeField
public static final float
PROJECTILE_SHOOT_POWER
field_55045
POWER

Constructor summary

ModifierConstructor
public (Item$Settings properties)

Method summary

Modifier and TypeMethod
public ActionResult
use(Level level, Player player, InteractionHand hand)
method_7836(class_1937 arg0, class_1657 arg1, class_1268 arg2)
use(World arg0, PlayerEntity arg1, Hand arg2)
public ProjectileEntity
asProjectile(Level level, Position position, ItemStack itemStack, Direction direction)
method_58648(class_1937 arg0, class_2374 arg1, class_1799 arg2, class_2350 arg3)
createEntity(World arg0, Position arg1, ItemStack arg2, Direction arg3)