Use mcl_formspec.get_itemslot_bg_v4 instead of mcl_formspec.get_itemslot_bg

This commit is contained in:
2025-12-07 18:19:19 +01:00
parent 42378a4331
commit 29b5a6c996
18 changed files with 54 additions and 52 deletions

View File

@@ -54,12 +54,13 @@ function industrialtest.Machine.getFormspec(self,pos)
}
elseif industrialtest.mclAvailable then
formspec={
"size[10.04,12]",
"label[0.25,0.25;"..self.description.."]",
"formspec_version[4]",
"size[12,12.5]",
"label[0.5,0.5;"..self.description.."]",
mcl_formspec.get_itemslot_bg_v4(0.5,7,9,3),
"list[current_player;main;0.5,7;9,3;9]",
mcl_formspec.get_itemslot_bg(0.5,7,9,3),
"list[current_player;main;0.5,10.24;9,1]",
mcl_formspec.get_itemslot_bg(0.5,10.24,9,1),
mcl_formspec.get_itemslot_bg_v4(0.5,11,9,1),
"list[current_player;main;0.5,11;9,1]",
"listring[current_player;main]"
}
end