Skip to main content

Chest Form API for Endstone

Project description

ChestForm

Chest Form API for Endstone

PyPI - Version Python
PyPI - Downloads

Install

pip install chest_form_api_endstone

Quick Start 🚀

Example

from endstone import Player
from chest_form_api_endstone import ChestForm

class MyPlugin(Plugin):
    # ... (other methods)

    def on_command(self, sender: CommandSender, command: Command, _):
        match command.name:
            case "chest":
                if isinstance(sender, Player):
                    form = ChestForm(self, "Test Form")
                    form.fill_slots(
                        "minecraft:bedrock",
                        display_name="Test Item",
                        lore=["1111", "22222"],
                        enchants={"lure": 12234, "flame": 11345},
                    )

                    def call_back(player: Player, index: int):
                        player.send_message("114514")
                        form.send_to(player)

                    form.set_slot(3, "minecraft:diamond_block", call_back)
                    form.send_to(player)
                            else:
                                sender.send_error_message(
                                    "This command can only be executed by player."
                                )
                return False
        return True

Used Libraries 📖

Library License Link
RapidNBT MPL-2.0 https://github.com/GlacieTeam/RapidNBT
bedrock-protocol-packets MPL-2.0 https://github.com/GlacieTeam/bedrock-protocol-packets

Copyright © 2025 GlacieTeam. All rights reserved.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

chest_form_api_endstone-1.0.0-cp313-cp313-win_amd64.whl (57.5 kB view details)

Uploaded CPython 3.13Windows x86-64

chest_form_api_endstone-1.0.0-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (422.1 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

chest_form_api_endstone-1.0.0-cp312-cp312-win_amd64.whl (58.0 kB view details)

Uploaded CPython 3.12Windows x86-64

chest_form_api_endstone-1.0.0-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (428.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

chest_form_api_endstone-1.0.0-cp311-cp311-win_amd64.whl (59.5 kB view details)

Uploaded CPython 3.11Windows x86-64

chest_form_api_endstone-1.0.0-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (413.5 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

chest_form_api_endstone-1.0.0-cp310-cp310-win_amd64.whl (59.3 kB view details)

Uploaded CPython 3.10Windows x86-64

chest_form_api_endstone-1.0.0-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (395.5 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

chest_form_api_endstone-1.0.0-cp39-cp39-win_amd64.whl (59.6 kB view details)

Uploaded CPython 3.9Windows x86-64

chest_form_api_endstone-1.0.0-cp39-cp39-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (393.9 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

File details

Details for the file chest_form_api_endstone-1.0.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for chest_form_api_endstone-1.0.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 bb63419399f7f7ea13f61daf89d100d003b14952a6795f4c853d8f4078db58dd
MD5 c43b07085b3cd54c72e3eacd3bdd9d7b
BLAKE2b-256 caff4afbf56f9c9c02e43731d59e3baa936fd7a94b921e5d0bcd1d30b0f42177

See more details on using hashes here.

File details

Details for the file chest_form_api_endstone-1.0.0-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for chest_form_api_endstone-1.0.0-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 c92ab6838057cbd6d04c9fce642443e85daac55b4be155459ebb79ffae7fe2b1
MD5 09e96baec9fc653d10beb20cbaa0b43f
BLAKE2b-256 510caba43967b59e3647726ea5b04692f3fa37581b8b6cf811ef2d465fe6aa0b

See more details on using hashes here.

File details

Details for the file chest_form_api_endstone-1.0.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for chest_form_api_endstone-1.0.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 703491b49c54a3d80d1971538d7de776e7d22b46d77f94d6cb719a97bb0ca05e
MD5 8196f2563b3105eb2cad2753c2f2c94b
BLAKE2b-256 ded3cea192b70c8ef259ca6bfaedab74ecfd7f52a96a2fbd81d0403bd9ff198e

See more details on using hashes here.

File details

Details for the file chest_form_api_endstone-1.0.0-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for chest_form_api_endstone-1.0.0-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 52385e9f7a19b1d814ee8071c6b9f98f0a424f99f8b73256589bc82c081cb05a
MD5 971e92cd8b3867db9c21048c0767bdb1
BLAKE2b-256 8d76f238608a7932e2b46c0e19a934e56cace535662fa69115a2e757ed619156

See more details on using hashes here.

File details

Details for the file chest_form_api_endstone-1.0.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for chest_form_api_endstone-1.0.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9691e76dcb69bc4fc5d33c4f0f8bc7087711464c0f3daed5a1cde14dd892f36d
MD5 ddfed9ad602506159e65319b2cec1adb
BLAKE2b-256 447907a88384c06024f88469efbe10c24cff2a7335217568a33eca620d43110e

See more details on using hashes here.

File details

Details for the file chest_form_api_endstone-1.0.0-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for chest_form_api_endstone-1.0.0-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 bcec3da6b9907e41c57aeecc0585aa983bf21515c9c01b4e199f871513b2da59
MD5 093805cc356ce19a37dce6071c583e79
BLAKE2b-256 80d09e5246bb5815a144f679a35a6357e73ac5e8ee7faa3f480aeb5e05378ca1

See more details on using hashes here.

File details

Details for the file chest_form_api_endstone-1.0.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for chest_form_api_endstone-1.0.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 86661d50c366e86cdb27e67c72cffccd0190eb95476b42112b4bdb443eabf683
MD5 dcf09e54b00c78a8a1860b67b80238c1
BLAKE2b-256 d5b4479f2e3831aa8b0192d28d8172c5efd802ffd9c6c6950f4fa827c0342454

See more details on using hashes here.

File details

Details for the file chest_form_api_endstone-1.0.0-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for chest_form_api_endstone-1.0.0-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 22a303eb2fb550756b5016185ad4a69a9d498fdd117af6951addcb2532d34dd4
MD5 b278ba90f96d407b68adbb2b710e2b38
BLAKE2b-256 cf946af2c1c1a3662cb2e3959ecec2477fd0eea606103a2694a22ca052e799b3

See more details on using hashes here.

File details

Details for the file chest_form_api_endstone-1.0.0-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for chest_form_api_endstone-1.0.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 7a4e015b5f0eb14a106493a0a8d0c418f0ab803d5137a0774a8239d2e92b0fe6
MD5 8c0af6f033a22b88bfd00de6159b4a4a
BLAKE2b-256 f04c7e5a411bd58aa6484c5b9756d2280176020e784de41c7393a3cbc87f6090

See more details on using hashes here.

File details

Details for the file chest_form_api_endstone-1.0.0-cp39-cp39-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for chest_form_api_endstone-1.0.0-cp39-cp39-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 67096c8f02ca0a914722bc99bd21d85d3319bd181a476c96ea1b0e76f1f03aca
MD5 87dcb7d074077ff3c572302db261c7ac
BLAKE2b-256 17aaedc4835bc21883f25dfe1dc38cb907bedb9c82c954f8dfc7ac2437a1c20b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page