Skip to main content

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

Metadata

Release files for chest-form-api-endstone 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chest-form-api-endstone 2.0.0
File Size Uploaded Provenance Actions
chest_form_api_endstone-2.0.0.tar.gz 11.0 kB Without provenance Details for chest_form_api_endstone-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for chest-form-api-endstone 2.0.0
File Interpreter ABI Platform Actions
chest_form_api_endstone-2.0.0-py3-none-any.whl Python 3 none any Details for chest_form_api_endstone-2.0.0-py3-none-any.whl

Total release size: 22.9 kB

Release files / chest_form_api_endstone-2.0.0.tar.gz

Download URL chest_form_api_endstone-2.0.0.tar.gz
Size 11.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6382abb415cfba3f49d7588a8aa82c02ad68d536ee7da7c04a93c92f0b6cce4e
BLAKE2b-256 checksum
How to use checksums
a0dcf6c72a169c568f99493782571e56c1faed404669ba723f406131a02ed87f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / chest_form_api_endstone-2.0.0-py3-none-any.whl

Download URL chest_form_api_endstone-2.0.0-py3-none-any.whl
Size 11.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ae56e61eb39aa42ba7d42a43972af09647bd57634691bbcd6f35897d9e022ba5
BLAKE2b-256 checksum
How to use checksums
7303e294f72e2f5b6f2ea5141b90dde99d4902ff3aae5f512fb3554b63e005ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Security for chest-form-api-endstone 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page