0.17 official

This commit is contained in:
sainagh
2025-01-25 10:22:23 -08:00
parent 16844ae817
commit aad7f70f2f
249 changed files with 2903 additions and 332525 deletions
+7 -2
View File
@@ -465,9 +465,14 @@ blackholecore.register();
var condensedessence = VanillaFactory.createItem("condensed_essence");
condensedessence.maxStackSize = 64;
condensedessence.itemRightClick = function(stack, world, player, hand) {
Commands.call("xp 10000 @p", player, world, true, true);
if (player.isSneaking) {
Commands.call("xp " + (10000 * stack.amount) + " @p", player, world, true, true);
stack.shrink(stack.amount);
} else {
Commands.call("xp 10000 @p", player, world, true, true);
stack.shrink(1);
return "Pass";
}
return "Pass";
};
condensedessence.glowing = true;
condensedessence.register();