- 20
- 1
ВНИМАНИЕ 1.14.4
Я хочу, чтобы при крафте предмет ломался. Вот что у меня получилось:
Java:
{
public Hammer(Properties properties)
{
super(properties);
}
public boolean hasContainerItem(ItemStack stack)
{
return true;
}
public ItemStack getContainerItem(ItemStack stack) {
return stack.copy();
}
}
Хелпаните