Ported BlockHelper and GuiContainerMonnefCore.