0.17 update

This commit is contained in:
ZHAY10086
2025-01-25 12:18:35 +08:00
parent 3d87b65533
commit 102bf924ca
268 changed files with 3373 additions and 332398 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();