Glurability

- Fixed Super Glue not showing a correct damage bar
This commit is contained in:
simibubi 2022-01-09 02:39:24 +01:00
parent 1e3fd9087e
commit 236b4004fc
2 changed files with 2 additions and 10 deletions

View file

@ -226,6 +226,8 @@ public class AllItems {
.register();
public static final ItemEntry<SuperGlueItem> SUPER_GLUE = REGISTRATE.item("super_glue", SuperGlueItem::new)
.properties(p -> p.stacksTo(1)
.durability(99))
.register();
public static final ItemEntry<MinecartCouplingItem> MINECART_COUPLING =

View file

@ -31,16 +31,6 @@ public class SuperGlueItem extends Item {
return true;
}
@Override
public int getMaxDamage(ItemStack stack) {
return 99;
}
@Override
public int getItemStackLimit(ItemStack stack) {
return 1;
}
@Override
public InteractionResult useOn(UseOnContext context) {
BlockPos blockpos = context.getClickedPos();