Spleef Arena Script
Customize your variables, then fill in the blanks!
Your Custom Settings
Platform dimensions
Breakable floor block
Arena wall block
Python Script (Code Builder)
This script builds a Spleef arena with a platform, lava pit, and walls. Press C in Minecraft Education to open the Code Builder!
size = 15
y_level = -60
def ():
blocks.(LAVA, world(0, y_level - 3, 0), world(size, y_level - 3, size))
blocks.fill(SNOW, world(0, y_level, 0), (size, y_level, size))
for i in (size + 1):
for h in range(4):
blocks.place(GLASS, world(i, y_level + h, 0))
blocks.place(GLASS, world(i, y_level + h, size))
blocks.place(GLASS, world(0, y_level + h, i))
blocks.place(GLASS, world(size, y_level + h, i))
player.("spleef", build_arena)
