add first patch

This commit is contained in:
2026-07-31 10:34:32 +09:00
parent 03aac2e45e
commit b1cbc6c78d
6390 changed files with 547430 additions and 0 deletions
@@ -0,0 +1,21 @@
// BlockEvents.rightClicked((e) => {
// const { item, block, hand, server, player, level } = e;
// if (player.getHeldItem("main_hand") == "whimsy_deco:paw_carpet" && hand != "OFF_HAND") {
// let carpet = level.createEntity("whimsy_deco:paw_carpet_entity");
// carpet.setPos(block.getX(), block.getY() + 1, block.getZ());
// let newNbt = carpet.getNbt();
// newNbt.Rotation = [
// NBT.f(global.rotationFromFacing(player.getHorizontalFacing())),
// NBT.f(0),
// ];
// newNbt.CanUpdate = 0;
// newNbt.NoGravity = 0;
// carpet.setNbt(newNbt);
// carpet.spawn();
// server.runCommandSilent(
// `playsound minecraft:block.wool.place block @a ${block.x} ${block.y} ${block.z}`
// );
// if (!player.isCreative()) item.shrink(1);
// }
// });