Module
@pack/minecraft
Handles for the blocks and items of the host's minecraft pack, such as minecraft.blocks.gold_block.id. An experience gets it by listing the pack in uses = ["minecraft"].
local minecraft = require("@pack/minecraft")Types
- minecraft.BlockTypeA block or block tag;
Stateis the block state its blocks share,Datathe data they share. - minecraft.ContentWhat the module returns.
- minecraft.ImageTypeA font image from
content.image. - minecraft.ItemTypeAn item or item tag.
- minecraft.MobTypeA mob from
content.mob. - minecraft.StructureA structure from
content.structure.