Add Smooth Stone Slab
All checks were successful
minecraft-pi-reborn/pipeline/head This commit looks good

This commit is contained in:
TheBrokenRail 2022-03-25 22:40:13 -04:00
parent 0592db9bdf
commit 3c0c260920
2 changed files with 8 additions and 0 deletions

View File

@ -70,6 +70,13 @@ static int32_t Inventory_setupDefault_FillingContainer_addItem_call_injection(un
new_item_instance = (*ItemInstance_constructor_tile_extra)(new_item_instance, *Tile_tallgrass, 1, i);
(*FillingContainer_addItem)(filling_container, new_item_instance);
}
// Smooth Stone Slab
{
ItemInstance *new_item_instance = new ItemInstance;
ALLOC_CHECK(new_item_instance);
new_item_instance = (*ItemInstance_constructor_tile_extra)(new_item_instance, *Tile_stoneSlab, 1, 6);
(*FillingContainer_addItem)(filling_container, new_item_instance);
}
return ret;
}

View File

@ -44,6 +44,7 @@ static unsigned char **Tile_info_updateGame1 = (unsigned char **) 0x181c68; // T
static unsigned char **Tile_info_updateGame2 = (unsigned char **) 0x181c6c; // Tile
static unsigned char **Tile_bedrock = (unsigned char **) 0x181cc4; // Tile
static unsigned char **Tile_tallgrass = (unsigned char **) 0x181d0c; // Tile
static unsigned char **Tile_stoneSlab = (unsigned char **) 0x181b44; // Tile
static unsigned char **Tile_leaves = (unsigned char **) 0x18120c; // Tile
static unsigned char **Tile_leaves_carried = (unsigned char **) 0x181dd8; // Tile