object_properties - Uberi/MineTest-API GitHub Wiki

object_properties

Description

Properties that can be applied to an object.

Syntax

{
	hp_max = 1,
	physical = true,
	weight = 5,
	collisionbox = {-0.5,-0.5,-0.5, 0.5,0.5,0.5},
	visual = "cube"/"sprite"/"upright_sprite",
	visual_size = {x=1, y=1},
	textures = {}, -- number of required textures depends on visual
	spritediv = {x=1, y=1},
	initial_sprite_basepos = {x=0, y=0},
	is_visible = true,
	makes_footstep_sound = false,
	automatic_rotate = false,
}
⚠️ **GitHub.com Fallback** ⚠️