Confirmedusers
510
edits
mNo edit summary |
(Add links to more details for the block attributes) |
||
Line 58: | Line 58: | ||
<!--T:15--> | <!--T:15--> | ||
* | * [[Modding:Block_Json_Properties#p_code|code]]: A unique identifier for your block. | ||
* | * [[Modding:Block_Json_Properties#p_creativeinventory|creativeinventory]]: The creative inventory tabs the block should be shown in (currently only 1 tab available) | ||
* | * [[Modding:Block_Json_Properties#p_shape|shape]]: Which model the block should use | ||
* | * [[Modding:Block_Json_Properties#p_drawtype|drawtype]]: Determines the drawing system, e.g. use 'cube' for normal full cubes or 'json' for custom created shapes. | ||
* | * [[Modding:Block_Json_Properties#p_textures|textures]]: What textures to apply. For simple blocks you can define one single texture for 'all' faces or define one for every facing ('north', 'east', 'west', 'south', 'up', 'down') | ||
* | * [[Modding:Block_Json_Properties#p_resistance|resistance]]: How many seconds of real life time it takes to break the block without tools | ||
* | * [[Modding:Block_Json_Properties#p_sounds|sounds]]: The sounds to be played when placing/breaking or walking on the block. The prefix <code>game</code> has to be added, since our block has the domain <code>mygoldblock</code>. Otherwise it would try to find those sounds inside our domain. | ||
<!--T:16--> | <!--T:16--> |