Repository navigation
API Minecraft Constants
Lua API / Minecraft constants
betamoon.mc contains named string constants for BetaMoon declarations. The tables are read-only; unknown keys raise an error. Each constant can be used wherever its string value is accepted.
local material = betamoon.mc.blockMaterials.rock
local biome = betamoon.mc.world.biomes.desertOn this page
- betamoon.mc.world.biomes
- betamoon.mc.blockMaterials
- betamoon.mc.stepSounds
- betamoon.mc.toolMaterials
- betamoon.mc.armorMaterials
- betamoon.mc.armorSlots
- betamoon.mc.entities
- betamoon.mc.particles
- betamoon.mc.sounds.random
- betamoon.mc.gui.backgrounds
- betamoon.mc.gui.sprites
- betamoon.mc.fuels
- betamoon.mc.world.dimensions
- betamoon.mc.world.spawnGroups
- betamoon.mc.blockFaces
- betamoon.mc.projectiles
- betamoon.worldgen.treeModes
| Key | Value |
|---|---|
rainforest |
"Rainforest" |
swampland |
"Swampland" |
seasonal_forest |
"Seasonal Forest" |
forest |
"Forest" |
savanna |
"Savanna" |
shrubland |
"Shrubland" |
taiga |
"Taiga" |
desert |
"Desert" |
plains |
"Plains" |
ice_desert |
"Ice Desert" |
tundra |
"Tundra" |
hell |
"Hell" |
sky |
"Sky" |
Custom fluid declarations accept water or lava as their material. This affects Minecraft behavior that checks a block's material; the fluid's key identifies it for BetaMoon's fluid behavior. See Fluids.
| Key | Value |
|---|---|
air |
"air" |
grass |
"grass" |
ground |
"ground" |
wood |
"wood" |
rock |
"rock" |
iron |
"iron" |
water |
"water" |
lava |
"lava" |
leaves |
"leaves" |
plants |
"plants" |
sponge |
"sponge" |
cloth |
"cloth" |
fire |
"fire" |
sand |
"sand" |
circuits |
"circuits" |
glass |
"glass" |
tnt |
"tnt" |
ice |
"ice" |
snow |
"snow" |
built_snow |
"builtsnow" |
cactus |
"cactus" |
clay |
"clay" |
pumpkin |
"pumpkin" |
portal |
"portal" |
cake |
"cake" |
| Key | Value |
|---|---|
stone |
"stone" |
wood |
"wood" |
gravel |
"gravel" |
grass |
"grass" |
metal |
"metal" |
glass |
"glass" |
cloth |
"cloth" |
sand |
"sand" |
| Key | Value |
|---|---|
wood |
"wood" |
stone |
"stone" |
iron |
"iron" |
diamond |
"diamond" |
gold |
"gold" |
| Key | Value |
|---|---|
leather |
"leather" |
chain |
"chain" |
iron |
"iron" |
diamond |
"diamond" |
gold |
"gold" |
| Key | Value |
|---|---|
head |
"head" |
chest |
"chest" |
legs |
"legs" |
feet |
"feet" |
| Key | Value |
|---|---|
item |
"Item" |
painting |
"Painting" |
arrow |
"Arrow" |
snowball |
"Snowball" |
primed_tnt |
"PrimedTnt" |
falling_sand |
"FallingSand" |
minecart |
"Minecart" |
boat |
"Boat" |
mob |
"Mob" |
monster |
"Monster" |
creeper |
"Creeper" |
skeleton |
"Skeleton" |
spider |
"Spider" |
giant |
"Giant" |
zombie |
"Zombie" |
slime |
"Slime" |
ghast |
"Ghast" |
pig_zombie |
"PigZombie" |
pig |
"Pig" |
sheep |
"Sheep" |
cow |
"Cow" |
chicken |
"Chicken" |
squid |
"Squid" |
wolf |
"Wolf" |
| Key | Value |
|---|---|
bubble |
"bubble" |
smoke |
"smoke" |
note |
"note" |
portal |
"portal" |
explode |
"explode" |
flame |
"flame" |
lava |
"lava" |
footstep |
"footstep" |
splash |
"splash" |
large_smoke |
"largesmoke" |
redstone_dust |
"reddust" |
snowball_poof |
"snowballpoof" |
snow_shovel |
"snowshovel" |
slime |
"slime" |
heart |
"heart" |
| Key | Value |
|---|---|
click |
"random.click" |
pop |
"random.pop" |
orb |
"random.orb" |
bow |
"random.bow" |
item_break |
"random.break" |
explode |
"random.explode" |
fizz |
"random.fizz" |
door_open |
"random.door_open" |
door_close |
"random.door_close" |
| Key | Value |
|---|---|
container |
"minecraft:container" |
chest |
"minecraft:chest" |
dispenser |
"minecraft:dispenser" |
furnace |
"minecraft:furnace" |
crafting |
"minecraft:crafting" |
inventory |
"minecraft:inventory" |
| Key | Value |
|---|---|
furnace_flame_background |
"minecraft:furnace_flame_background" |
furnace_flame |
"minecraft:furnace_flame" |
furnace_arrow |
"minecraft:furnace_arrow" |
furnace_arrow_background |
"minecraft:furnace_arrow_background" |
crafting_arrow |
"minecraft:crafting_arrow" |
slot |
"minecraft:slot" |
output_slot |
"minecraft:output_slot" |
| Key | Value |
|---|---|
furnace |
"minecraft:fuel/furnace" |
Use this set key with fuel registrations, queries and machines.
Each key evaluates to the same string: overworld, nether, both.
Each key evaluates to the same string: monsters, creatures, water.
Each key evaluates to the same string: down, up, north, south, west, east.
Each key evaluates to the same string: arrow, snowball, egg.
Each key evaluates to the same string: default, big, normal, none.
- Installation
- Install scripts
- Getting started
- VS Code and LuaLS
- Examples
- Reload and compatibility
- Troubleshooting
- Changelog
Scripts and shared values
- Script lifecycle
- Packaged Lua mods
- Modules
- References and stacks
- Queries
- Overrides
- Minecraft constants
- Chat and positions
- Structured data
- Script configuration
- Particles
Blocks and items
- Multiblocks
- Blocks
- Block state and placement
- Block shapes and rendering
- Block callbacks
- Block ticks and redstone
- Items
- Fluids
- Item callbacks
- Tools and armor
- Materials
- Textures
Entities
- Entities
- Entity access and movement
- Entity lifecycle and data
- Entity health and loot
- Entity inventories and relationships
- Projectiles and pickups
- Entity presentation and sounds
- Living entities and AI
- Entity parts and sensors
Assets and audio
- Assets
- Models and animations
- Built-in Minecraft models
- Model appearances
- Blockbench workflow
- Audio
- Texture-pack overrides
Events and world actions
World generation
World systems
Inventories and screens
Recipes