mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-16 20:43:40 +01:00
Glurability
- Fixed Super Glue not showing a correct damage bar
This commit is contained in:
parent
1e3fd9087e
commit
236b4004fc
2 changed files with 2 additions and 10 deletions
|
@ -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 =
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue