Minecraft Bedrock components are JSON data objects that define the behavior and appearance of blocks, items, and entities. In Jepia, you attach them using addComponent():
// The minecraft: prefix is optional — Jepia adds it automatically
block.addComponent('minecraft:destructible_by_mining', { seconds_to_destroy: 2 });
item.addComponent('minecraft:food', { nutrition: 4, saturation_modifier: 1.2 });
entity.addComponent('minecraft:health', { value: 20, max: 20 });
Choose a component type below to browse the full reference:
Appearance, physics, destruction, lighting, redstone, and interaction components for custom blocks. Includes geometry, material instances, collision boxes, and more.
Durability, combat, food, projectiles, equipment, and storage components for custom items. Covers everything from stack sizes to wearable armor.
Over 200 components and 180 AI goals for custom entities. Health, movement, navigation, combat, breeding, sensing, equipment, and special abilities.
Each component is identified by a namespaced string (e.g. minecraft:health) and accepts a JSON object of parameters. Jepia's addComponent() method stores these and serializes them into the correct Bedrock JSON format when addon.generate() is called.