Fix ender and shulker nodeboxes

This commit is contained in:
epCode 2022-11-13 13:30:16 -08:00 committed by Gitea
parent 6c6e21b63e
commit 080182ab15
1 changed files with 5 additions and 1 deletions

View File

@ -1008,7 +1008,7 @@ minetest.register_node("mcl_chests:ender_chest_small", {
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {-0.4375, -0.5, -0.4375, 0.5, 0.375, 0.4375},
fixed = {-0.4375, -0.5, -0.4375, 0.4375, 0.375, 0.4375},
},
_chest_entity_textures = {"mcl_chests_ender.png"},
_chest_entity_sound = "mcl_chests_enderchest",
@ -1221,6 +1221,10 @@ for color, desc in pairs(boxtypes) do
_doc_items_longdesc = longdesc,
_doc_items_usagehelp = usagehelp,
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {-0.48, -0.5, -0.48, 0.48, 0.489, 0.48},
},
tiles = {"blank.png^[resize:16x16"},
use_texture_alpha = minetest.features.use_texture_alpha_string_modes and "clip" or true,
_chest_entity_textures = {mob_texture},