Repository navigation
Game Module
STBrian edited this page Nov 9, 2026
·
4 revisions
The main reason for creating a script is to interact directly with the game: listening for events, changing the state of the player or the world, registering custom items and recipes, and checking gamepad buttons.
For all direct interactions with Minecraft: 3DS Edition, use the Game module.
| Entity | Game entities and spawn coordinates |
| Gamepad | Controller input handling, button queries, touch screen, and events |
| Items | Item lookup, custom item/tool registration, textures, and creative menu |
| LocalPlayer | Player movement, position, velocity, camera angles, inventory, and stats |
| Recipes | Crafting recipe registration and recipe tables |
| Resources | Localization and game language assets |
| World | Block placement, world querying, weather, biomes, and world events |