Added block regeneration
update nms imports
update and fix CommandItem