19w37a
This commit is contained in:
parent
1cc56ed2e3
commit
8c9c736da9
13 changed files with 170 additions and 169 deletions
|
@ -109,7 +109,7 @@ public class ItemFrequencyTransmitter extends Item {
|
|||
}
|
||||
}
|
||||
|
||||
return new TypedActionResult<>(ActionResult.SUCCESS, stack);
|
||||
return new TypedActionResult<>(ActionResult.SUCCESS, stack, true);
|
||||
}
|
||||
|
||||
@Environment(EnvType.CLIENT)
|
||||
|
|
|
@ -49,7 +49,7 @@ public class ItemManual extends Item {
|
|||
if(world.isClient){
|
||||
openGui(player);
|
||||
}
|
||||
return new TypedActionResult<>(ActionResult.SUCCESS, player.getStackInHand(hand));
|
||||
return new TypedActionResult<>(ActionResult.SUCCESS, player.getStackInHand(hand), true);
|
||||
}
|
||||
|
||||
@Environment(EnvType.CLIENT)
|
||||
|
|
|
@ -54,6 +54,6 @@ public class ItemScrapBox extends Item {
|
|||
WorldUtils.dropItem(out, world, player.getBlockPos());
|
||||
stack.decrement(1);
|
||||
}
|
||||
return new TypedActionResult<>(ActionResult.SUCCESS, stack);
|
||||
return new TypedActionResult<>(ActionResult.SUCCESS, stack, true);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -141,9 +141,9 @@ public class ItemIndustrialChainsaw extends ItemChainsaw {
|
|||
}
|
||||
}
|
||||
}
|
||||
return new TypedActionResult<>(ActionResult.SUCCESS, stack);
|
||||
return new TypedActionResult<>(ActionResult.SUCCESS, stack, true);
|
||||
}
|
||||
return new TypedActionResult<>(ActionResult.PASS, stack);
|
||||
return new TypedActionResult<>(ActionResult.PASS, stack, true);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -200,9 +200,9 @@ public class ItemIndustrialDrill extends ItemDrill {
|
|||
}
|
||||
}
|
||||
}
|
||||
return new TypedActionResult<>(ActionResult.SUCCESS, stack);
|
||||
return new TypedActionResult<>(ActionResult.SUCCESS, stack, true);
|
||||
}
|
||||
return new TypedActionResult<>(ActionResult.PASS, stack);
|
||||
return new TypedActionResult<>(ActionResult.PASS, stack, true);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -138,9 +138,9 @@ public class ItemNanosaber extends SwordItem implements IEnergyItemInfo, ItemDur
|
|||
}
|
||||
}
|
||||
}
|
||||
return new TypedActionResult<>(ActionResult.SUCCESS, stack);
|
||||
return new TypedActionResult<>(ActionResult.SUCCESS, stack, true);
|
||||
}
|
||||
return new TypedActionResult<>(ActionResult.PASS, stack);
|
||||
return new TypedActionResult<>(ActionResult.PASS, stack, true);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue