private static <T extends GlowStructurePiece>T createStructurePiece(StructurePieceStore<T> store,CompoundTag compound){
  T structurePiece=store.createStructurePiece();
  store.load(structurePiece,compound);
  return structurePiece;
}

private static < T extends GlowStructurePiece > T createStructurePiece ( StructurePieceStore < T > store , CompoundTag compound ) { T structurePiece = store . createStructurePiece ( ) ; store . load ( structurePiece , compound ) ; return structurePiece ; }
helper method to call structurepiecestore methods for type safety .
