// camper van at a lake
var g = 12;
// ground
fill(0, 0, 0, 63, g, 63, 'dirt');
fill(0, g, 0, 63, g, 63, 'grass_block');
// lake
fill(38, g - 4, 0, 63, g, 26, 'water');
// van body
var x, y, z;
fill(16, g + 3, 22, 30, g + 7, 28, 'cyan_concrete');
fill(17, g + 4, 23, 29, g + 6, 27, 'air');
// cream top half
fill(16, g + 6, 22, 30, g + 7, 28, 'white_concrete');
fill(17, g + 6, 23, 29, g + 6, 27, 'air');
// windows
for (x = 19; x <= 27; x = x + 2) {
pb(x, g + 6, 22, 'light_blue_stained_glass');
pb(x, g + 6, 28, 'light_blue_stained_glass');
}
pb(16, g + 6, 24, 'light_blue_stained_glass');
pb(16, g + 6, 26, 'light_blue_stained_glass');
// V nose and headlights
pb(16, g + 5, 25, 'white_concrete');
pb(16, g + 4, 24, 'white_concrete');
pb(16, g + 4, 26, 'white_concrete');
pb(16, g + 4, 23, 'glowstone');
pb(16, g + 4, 27, 'glowstone');
// bumper
fill(15, g + 3, 23, 15, g + 3, 27, 'iron_block');
fill(31, g + 3, 23, 31, g + 3, 27, 'iron_block');
// wheels
fill(19, g + 1, 22, 20, g + 2, 22, 'black_concrete');
fill(19, g + 1, 28, 20, g + 2, 28, 'black_concrete');
fill(26, g + 1, 22, 27, g + 2, 22, 'black_concrete');
fill(26, g + 1, 28, 27, g + 2, 28, 'black_concrete');
// pop top
fill(22, g + 8, 22, 30, g + 9, 28, 'white_wool');
fill(23, g + 8, 23, 29, g + 8, 27, 'air');
// door
fill(22, g + 4, 28, 23, g + 5, 28, 'air');
// interior
pb(20, g + 4, 25, 'oak_stairs[facing=east]');
pb(21, g + 4, 25, 'oak_stairs[facing=east]');
pb(25, g + 4, 24, 'crafting_table');
pb(26, g + 4, 24, 'furnace');
pb(27, g + 4, 26, 'chest');
pb(24, g + 4, 26, 'white_carpet');
pb(22, g + 6, 25, 'lantern');
// awning
for (x = 18; x <= 28; x++) {
if (x % 2 === 0) {
fill(x, g + 7, 29, x, g + 7, 32, 'white_wool');
} else {
fill(x, g + 7, 29, x, g + 7, 32, 'orange_wool');
}
}
fill(18, g + 1, 32, 18, g + 6, 32, 'oak_fence');
fill(28, g + 1, 32, 28, g + 6, 32, 'oak_fence');
// campfire and chairs
pb(23, g + 1, 38, 'campfire');
pb(20, g + 1, 38, 'oak_stairs[facing=east]');
pb(26, g + 1, 38, 'oak_stairs[facing=west]');
// some trees
placeTree(10, g + 1, 40, 'oak');
placeTree(45, g + 1, 45, 'oak');