ChestForm
Chest Form API for Endstone
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.
Metadata
Release files for endstone-chestform-api 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| endstone_chestform_api-2.0.0.tar.gz | 10.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| endstone_chestform_api-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.8 kB
Release files / endstone_chestform_api-2.0.0.tar.gz
| Download URL | endstone_chestform_api-2.0.0.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5957226e0833911ea5462de188cff78138162a021032b61f1204fafc6577ea97
|
|
BLAKE2b-256 checksum How to use checksums |
74fd1a884d787d9db5845bc8a116c675c0cf65d333ed58189045c981d592cbd1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / endstone_chestform_api-2.0.0-py3-none-any.whl
| Download URL | endstone_chestform_api-2.0.0-py3-none-any.whl |
|---|---|
| Size | 11.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4a4b5604aecb3601ba32648ea7eac19f924de52dc3ff83b0480d355aec149522
|
|
BLAKE2b-256 checksum How to use checksums |
4c0c4e566727a523af8d5dc2c605d023ad1da4c5b20534eb0139a6ed201630c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|