Bulma Cheat Sheet



Bulma Cheat Sheet

  1. Bulma Cheat Sheet
  2. Bulma Css Cheat Sheet
Bulma Cheat Sheet

Bulma is a free, open source CSS framework based on Flexbox and built with Sass. It's 100% responsive, fully modular, and available for free. An overview of what Bulma as a framework is all about. Documentation Docs Videos Expo Love Backers Extensions Book Blog Start Badge. Bulma extensions. Material Design Icons' growing icon collection allows designers and developers targeting various platforms to download icons in the format, color and size they need for any project.

There are a huge number of block types available to build through the Python API.

Example

Typically you use the upper case block name and id in the call to setBlock butthere’s nothing stopping you from using the plain integer value.

Bulma Cheat Sheet

Special Blocks

Some special blocks support extra attributes in the final argument tosetBlock. Wool, for example, supports a colour value.

IDColour
0White
1Orange
2Magenta
3Light Blue
4Yellow
Cheat

So I can make a lovely block of orange wool like this:

Block Types

Bulma css cheat sheet
MaterialID
AIR0
STONE1
GRASS2
DIRT3
COBBLESTONE4
WOOD_PLANKS5
SAPLING6
BEDROCK7
WATER_FLOWING8
WATER8
WATER_STATIONARY9
LAVA_FLOWING10
LAVA10
LAVA_STATIONARY11
SAND12
GRAVEL13
GOLD_ORE14
IRON_ORE15
COAL_ORE16
WOOD17
LEAVES18
GLASS20
LAPIS_LAZULI_ORE21
LAPIS_LAZULI_BLOCK22
SANDSTONE24
BED26
COBWEB30
GRASS_TALL31
WOOL35
FLOWER_YELLOW37
FLOWER_CYAN38
MUSHROOM_BROWN39
MUSHROOM_RED40
GOLD_BLOCK41
IRON_BLOCK42
STONE_SLAB_DOUBLE43
STONE_SLAB44
BRICK_BLOCK45
TNT46
BOOKSHELF47
MOSS_STONE48
OBSIDIAN49
TORCH50
FIRE51
STAIRS_WOOD53
CHEST54
DIAMOND_ORE56
DIAMOND_BLOCK57
CRAFTING_TABLE58
FARMLAND60
FURNACE_INACTIVE61
FURNACE_ACTIVE62
DOOR_WOOD64
LADDER65
STAIRS_COBBLESTONE67
DOOR_IRON71
REDSTONE_ORE73
SNOW78
ICE79
SNOW_BLOCK80
CACTUS81
CLAY82
SUGAR_CANE83
FENCE85
GLOWSTONE_BLOCK89
BEDROCK_INVISIBLE95
STONE_BRICK98
GLASS_PANE102
MELON103
FENCE_GATE107
GLOWING_OBSIDIAN246
NETHER_REACTOR_CORE247

Bulma Css Cheat Sheet

There are a few others but they are not called out in the API as block ids. There isa more comprehensive guide to blocks and optional attributes.

Bigger building

Rather than building structures block by block, you can use a similar call to builda cuboid given two sets of coordinates and a block type. setBlocks fills inthe volume between the two 3D points with blocks of the right type.

Bulma

House Full of Hollow

To create a hollow structure, like a house, you can create a large block of stone, thenadjust the coordinates and re-fill that volume with AIR.